| ... | ... |
@@ -62,19 +62,19 @@ BRK |
| 62 | 62 |
@draw-uf3 ( x* y* text* color -- ) |
| 63 | 63 |
|
| 64 | 64 |
STH |
| 65 |
- STH2 |
|
| 66 |
- .Screen/y DEO2 |
|
| 67 |
- .Screen/x DEO2 |
|
| 68 |
- STH2r |
|
| 65 |
+ SWP2 .Screen/y DEO2 |
|
| 66 |
+ SWP2 DUP2 .Screen/x DEO2 SWP2 |
|
| 69 | 67 |
&loop |
| 70 |
- LDAk #0a ! ,&no-linebreak JCN |
|
| 71 |
- #0000 .Screen/x DEO2 |
|
| 72 |
- .Screen/y DEI2 #0018 ++ .Screen/y DEO2 |
|
| 73 |
- &no-linebreak |
|
| 74 |
- LDAk STHkr ,&sprite JSR |
|
| 75 |
- #0001 ++ |
|
| 68 |
+ LDAk |
|
| 69 |
+ DUP #0a ! ,&no-linebreak JCN |
|
| 70 |
+ ( move down ) OVR2 .Screen/x DEO2 |
|
| 71 |
+ ( incr y ) .Screen/y DEI2 #0010 ++ .Screen/y DEO2 |
|
| 72 |
+ POP ,&continue JMP &no-linebreak |
|
| 73 |
+ STHkr ,&sprite JSR |
|
| 74 |
+ &continue |
|
| 75 |
+ ( incr addr ) #0001 ++ |
|
| 76 | 76 |
LDAk ,&loop JCN |
| 77 |
- POP2 POPr |
|
| 77 |
+ POP2 POP2 POPr |
|
| 78 | 78 |
RTN |
| 79 | 79 |
|
| 80 | 80 |
&sprite ( char color -- ) |