mirror of
https://github.com/irmen/prog8.git
synced 2024-10-17 10:24:55 +00:00
22 lines
449 B
Lua
22 lines
449 B
Lua
%import c64lib
|
|
%import c64utils
|
|
%import c64flt
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
|
|
ubyte ub
|
|
uword uw = $ee44
|
|
ubyte vlsb = $11
|
|
ubyte vmsb = $ff
|
|
|
|
uw = mkword(vmsb, vlsb) ; todo flip the order of the operands , MSB first
|
|
c64scr.print_uwhex(uw, 1)
|
|
uw = mkword($ee, $22) ; todo flip the order of the operands , MSB first
|
|
c64scr.print_uwhex(uw, 1)
|
|
}
|
|
}
|
|
|