Skip to content

Commit

Permalink
Fix a saferam oopsie
Browse files Browse the repository at this point in the history
Results on non-83Plus would get overwritten by the new LCD tests
  • Loading branch information
CVSoft committed Sep 16, 2021
1 parent cd063ed commit 50f59e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions z80test.asm
@@ -1,4 +1,4 @@
.define TI84PCSE
.define TI8X

.define VERSION 5
; make it run on many calculators
Expand Down Expand Up @@ -416,7 +416,7 @@ TestInAKillsVRAMPointer:
.endif
ld hl,$0000
call SetCursorPosition
ld hl,plotSScreen
ld hl,plotSScreen+384
push hl
ld b,64
call ReadStorageFromLCD
Expand All @@ -438,12 +438,12 @@ TestInAKillsVRAMPointer:

TestValidColumns:
; Runs with interrupts disabled!
; copy one column of counter to plotSScreen, then a column of blanks to plotSScreen+64
; copy one column of counter to plotSScreen+384, then a column of blanks to plotSScreen+448
; TODO make this use the upper half of appBackupScreen
.define USES_PLOT
ld a,0
ld b,64
ld hl,plotSScreen
ld hl,plotSScreen+384
push hl
M_CounterLoop:
ld (hl),a
Expand Down Expand Up @@ -586,12 +586,12 @@ TestColumn:
ld l,0
push hl
call SetCursorPosition
ld hl,plotSScreen
ld hl,plotSScreen+384
ld b,64
call WriteStorageToLCD
pop hl
call SetCursorPosition
ld hl,plotSScreen+128
ld hl,plotSScreen+512
push hl
ld b,64
call ReadStorageFromLCD
Expand Down

0 comments on commit 50f59e5

Please sign in to comment.