antoine-source/TrueConvert/True.Count.s
Antoine Vignau 4d4fb6a665 Let's free the code!!
Some old (WIP) disassemblies and my own source code now available online.
2024-07-23 23:38:22 +02:00

29 lines
431 B
ArmAsm

*----------------------------------------
* True Convert : Count Colors
*----------------------------------------
meCOUNT PushLong #65536
PushLong #strZERO
PushWord #5
PushWord #0
_Long2Dec
PushLong #255
PushLong #strONE
PushWord #5
PushWord #0
_Long2Dec
pha
PushWord #4
PushLong #strARRAY
PushLong #2 ; Count colors
_AlertWindow
pla
rts
strARRAY adrl strZERO,strONE
strZERO asc ' '00
strONE asc ' '00