
Chameleon Menu System
6. Chameleon Menu System
6.1. Boot Loader
The boot loader is executed once at start-up, it's job is to do some basic initialization:
•
load the configuration data from flash
•
set up default MMU mapping
If "copy ROMs from C64" is enabled:
•
copy C64 kernal- and basic-ROM to Chameleon RAM
If "
UPDATE.PRG
" is present:
•
load and execute "
UPDATE.PRG
" (Chameleon updater)
If "boot from SD-card" is enabled:
•
load a custom menu binary "
MENU.BIN
" (if present)
•
load a REU image "
BOOT.REU
" (if present)
•
load a GEORAM image "B
OOT.GEO
" (if present)
•
load a custom boot program "B
OOT.PRG
" (if present)
•
load custom ROMs from "
/CHAM64
" directory (if present):
•
“
CHAM64/BASIC.ROM
" - C64 basic ROM
•
"
CHAM64/KERNAL.ROM
" - C64 kernal ROM
•
"
CHAM64/CHARGEN.ROM
" - C64 character ROM
•
"
CHAM64/MMC64.ROM
" - MMC64 BIOS ROM
•
"
CHAM64/SLOT1.ROM
" - Cartridge slot 1 ROM (*1)
•
"
CHAM64/SLOT2.ROM
" - Cartridge slot 2 ROM (*1)
•
"
CHAM64/SLOT3.ROM
" - Cartridge slot 3 ROM (*1)
•
"
CHAM64/SLOT4.ROM
" - Cartridge slot 4 ROM (*1)
•
"
CHAM64/DRIVE1.ROM
" - 1541 drive 1 ROM
•
"
CHAM64/DRIVE2.ROM
" - 1541 drive 2 ROM
and finally:
•
if a boot program was loaded, execute it. If not, execute the menu system.
*1) Cartridge ROMs must be plain binaries (without load address), NOT .crt files. Files in proper
format can be created by the ROM saver (see chapter 6.5.2 User / File menu ). Cartridges which are
bigger than 64k can only be used in slot 3 and 4, see chapter 13.4 supported Cartridge types for
details. To make cartridges readily available for use after loading, the respective cartridge type must
be configured in the settings (see chapter 6.4 Options).
22