prog8/examples/test.p8

32 lines
591 B
Plaintext
Raw Normal View History

2024-10-27 20:50:48 +00:00
%import textio
2024-11-08 18:43:59 +00:00
%zeropage basicsafe
2024-10-18 20:22:34 +00:00
main {
sub start() {
txt.print_ubbin(c128.getbanks(), true)
txt.spc()
txt.print_ub(@($4000))
txt.spc()
txt.print_ub(@($8000))
txt.nl()
@($4000)++
@($8000)++
txt.print_ub(@($4000))
txt.spc()
txt.print_ub(@($8000))
txt.nl()
c128.banks(0)
txt.print_ubbin(c128.getbanks(), true)
txt.spc()
@($4000)++
@($8000)++
txt.print_ub(@($4000))
txt.spc()
txt.print_ub(@($8000))
2024-11-08 18:43:59 +00:00
txt.nl()
}
}