As I understand the operation of Atari 800 cartridges, the initialization address for the cart is stored at $BFFE and $BFFF.
In the Pac man .rom file, the address stored there is $A14E. The instruction at
$A14e is a RTS.
Doesn't the RTS instruction pull a return address from the stack?
What does the system do here?
Also, the start address for the cart is stored at $BFFA and $BFFB. The vector stored here is $A386. This seems to be the start of the executable code.
TC
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 113 |
Nodes: | 8 (0 / 8) |
Uptime: | 21:44:30 |
Calls: | 2,497 |
Calls today: | 14 |
Files: | 8,648 |
Messages: | 1,904,562 |