Fix zp clear in C128 on exit
This commit is contained in:
parent
1abdd1476e
commit
bcf19136d4
|
@ -330,6 +330,9 @@ spexit:
|
|||
sta $54
|
||||
lda #0
|
||||
sta $13
|
||||
#if defined(__C128__) || defined(__C128B__) || defined(__C128E__)
|
||||
sta $1a
|
||||
#endif
|
||||
lda #$19
|
||||
sta $16
|
||||
#if defined(__C128__)
|
||||
|
@ -338,6 +341,11 @@ spexit:
|
|||
#elif defined(__PLUS4__)
|
||||
sta $ff3e
|
||||
#endif
|
||||
#if defined(__C128__) || defined(__C128B__) || defined(__C128E__)
|
||||
lda #0
|
||||
sta $1b
|
||||
#endif
|
||||
|
||||
#endif
|
||||
rts
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue