2022-02-22 20:07:19 +00:00
|
|
|
%import textio
|
|
|
|
%zeropage kernalsafe
|
2022-02-22 21:43:14 +00:00
|
|
|
; %launcher none
|
|
|
|
;%output prg
|
|
|
|
;%address $2022
|
2022-02-15 22:16:49 +00:00
|
|
|
|
2021-10-30 13:15:11 +00:00
|
|
|
main {
|
2022-02-15 22:16:49 +00:00
|
|
|
sub start() {
|
2022-02-22 20:07:19 +00:00
|
|
|
ubyte[20] array1 = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
|
|
|
ubyte[20] array2 = [2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2]
|
2022-02-20 17:34:30 +00:00
|
|
|
|
2022-02-22 20:07:19 +00:00
|
|
|
sys.set_irqd()
|
|
|
|
|
|
|
|
cx16.rombank(9)
|
|
|
|
sys.memset(array1, 20, 255)
|
|
|
|
|
|
|
|
cx16.rombank(0)
|
|
|
|
ubyte ii
|
|
|
|
for ii in array1 {
|
|
|
|
txt.print_ubhex(ii, false)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
for ii in array2 {
|
|
|
|
txt.print_ubhex(ii, false)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
|
|
|
|
cx16.rombank(9)
|
|
|
|
sys.memset(array1, 20, 255)
|
|
|
|
array2=array1
|
|
|
|
|
|
|
|
cx16.rombank(0)
|
|
|
|
for ii in array1 {
|
|
|
|
txt.print_ubhex(ii, false)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
for ii in array2 {
|
|
|
|
txt.print_ubhex(ii, false)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
|
|
|
|
cx16.rombank(4)
|
|
|
|
|
|
|
|
repeat {
|
|
|
|
}
|
2022-02-15 22:16:49 +00:00
|
|
|
}
|
2022-02-17 23:40:31 +00:00
|
|
|
}
|