Next: VIC20 system ROM settings, Previous: Using cartridge images, Up: VIC20-specific commands and settings [Contents][Index]

#### 7.5.4 Changing memory configuration

It is possible to change the VIC20 memory configuration in two ways: by enabling and/or disabling certain individual memory blocks, or by choosing one among a few typical memory configurations. The former can be done by modifying resource values directly or from the right-button menu; the latter can only be done from the menu.

There are 5 RAM expansion blocks in the VIC20, numbered 0, 1, 2, 3 and 5:

- block 0 (3 KiB at $0400-$0FFF);
- block 1 (8 KiB at $2000-$3FFF);
- block 2 (8 KiB at $4000-$5FFF);
- block 3 (8 KiB at $6000-$7FFF);
- block 5 (8 KiB at $A000-$BFFF).

These blocks are called expansion blocks because they are not present a stock (“unexpanded”) machine. Each of them is associated to a boolean `RamBlockX` resource (where `X` is the block number) that specifies whether the block is enabled or not.

There are also some common memory configurations you can select:

- no RAM expansion blocks at all;
- all RAM expansion blocks enabled;
- 3KiB expansion (only block 0 is enabled);
- 8KiB expansion (only block 1 is enabled);
- 16KiB expansion (only blocks 1 and 2 are enabled);
- 24KiB expansion (only blocks 1, 2 and 3 are enabled).