Re:What it was like developing for NES back in 1990
by chrismcb on Saturday August 07, 2021 @10:06PM
(#28103653)
You meant 50 or 60 times a second. SNES wasnt that fast. And yeah what you were describing was common
[ Parent
| on HN ]
Re:What it was like developing for NES back in 1990
by toast0 on Saturday August 07, 2021 @10:24PM
(#28103753)
They mean that they need to fiddle with those specific video registers twice a frame, which is 100 or 120 times. Vblank timing isn't too hard, the base system has an interrupt for it; scanline timing is hard though, you either need to carefully time your loop (and redo it for 50hz systems), or poll on things, or use extra hardware built into the cartridge (mappers).
I don't think there was an IRQ for sound, but it might have made sense to poll the audio unit rather than the graphics unit for some reason.