Testing how the PacMan program behaves without PacMan around.
Making use of the memory mapping was a fairly simple way of moving around machine code without complications.
CHAR0-CHAR3 is where I put the moveable characters.
MEMORY { CPU_0C : ORIGIN = 0x08000, LENGTH = 0x008000 CPU_0D : ORIGIN = 0x10000, LENGTH = 0x008000 DATA : ORIGIN = 0x18000, LENGTH = 0x800000 CHAR0 : ORIGIN = 0x880000, LENGTH = 0x010000 CHAR1 : ORIGIN = 0x890000, LENGTH = 0x010000 CHAR2 : ORIGIN = 0x8A0000, LENGTH = 0x010000 CHAR3 : ORIGIN = 0x8B0000, LENGTH = 0x010000 } SECTIONS { .CPU0_C : { *(.init) *(.CPU0_ASM_) *(.CPU0_C_) } > CPU_0C ...
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.