Empty program: Difference between revisions

Content added Content deleted
Line 40: Line 40:


=={{header|68000 Assembly}}==
=={{header|68000 Assembly}}==
This mostly depends on the implementation, but <code>JMP $</code> will typically suffice.
This mostly depends on the implementation, but <code>JMP *</code> will typically suffice for embedded hardware.


{{works with|NEOGEO}}
===NEOGEO===
After you get to the main program, you'll need to kick the watchdog every frame to prevent the BIOS from resetting the machine. This is done by writing any byte to memory address 0x00300001. Other than that, an endless loop will suffice (assuming you have a proper cartridge header and a vBlank routine that does nothing except check for bios vblank and return.)
After you get to the main program, you'll need to kick the watchdog every frame to prevent the BIOS from resetting the machine. This is done by writing any byte to memory address 0x00300001. Other than that, an endless loop will suffice (assuming you have a proper cartridge header and a vBlank routine that does nothing except check for bios vblank and return.)