Correcting doc adding telemon 2.4 primitives
This commit is contained in:
25
libsrc/telemon24/print.s
Normal file
25
libsrc/telemon24/print.s
Normal file
@@ -0,0 +1,25 @@
|
||||
;
|
||||
; Jede
|
||||
;
|
||||
; print (char * str);
|
||||
;
|
||||
; This function is a hack!
|
||||
;
|
||||
|
||||
.export _print
|
||||
.import popax
|
||||
.importzp tmp1
|
||||
.include "telemon24.inc"
|
||||
|
||||
.proc _print
|
||||
|
||||
jsr popax ; get buf
|
||||
stx tmp1
|
||||
ldy tmp1
|
||||
brk
|
||||
.byte $14
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user