prog8/examples/test.p8

22 lines
545 B
Plaintext
Raw Normal View History

%zeropage basicsafe
%import textio
2023-11-17 14:07:21 +00:00
%import emudbg
main {
sub start() {
2023-11-17 14:07:21 +00:00
txt.print("is emulator? ")
txt.print_ub(emudbg.is_emulator())
2023-11-16 20:33:43 +00:00
txt.nl()
2023-11-17 14:07:21 +00:00
emudbg.console_write(iso:"Hello from emulator.\n")
emudbg.console_chrout(iso:'1')
emudbg.console_chrout(iso:'2')
emudbg.console_chrout(iso:'3')
emudbg.console_chrout(iso:'\n')
emudbg.console_value1(123)
emudbg.console_chrout(iso:'\n')
emudbg.console_value2(42)
emudbg.console_chrout(iso:'\n')
2023-11-14 17:23:37 +00:00
}
}