Browse code

Added tiny optimisation to piano.tal

Andrew Alderwick authored on 10/08/2021 18:37:40
Showing 1 changed files
... ...
@@ -97,9 +97,9 @@ BRK
97 97
 	#10 #00 
98 98
 	&loop
99 99
 		.adsr-view/x2 LDZ2 #003a -- .Screen/x DEO2
100
-		DUP #10 SWP - .Audio0/output DEI #0f AND < .Screen/pixel DEO
100
+		#10 OVR - .Audio0/output DEI #0f AND < .Screen/pixel DEO
101 101
 		.adsr-view/x2 LDZ2 #003a -- #0002 ++ .Screen/x DEO2
102
-		DUP #10 SWP - .Audio0/output DEI #04 SFT < .Screen/pixel DEO
102
+		#10 OVR - .Audio0/output DEI #04 SFT < .Screen/pixel DEO
103 103
 		.Screen/y DEI2 #0002 ++ .Screen/y DEO2
104 104
 		#01 + GTHk ,&loop JCN
105 105
 	POP2