diff options
Diffstat (limited to 'portstat.s')
-rw-r--r-- | portstat.s | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -29,17 +29,22 @@ partial = <screenlen ; compared to using memcpy(). ; void redraw_port_stat(void); _redraw_port_stat: - lda _port_stat_dirty - beq @done + ;lda _port_stat_dirty + ;beq @done lda #<_port_stat_screen sta srcptr lda #>_port_stat_screen sta srcptr+1 + ; add 40 because PORTSTAT.DAT no longer contains the all-blank + ; first line. lda SAVMSC + clc + adc #$28 sta dstptr lda SAVMSC+1 + adc #$00 sta dstptr+1 ; copy screenpages pages |