|DZ-Jay at Atariage proposed a very nice approach to basic INTV programming by distributing the game skeleton P-Machinery 1.0.
The package provide to developers:
- The ROM header
- The ISR game loop
- The state machine
- The task queue
- The controller input decoder
P-Mach is based on Joe Zbiciak's SDK-1600 programming library, and was designed to use Joe's as1600 assembler.
If you take the source as is, assemble it, then run it, you'll have an executing game that display a title screen, run the game loop, and wait reading the controllers.
Have a look yourself by donwloading the package.