2023-09-19 21:13:44 +00:00
|
|
|
%import textio
|
2023-10-02 19:57:42 +00:00
|
|
|
%import emudbg
|
2023-09-24 21:00:40 +00:00
|
|
|
%zeropage basicsafe
|
|
|
|
%option no_sysinit
|
2023-09-19 21:13:44 +00:00
|
|
|
|
2023-08-13 22:50:40 +00:00
|
|
|
main {
|
2023-09-18 22:08:17 +00:00
|
|
|
sub start() {
|
2023-09-28 22:28:04 +00:00
|
|
|
|
2023-10-02 19:57:42 +00:00
|
|
|
txt.print_ub(emudbg.is_emulator())
|
2023-10-01 23:34:56 +00:00
|
|
|
txt.nl()
|
2023-10-02 19:57:42 +00:00
|
|
|
emudbg.console_value1(123)
|
|
|
|
emudbg.console_value2(222)
|
|
|
|
for cx16.r0L in iso:"Hello debug console!\n"
|
|
|
|
emudbg.console_chrout(cx16.r0L)
|
2023-10-01 22:12:48 +00:00
|
|
|
|
2023-10-02 19:57:42 +00:00
|
|
|
emudbg.console_write(iso:"Hello another message!\n")
|
2023-10-01 22:12:48 +00:00
|
|
|
|
2023-10-02 19:57:42 +00:00
|
|
|
emudbg.EMU_DBG_HOTKEY_ENABLED=false
|
2023-09-18 21:22:03 +00:00
|
|
|
}
|
2023-07-10 20:03:48 +00:00
|
|
|
}
|
2023-09-24 21:00:40 +00:00
|
|
|
|