Skip to content

Commit 4fa8ca7

Browse files
PeterTillemaMatt Waltz
authored andcommitted
Reset iy for token hook (#62)
_Get_Tok_Strng calls the token hook, which needs bit 0, (iy+$35) or so, and if iy is random, it might happen that the OS things the hook is set, while it isn't, and then it resets the bit.
1 parent 98b373d commit 4fa8ca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fileioc/fileioc.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ _: inc de
967967
ld (hl),de
968968
pop hl
969969
push iy
970+
ld iy,flags
970971
call _Get_Tok_Strng
971972
pop iy
972973
ld hl,(iy+9)

0 commit comments

Comments
 (0)