mirror of
https://github.com/badvision/jace.git
synced 2026-11-26 15:22:16 +00:00
- 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
17 lines
373 B
NASM
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
|