2024-09-22 21:41:41 +02:00
|
|
|
%import textio
|
2024-09-28 01:00:28 +02:00
|
|
|
%zeropage basicsafe
|
|
|
|
%option no_sysinit
|
2024-09-22 21:41:41 +02:00
|
|
|
|
2024-01-07 18:48:18 +01:00
|
|
|
main {
|
2024-08-24 14:34:23 +02:00
|
|
|
sub start() {
|
2024-10-02 02:20:12 +02:00
|
|
|
uword uw
|
|
|
|
for uw in 50 downto 10 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
word starw
|
|
|
|
for starw in 50 downto 10 { ; TODO fix compiler error + add unit test for this
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-10-02 01:32:56 +02:00
|
|
|
ubyte[] stuff1=[1,2,3]
|
|
|
|
ubyte [] stuff2=[1,2,3]
|
2024-10-02 18:58:55 +02:00
|
|
|
ubyte[ ] stuff3=[1,2,3]
|
2024-10-02 01:32:56 +02:00
|
|
|
stuff1[1]++
|
|
|
|
stuff2[1]++
|
|
|
|
stuff3[1]++
|
2024-07-21 13:35:28 +02:00
|
|
|
}
|
2024-09-14 23:17:26 +02:00
|
|
|
}
|
2024-09-28 22:02:01 +02:00
|
|
|
|