aboutsummaryrefslogtreecommitdiff
path: root/dla.s
diff options
context:
space:
mode:
Diffstat (limited to 'dla.s')
-rw-r--r--dla.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/dla.s b/dla.s
index 5b069b7..7106a0a 100644
--- a/dla.s
+++ b/dla.s
@@ -22,7 +22,6 @@
DMA_ON = $21
DEFAULTPART = 1000
maxparticles = $80 ; 2 bytes
- addtmp = $82
pixptr = $82
pixmask = $84
cursor_x = $85 ; cursor x/y are args to plot/unplot/locate
@@ -245,8 +244,9 @@ menuloop:
dex
bpl menuloop
-; calculate and print elapsed time in minutes. our only use of
-; the floating point ROM routines.
+; calculate and print elapsed time in minutes.
+; uses the floating point ROM routines, because it's easier to code
+; this way and we don't need speed here.
ldx #0
stx FR0
inx
@@ -374,9 +374,9 @@ saveimage:
sta ICBAL,x
lda #>screen
sta ICBAH,x
- lda #<(maxlines * linelen)
+ lda #<screenbytes
sta ICBLL,x
- lda #>(maxlines * linelen)
+ lda #>screenbytes
sta ICBLH,x
jsr CIOV