TIMESTAMP 'string'
TIMESTAMP "[Y-M-D h:m]" ; will produce => [2022-12-05 21:26]Generates a string of characters corresponding to the following codes. Undefined characters are copied as they are:
- Y ou YYYY year on 4 digits
- YY year on 2 digits
- M month on 2 digits
- D day on 2 digits
- h hour on 2 digits
- m minutes on 2 digits
- s secondes on 2 digits
TICKER start/stop,variable
Start the time measurement of the encountered instructions. The result will be returned in NOP by default or in Ticks if the spectrum mode is activated (command line or directive)
Typical usage, synchronize code on a rasterline ;)
ld a,100
reloop
TICKER START,mesure
repeat 8
inc b : outi
rend
TICKER STOP,mesure
defs 64-getnop(dec a : jr nz)-mesure
dec a
jr nz,reloopPROCEDURE label (WIP!)
Declare the address of a procedure for the export Object
EXTERNAL symbole1, symbole2, symbole3 (WIP!)
Declare one or more external symbols in import
SUMMEM start,end
Will produce a single byte with the checksum of values from start to end-1
Note : this directive wont work with crunched segment (need an evolution)
XORMEM start,end
Will produce a single byte with the xored checksum of values from start to end-1
Note : this directive wont work with crunched segment (need an evolution)
SUM16 start,end
Will produce an unsigned word (2 bytes) with the checksum of values from start to end-1
Note : this directive wont work with crunched segment (need an evolution)





