Kroc / elite-harmless

Disassembly (CA65) of the Commodore 64 port of the seminal space-sim Elite, by Ian Bell / David Braben.
https://discord.gg/ZYnQr5S
Other
93 stars 12 forks source link

Memory layout improvements? #6

Open Kroc opened 6 years ago

Kroc commented 6 years ago

I can't say for certain this will be beneficial, but moving the VIC-II bank from $4000...$7FFF to $C000...$FFFF may make things simpler:

Other observations:

Kroc commented 5 years ago

Something I have noticed now that I am able to re-arrange segments in memory is that we should place all page-aligned segments together so as to avoid wasted bytes between the end of a flexible segment (such as code) and data-tables that must be page-aligned.

For the benefit of also producing a #4 cartridge version, we want to place the aligned segments in the upper-memory region where the cartridge banking occurs as we want to mostly use the cartridge to bank in/out data-tables and not code.

Kroc commented 5 years ago

I've got the game working on VIC bank 3 ($E000..$FFFF); there remain a few bugs related to the move, but once they've been rectified, we can move to the new layout permanently and this bug can be officially closed!

Kroc commented 4 years ago