... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
app/neralie : clock with arvelie date |
3 | 3 |
|
4 | 4 |
TODO |
5 |
- - Implement higher resolution time rather than counting fps |
|
5 |
+ - use splash screen when FPS calculation is unstable |
|
6 | 6 |
) |
7 | 7 |
|
8 | 8 |
%h { .DateTime/hour DEI } |
... | ... |
@@ -206,39 +206,6 @@ |
206 | 206 |
#00 .fps/next POK |
207 | 207 |
JMP2r |
208 | 208 |
|
209 |
-@print-string ( string* -- ) |
|
210 |
- DUP2 GET DUP ,¬-end JNZ |
|
211 |
- POP POP2 JMP2r |
|
212 |
- |
|
213 |
- ¬-end |
|
214 |
- .Console/char DEO |
|
215 |
- #0001 ADD2 ,print-string JMP |
|
216 |
- |
|
217 |
-@print-byte-decimal ( byte -- ) |
|
218 |
- #00 .number/started POK |
|
219 |
- #00 SWP |
|
220 |
- ,print-short-decimal/byte-start JMP |
|
221 |
- |
|
222 |
-@print-short-decimal ( short* -- ) |
|
223 |
- #00 .number/started POK |
|
224 |
- #2710 ,modf JSR ,&digit JSR |
|
225 |
- #03e8 ,modf JSR ,&digit JSR |
|
226 |
- &byte-start |
|
227 |
- #0064 ,modf JSR ,&digit JSR |
|
228 |
- #000a ,modf JSR ,&digit JSR |
|
229 |
- ,&digit JSR |
|
230 |
- .number/started PEK ,&end JNZ |
|
231 |
- #30 .Console/char DEO |
|
232 |
- &end JMP2r |
|
233 |
- |
|
234 |
- &digit |
|
235 |
- SWP POP |
|
236 |
- DUP .number/started PEK ORA #02 JNZ |
|
237 |
- POP JMP2r |
|
238 |
- #30 ADD .Console/char DEO |
|
239 |
- #01 .number/started POK |
|
240 |
- JMP2r |
|
241 |
- |
|
242 | 209 |
@modf ( dividend* divisor* -- remainder* quotient* ) |
243 | 210 |
OVR2 OVR2 DIV2 DUP2 STH2 MUL2 SUB2 STH2r JMP2r |
244 | 211 |
|
... | ... |
@@ -279,9 +246,6 @@ |
279 | 246 |
ROT #01 ADD ROT ROT |
280 | 247 |
JMP2r |
281 | 248 |
|
282 |
-@strings |
|
283 |
- &fps [ 20 "fps 0a 00 ] |
|
284 |
- |
|
285 | 249 |
@font-numbers |
286 | 250 |
[ |
287 | 251 |
7cc6 ced6 e6c6 7c00 1838 1818 1818 7e00 3c66 063c 6066 7e00 |