prog8/examples/test.p8

32 lines
581 B
Plaintext
Raw Normal View History

%import textio
2020-12-07 22:29:34 +00:00
%import diskio
%import floats
%zeropage basicsafe
%import test_stack
2020-12-08 00:02:38 +00:00
%option no_sysinit
errors {
sub tofix() {
; ; TODO fix undefined symbol:
; repeat {
; ubyte char = c64.CHRIN()
; ; ...
; }
2020-12-08 00:02:38 +00:00
; do {
; char = c64.CHRIN() ; TODO fix undefined symbol error, should refer to 'char' above in the subroutine's scope
; } until char==0
2020-12-08 01:16:41 +00:00
; TODO fix compiler crash:
; str[max_files] names
2020-12-08 00:02:38 +00:00
}
}
2020-08-27 17:47:50 +00:00
main {
2020-10-09 20:47:42 +00:00
sub start() {
errors.tofix()
2020-12-08 02:28:29 +00:00
test_stack.test()
}
2020-08-27 17:47:50 +00:00
}