Appendix B: Modifying the Loader site map

There are some changes you can make to the loader to allow greater control of things that happen during startup. You can either change the settings in loader.asm and reassemble loader.bin, or you can just hex-edit loader.bin to make modifications.

OffsetLength Description
0x7B032 bytes Boot folder path (must be null-terminated)
0x7D016 bytes Name of virtual file system image (ISO) (null-terminated)
0x7E016 bytes Name of boot image file (ISO) (null-terminated)
0x7F04 bytes LBA of virtual file system image
0x7F42 bytes Boot image file's load destination offset
0x7F62 bytes Boot image file's load destination segment
0x7F82 bytes Startup routine's offset
0x7FA2 bytes Startup routine's segment
0x7FC1 byte Startup flags (see below)
0x7FD1 byte Duration of splash screen (in seconds)
Startup Flags
This flags control various aspects of the CD Shell startup process. There is a file in the source distro called sloader.bin that has all of them set.
BitfieldDescription
[7:6]Reserved.
[5]Disable the command console if set.
[4]Force execution of startup script if set.
[3]Force display of splash screen if set.
[2:0]Reserved.

- Previous -