prog8/examples/test.p8

23 lines
308 B
Plaintext
Raw Normal View History

2020-03-24 23:32:54 +00:00
%import c64lib
%import c64utils
%import c64flt
%zeropage basicsafe
2020-07-26 22:32:59 +00:00
main {
2020-07-26 21:32:20 +00:00
sub start() {
2020-08-18 13:16:56 +00:00
2020-08-22 21:39:27 +00:00
&ubyte[256] foo= $c000
ubyte[] array=[1,2,3]
str string = "hello"
2020-08-22 21:39:27 +00:00
string = 3
array = 5
foo = $c100
c64scr.print_uwhex(foo, 1)
2020-08-22 20:23:00 +00:00
2020-08-22 21:39:27 +00:00
foo[100]=10
2020-07-25 23:32:27 +00:00
}
}