2024-09-27 23:00:28 +00:00
|
|
|
%zeropage basicsafe
|
|
|
|
%option no_sysinit
|
2024-09-22 19:41:41 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
2024-10-03 18:44:18 +00:00
|
|
|
sub func() -> ubyte {
|
|
|
|
cx16.r0++
|
|
|
|
return cx16.r0L
|
|
|
|
}
|
|
|
|
|
2024-08-24 12:34:23 +00:00
|
|
|
sub start() {
|
2024-10-03 18:44:18 +00:00
|
|
|
bool[256] @shared cells
|
2024-10-02 21:15:48 +00:00
|
|
|
word starw
|
|
|
|
byte bb
|
2024-10-02 00:20:12 +00:00
|
|
|
uword uw
|
2024-10-02 21:15:48 +00:00
|
|
|
ubyte ub
|
|
|
|
|
2024-10-03 18:44:18 +00:00
|
|
|
starw = (240-64 as word) + func()
|
|
|
|
|
|
|
|
for starw in 50 downto 10 {
|
2024-10-02 00:20:12 +00:00
|
|
|
cx16.r0++
|
|
|
|
}
|
2024-10-03 18:44:18 +00:00
|
|
|
for starw in cx16.r0L downto 10 {
|
2024-10-02 21:15:48 +00:00
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
|
|
|
|
for ub in 0 to len(cells)-1 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
for ub in cx16.r0L to len(cells)-1 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
for bb in 50 downto 10 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
for bb in cx16.r0sL downto 10 {
|
2024-10-02 00:20:12 +00:00
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
|
2024-10-03 18:44:18 +00:00
|
|
|
for starw in 500 downto 10 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
for uw in 50 downto 10 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
|
|
|
for uw in 500 downto 10 {
|
|
|
|
cx16.r0++
|
|
|
|
}
|
2024-07-21 11:35:28 +00:00
|
|
|
}
|
2024-09-14 21:17:26 +00:00
|
|
|
}
|
2024-09-28 20:02:01 +00:00
|
|
|
|