From 773cf3bd07f9e2d0a878e7929df873070a7977bc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 10 Apr 2021 15:37:43 -0400 Subject: port stat: save some bytes, slight speedup --- portstat.s | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'portstat.s') diff --git a/portstat.s b/portstat.s index fa68b9f..9aa54ee 100644 --- a/portstat.s +++ b/portstat.s @@ -29,17 +29,22 @@ partial = _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 -- cgit v1.2.3