Revision: 45728
http://sourceforge.net/p/vice-emu/code/45728
Author: gpz
Date: 2025-08-07 13:23:07 +0000 (Thu, 07 Aug 2025)
Log Message:
-----------
small optimization
Modified Paths:
--------------
testprogs/SID/paddlescope/plotter.asm
testprogs/SID/paddlescope/plotter.prg
Modified: testprogs/SID/paddlescope/plotter.asm
===================================================================
--- testprogs/SID/paddlescope/plotter.asm 2025-08-06 22:38:25 UTC (rev 45727)
+++ testprogs/SID/paddlescope/plotter.asm 2025-08-07 13:23:07 UTC (rev 45728)
@@ -95,14 +95,6 @@
lda bitmaplo,x
sta lineaddr+0
- clc
- lda lineaddr+0
- adc #<(20*8)
- sta lineaddr2+0
- lda lineaddr+1
- adc #>(20*8)
- sta lineaddr2+1
-
; clear the line
ldx #0
-
@@ -109,13 +101,7 @@
lda #0
lineaddr=*+1
sta bitmap + (0 * 8),x
-lineaddr2=*+1
- sta bitmap + (20 * 8),x
-; txa
-; clc
-; adc #8
-; tax
-; cpx #(20*8)
+
lda add8,x
tax
bne -
@@ -165,7 +151,7 @@
!byte %00000010
!byte %00000001
}
-
+
!align 255,0
bitmaphi:
@@ -182,9 +168,6 @@
!align 255,0
add8:
- !for n, 0, 151 {
+ !for n, 0, 255 {
!byte <(n+8)
}
- !for n, 152, 255 {
- !byte 0
- }
Modified: testprogs/SID/paddlescope/plotter.prg
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|