| ... | ... |
@@ -9,13 +9,9 @@ |
| 9 | 9 |
%TOS { #00 SWP }
|
| 10 | 10 |
%INCR { SWP #01 ADD SWP }
|
| 11 | 11 |
|
| 12 |
-%DEBUG { ;print-hex JSR2 #0a .Console/write DEO }
|
|
| 13 |
-%DEBUG2 { SWP ;print-hex JSR2 ;print-hex JSR2 #0a .Console/write DEO }
|
|
| 14 |
- |
|
| 15 | 12 |
( devices ) |
| 16 | 13 |
|
| 17 | 14 |
|00 @System &vector $2 &pad $6 &r $2 &g $2 &b $2 |
| 18 |
-|10 @Console &vector $2 &read $1 &pad $5 &write $1 |
|
| 19 | 15 |
|20 @Screen &vector $2 &width $2 &height $2 &pad $2 &x $2 &y $2 &addr $2 &color $1 |
| 20 | 16 |
|a0 @File &vector $2 &success $2 &offset $2 &pad $2 &name $2 &length $2 &load $2 &save $2 |
| 21 | 17 |
|
| ... | ... |
@@ -28,9 +24,9 @@ |
| 28 | 24 |
|0100 ( -> ) |
| 29 | 25 |
|
| 30 | 26 |
( theme ) |
| 31 |
- #0fca .System/r DEO2 |
|
| 32 |
- #0eba .System/g DEO2 |
|
| 33 |
- #0ec9 .System/b DEO2 |
|
| 27 |
+ #0fa7 .System/r DEO2 |
|
| 28 |
+ #0fa7 .System/g DEO2 |
|
| 29 |
+ #0fa7 .System/b DEO2 |
|
| 34 | 30 |
|
| 35 | 31 |
( load font ) |
| 36 | 32 |
#4000 .File/length DEO2 |
| ... | ... |
@@ -140,17 +136,6 @@ RTN |
| 140 | 136 |
|
| 141 | 137 |
RTN |
| 142 | 138 |
|
| 143 |
- |
|
| 144 |
-@print-hex ( value -- ) |
|
| 145 |
- |
|
| 146 |
- STHk #04 SFT ,&parse JSR .Console/write DEO |
|
| 147 |
- STHr #0f AND ,&parse JSR .Console/write DEO |
|
| 148 |
- RTN |
|
| 149 |
- &parse ( value -- char ) |
|
| 150 |
- DUP #09 GTH ,&above JCN #30 ADD RTN &above #09 SUB #60 ADD RTN |
|
| 151 |
- |
|
| 152 |
-RTN |
|
| 153 |
- |
|
| 154 | 139 |
@title |
| 155 | 140 |
5468 6520 466f 6720 486f 726e $1 |
| 156 | 141 |
|