Files
Badvision 935697d0ee Fix example output/return semantics; add Applesoft FP doc and ProDOS examples disk
- Examples: emit 80-column output via COUT high bit; RTS back to caller
  instead of infinite JMP loops; null-terminate COUT-until-0 strings
- docs/jace/floating-point.md: Applesoft FP ROM usage from raw 6502 asm
- examples/dhgr-pinwheel/pinwheel-fp.asm: DHGR example using FP ROM
- examples/build-examples-disk.sh: rebuild bootable ProDOS examples disk
  from committed sources (acme + cp2); includes base ProDOS 2.4.3 image
  and a built jace-examples.po
2026-09-04 12:22:52 -05:00

17 lines
373 B
NASM

* = $800
start
ldx #0
next
lda msg,x
beq done
ora #$80 ; 80-column output
jsr $FDED ; COUT: Apple II ROM console output, char in A (docs/jace/debugging-guide.md:102)
inx
jmp next
done
rts ; return to caller (BRUN/BASIC)
msg:
!text "HELLO WORLD"
!byte $0D
!byte 0 ; terminate COUT-until-0