VERA DMA

If you have feature requests, this is the place to post them. Please note your idea may already be something we have already discussed and decided against, or something we are working on privately, and we cannot be held responsible for any similarities in such instance. Whilst we cannot respond to every suggestion, your idea will be read and responded to where possible. Thank you for your input!
cosmicr
Posts: 38
Joined: Tue Nov 14, 2023 4:29 am

Re: VERA DMA

Post by cosmicr »

Slight change of subject but does the emulator "emulate" vsync? Because I've not used the proper hardware and have never had any issues with vblank timing like screen tearing etc.
doslogo
Posts: 10
Joined: Fri Dec 20, 2024 4:26 pm

Re: VERA DMA

Post by doslogo »

cosmicr wrote: Mon Jan 06, 2025 2:20 am Slight change of subject but does the emulator "emulate" vsync? Because I've not used the proper hardware and have never had any issues with vblank timing like screen tearing etc.
Yes, it is emulated.

Even if you haven't had any issues, it is recommended to always be prepared for screen tearing. That means, set your IRQ vectors, and have a proper wait for vsync loop (with a WAI if you don't plan to use IRQ_LINE), and do all the updates to palette, tilemaps, sprites and art in your vblank, and hope you have time before the active display starts again. If you don't have time, like me, use extended borders, and make sure the palette is updated first in vblank since that gets reflected in the border color.

If DMA gets implemented (seems like a 0% chance right now), it would speed up everything without affecting programs and games that wouldn't use it, and everyone would benefit from it! To me, that would be worth the extra cost.
Post Reply