I'm not sure on the legality of posting what is in effect Namco copyrighted IP so if the mods want to remove this then please feel free to do so.
Here's the complete, fully commented source code for the boot process of the main CPU of Pac-Land. It's taken straight out of the Bally Midway version of the game. Hopefully it might help people diagnose a problem with their board.
The source will assemble, as is, into a 16384 byte binary which will boot exactly the same way as Bally Midway Pac-Land does and then sit forever in an idle loop displaying the boot error codes on screen.
It has the full vertical blank interrupt routine taken straight out of the game and is ready for you to add your latest masterpiece game code directly to the main game loop.
At the point where it enters the idle loop the board is fully initialised and you have full control over all the hardware.
In order to understand the boot process completely you also need to understand how the sub-cpu boot process works. Whilst I have a near full understanding of that, I don't yet have a fully commented source of the sub boot process.
Hope this helps someone, somewhere.
https://www.ukvac.com/forum/data/uploads/1497/paclandm_boot_process.asm.zip
Here's the complete, fully commented source code for the boot process of the main CPU of Pac-Land. It's taken straight out of the Bally Midway version of the game. Hopefully it might help people diagnose a problem with their board.
The source will assemble, as is, into a 16384 byte binary which will boot exactly the same way as Bally Midway Pac-Land does and then sit forever in an idle loop displaying the boot error codes on screen.
It has the full vertical blank interrupt routine taken straight out of the game and is ready for you to add your latest masterpiece game code directly to the main game loop.
At the point where it enters the idle loop the board is fully initialised and you have full control over all the hardware.
In order to understand the boot process completely you also need to understand how the sub-cpu boot process works. Whilst I have a near full understanding of that, I don't yet have a fully commented source of the sub boot process.
Hope this helps someone, somewhere.
https://www.ukvac.com/forum/data/uploads/1497/paclandm_boot_process.asm.zip