mirror of
https://github.com/rkujawa/rk65c02.git
synced 2026-03-11 03:16:11 +00:00
- interrupts: IRQ vector at $FFFE, vector device at $FFFC, idle_wait + assert_irq - hello_serial: custom bus device at $DE00, guest writes host prints - stepper: rk65c02_step(1) loop with regs and disassembly - jit_bench: min3.rom interpreter vs JIT wall time - breakpoints: debug_breakpoint_add at min3 entry, inspect then continue - README: document new examples, run from examples/ or make run-<name> - Makefile: EXAMPLES and run-* targets for all five Made-with: Cursor
16 lines
201 B
ArmAsm
16 lines
201 B
ArmAsm
; Hello-serial example — guest writes bytes to $DE00, host device prints to stdout.
|
|
.org 0xC000
|
|
|
|
ldx #0
|
|
loop:
|
|
lda string,x
|
|
beq done
|
|
sta 0xDE00
|
|
inx
|
|
bne loop
|
|
done:
|
|
stp
|
|
|
|
string:
|
|
.byte "Hi!", 0
|