Fix race condition

This commit is contained in:
Karri Kaksonen
2022-04-19 20:01:47 +03:00
committed by mrdudz
parent 7f9909ef81
commit 4ee3e59f19
6 changed files with 29 additions and 42 deletions

View File

@@ -9,7 +9,7 @@
.constructor initconio
.include "atari7800.inc"
.include "extzp.inc"
.import _font
.import _conio_font
.import _get_tv
.export _screen
.export _zones
@@ -58,7 +58,7 @@ _screen:
; Cursor
.byte 254
.byte 0
.byte >_font
.byte >_conio_font
.byte 0
.endmacro
@@ -206,7 +206,7 @@ vblankon:
vblankoff:
lda MSTAT
bpl vblankoff
lda #>_font
lda #>_conio_font
sta CHBASE
lda #(CTRL_MODE160 | CTRL_KANGOFF | CTRL_BCBLACK | CTRL_CHAR2B | CTRL_DMAON | CTRL_CKOFF)
sta CTRL