[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Native /// bootstrapping?



I'm trying to figure out how the SOS bootloader loads sos.kernel, and I'm
not really getting it (although apparently the bootloader flips the system
up to the topmost memory bank).

What I want to be able to do is have the bootloader load a program, leave
the system in bank 0 with zero page wired to the physical zero page, ROM
banked out, and C000-FFFF write-enabled, and for the program it loads to be
able to put an Apple ][-like font (similar to the one sos.driver loads) on
the video controller.  I plan to have the program relocate pieces of itself
(more specifically, a captive image of 48K ProDOS 1.0.1 and the ][
compatibility "firmware") over 8000-BFFF, C500-C7FF, D000-FFCF and FFF0-FFFF
before running a separate piece of itself which will load another program. 
I figure developing this way, as a ][ with a somewhat different set of
console switches, will be the easiest method.  (And I want to make sure it's
not locked down in ][ mode as apparently the emulation disk is supposed to,
but on MESS doesn't.)

-uso.