2023-11-09 21:32:20 +00:00
|
|
|
%zeropage basicsafe
|
2023-11-14 21:47:31 +00:00
|
|
|
%import textio
|
2023-11-17 14:07:21 +00:00
|
|
|
%import emudbg
|
2023-11-14 21:47:31 +00:00
|
|
|
|
2023-10-15 20:44:34 +00:00
|
|
|
main {
|
2023-11-12 19:40:17 +00:00
|
|
|
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
|
|
|
}
|
2023-10-03 20:54:28 +00:00
|
|
|
}
|