[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Digging Donkey Kong (for possible packing)
Replying to myself because LOL STATUS.
I am understanding the program as 3 phases:
1. Bootstrap phase 1 - that loads the core routines off disk.
2. Bootstrap phase 2 - that contains the RWTS and gets the rest of the
program going.
3. Everything else - which uses the code loaded in phase 2 to swap itself
in and out of memory as needed.
Phases 1 and 2 are track 0 (phase 1 is the boot sector), and will
correspond to DKONG.SYSTEM in the final version - a relocator to move the
phase 2 code up to B600-BAFF, (BB00-BEFF will be the buffer ProDOS uses
during file reads) and an emulation of the phase 2 code. Phase 3 is the
bulk of the disk image stored in a file called DKONG.DATA.
The key is, I guess, to make sure the bootstrap is emulated - to minimize
the amount of patches necessary to DKONG.DATA - and to make sure the
resulting files are viable. I guess right now I need to do a boot trace,
which is something I am really not very well-versed in...lol
-uso.