mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-02-20 17:29:11 +00:00
Flash cursor on 2e based on VBL
This commit is contained in:
parent
6fc53c4c21
commit
094ddd31e8
@ -993,9 +993,17 @@ def keyin3
|
||||
return key | $80
|
||||
end
|
||||
def keyin2e
|
||||
byte key
|
||||
byte key, vbl
|
||||
repeat
|
||||
cursflash
|
||||
vbl = ^$C019
|
||||
if flags & showcurs
|
||||
if flash == 0
|
||||
^cursptr = curschr
|
||||
elsif flash == 128
|
||||
^cursptr = underchr
|
||||
fin
|
||||
if vbl ^ ^$C019; flash = flash + 8; fin
|
||||
fin
|
||||
key = ^keyboard
|
||||
until key >= 128
|
||||
^keystrobe
|
||||
|
Loading…
x
Reference in New Issue
Block a user