vcsEndOverblank(3V)vcsLib manualvcsEndOverblank(3V)
- Name
vcsEndOverblank
Waits for the overblank to finish and sends the 6507 back to $1000.
- Synopsis
#include "vcsLib.h" void vcsEndOverblank(void);- Description
It blocks the ARM until the overblank program gets to its end, where it reads $1FFF. The cartridge answers that read with a 0, and the 6507 goes back to $1000 in time for the first visible line.
If the game logic takes longer than the overblank the picture rolls, so measure the worst case.
- On the bus
It doesn’t put anything on the bus.
- Example
vcsEndOverblank(); for (int line = 0; line < 192; line++) { /* kernel */ }- Compatibility
● complete ◐ works with differences ○ exists but does nothing – missing ? no data
Implementation By version Notes Stella ● 7.0● master Gopher2600 ● 2022-2023● 2025-04● v0.51.0● v0.53.0● master Since 28 November 2026 a long overblank no longer counts towards the cycle check. Test7800 ● 2025● v0.8.0 – v0.9.0 PlusCart and UnoCart ◐ 2.3.15 – 2.3.28◐ git 2025-11◐ 2.3.32 It first waits for the 6507 to go past $00A9. Chameleon Cart ◐ 2025-10-23 It has a race. In the simulator, 7 of 101 clock offsets hang after a long overblank (not confirmed on a console yet). If it starts waiting while the bus is already at $1FFF, the 0 arrives too late. Chameleon Cart, alternative firmware ● 2026-11-28 It replaces it with a version that has no race. Newbroo Wild Cart and Decker ? 2026 VCSIDE ACE adapter ● 2026-11 - Known issues
- PlusCart and UnoCart: It first waits for the 6507 to go past $00A9.
- Chameleon Cart: It has a race. In the simulator, 7 of 101 clock offsets hang after a long overblank (not confirmed on a console yet). If it starts waiting while the bus is already at $1FFF, the 0 arrives too late.
- Chameleon Cart, alternative firmware: It replaces it with a version that has no race.
- Gopher2600: Since 28 November 2026 a long overblank no longer counts towards the cycle check.
- See also The Chameleon Cart calls elf_main with the console already running.
- See also
vcsLib · December 2026OverblankvcsEndOverblank(3V)