News:

Look at this spiffy theme!

 

SMS Homebrew Project

Started by RT-55J, Thu, 2025 - 02 - 06, 11:10 PM

Previous topic - Next topic

neen

i expect to see a polished game by octrollber  :hey:

RT-55J


RT-55J

I got interrupts working! (kinda*)

* The SMS has a "line counter" register that tells the display processor how many lines to wait until the next raster interrupt. Writes to this register during VBlank go through immediately. Writes to this register during the active display are latched (i.e. delayed) until the next interrupt fires. This presents some complications that I'll need to find a workaround for if I want to have multiple** raster interrupts active.

** It may look like I have two splits here, but don't be fooled. The SMS has a register that can just lock the upper two rows in place, with no extra effort to the programmer.

neen