prog8/examples/test.p8

38 lines
409 B
Plaintext
Raw Normal View History

2020-03-24 23:32:54 +00:00
%import c64lib
%import c64utils
%import c64flt
%zeropage basicsafe
2019-08-09 00:15:31 +00:00
2020-06-14 00:39:48 +00:00
2020-03-24 23:32:54 +00:00
main {
2020-06-27 14:51:25 +00:00
sub ss(ubyte qq) {
Y=qq
}
sub tiny() {
Y++
}
sub tiny2() {
for A in 10 to 20 {
ubyte xx = A
}
}
2020-06-14 00:39:48 +00:00
sub start() {
2020-06-27 14:51:25 +00:00
uword zomg=2
A=lsb(zomg)
ss(100)
ss(101)
tiny()
tiny()
tiny2()
tiny2()
}
2020-06-14 00:39:48 +00:00
2020-03-21 17:39:36 +00:00
}
2020-03-24 23:32:54 +00:00