mirror of
https://github.com/irmen/prog8.git
synced 2024-11-04 19:05:57 +00:00
18 lines
295 B
Lua
18 lines
295 B
Lua
%import math
|
|
%zeropage basicsafe
|
|
|
|
; Note: this program is compatible with C64 and CX16.
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
ubyte[255] BC
|
|
bool[255] DX
|
|
|
|
BC[2] = math.rnd() & 15
|
|
BC[3] = math.rnd() & 15
|
|
BC[4] = math.rnd() & 15
|
|
;DX[2] = math.rnd() & 1
|
|
}
|
|
}
|