equivalent of waitvbl (from Amos and sdlBasic) needed - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16) +---- Thread: equivalent of waitvbl (from Amos and sdlBasic) needed (/showthread.php?tid=384) |
equivalent of waitvbl (from Amos and sdlBasic) needed - nitrofurano - 10-08-2011 i tried this code Code: #include <print64.bas> but it runs too fast, and i only need to synchronize it with the display frequence (50hz or 60hz) i think zxspectrum uses this with some z80 interrupt instruction? which one, and how can we use it inside 'asm/endasm'? Re: equivalent of waitvbl (from Amos and sdlBasic) needed - LCD - 10-09-2011 Why not use PAUSE 1? The Z80 instruction is HALT by the way. Re: equivalent of waitvbl (from Amos and sdlBasic) needed - nitrofurano - 10-09-2011 thanks, LCD! |