logoalt Hacker News

Dwedittoday at 2:35 PM1 replyview on HN

Just make sure you don't mind the interrupts also writing to that memory...


Replies

becurioustoday at 4:19 PM

It’s a Spectrum. You’re going to do a HALT to sync with the start of the frame and then cycle count to prevent tearing. You can disable interrupts if you know how long you have to render your frame before the beam catches you (or let it pass then start rendering).