1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-07-22 11:29:18 +00:00

Enable/disable VBL ints for //c

This commit is contained in:
Dave Schmenk 2023-03-19 17:59:38 -07:00
parent 094ddd31e8
commit 60c1b4f6e9

View File

@ -994,6 +994,7 @@ def keyin3
end
def keyin2e
byte key, vbl
^$C05B // Enable VBL Ints on a //c
repeat
vbl = ^$C019
if flags & showcurs
@ -1006,6 +1007,7 @@ def keyin2e
fin
key = ^keyboard
until key >= 128
^$C05A // Disable VBL Ints on a //c
^keystrobe
if ^pushbttn2 & 128 // Closed Apple pressed
when key