2020-12-27 01:22:18 +00:00
|
|
|
%import textio
|
2021-01-07 19:01:11 +00:00
|
|
|
%import string
|
2021-01-03 01:45:25 +00:00
|
|
|
%zeropage basicsafe
|
2020-12-08 00:02:38 +00:00
|
|
|
%option no_sysinit
|
|
|
|
|
2020-12-08 21:54:20 +00:00
|
|
|
main {
|
2020-12-21 23:59:07 +00:00
|
|
|
|
2021-01-10 15:00:22 +00:00
|
|
|
|
2021-01-13 21:32:17 +00:00
|
|
|
sub start() {
|
2021-01-14 21:51:09 +00:00
|
|
|
str filename="?"*40
|
|
|
|
txt.print("> ")
|
|
|
|
ubyte il = txt.input_chars(filename)
|
|
|
|
txt.print_ub(il)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_ubhex(filename[0],1)
|
|
|
|
txt.print_ubhex(filename[1],1)
|
|
|
|
txt.print_ubhex(filename[2],1)
|
|
|
|
txt.nl()
|
|
|
|
txt.print(filename)
|
|
|
|
txt.nl()
|
|
|
|
|
|
|
|
txt.print("> ")
|
|
|
|
il = txt.input_chars(filename)
|
|
|
|
txt.print_ub(il)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_ubhex(filename[0],1)
|
|
|
|
txt.print_ubhex(filename[1],1)
|
|
|
|
txt.print_ubhex(filename[2],1)
|
|
|
|
txt.nl()
|
|
|
|
txt.print(filename)
|
|
|
|
txt.nl()
|
2021-01-10 14:15:00 +00:00
|
|
|
}
|
2021-01-05 22:19:37 +00:00
|
|
|
|
2020-08-27 17:47:50 +00:00
|
|
|
}
|