Is there a way to simulate a CRT VSYNC in BeebEm to check for screen tear.

bbc micro/electron/atom/risc os coding queries and routines
Post Reply
alecb
Posts: 12
Joined: Thu Feb 22, 2024 9:22 pm
Contact:

Is there a way to simulate a CRT VSYNC in BeebEm to check for screen tear.

Post by alecb »

I've written a grid territory capture game for my BBC Micro B. I'm using a RGB->SCART->HDMI as my display. Most frames I only moving the player blocks on the screen but when I have captured a large area of blocks I am updating significant screen memory in one call. I am not doing anything to synchronize the display memory update. I don't have a real CRT to try it on. Does BeebEm or any other tool have anyway to simulate a CRT so I can see if I need to work on improving the screen memory update?
cmorley
Posts: 1867
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: Is there a way to simulate a CRT VSYNC in BeebEm to check for screen tear.

Post by cmorley »

Take a look at Tom's b2 emulator, I believe it can visulise the raster progress for debugging purposes.
alecb
Posts: 12
Joined: Thu Feb 22, 2024 9:22 pm
Contact:

Re: Is there a way to simulate a CRT VSYNC in BeebEm to check for screen tear.

Post by alecb »

"Take a look at Tom's b2 emulator, I believe it can visulise the raster progress for debugging purposes."

Thank you cmorley, I'll take a look at this.
Post Reply

Return to “programming”