mirror of
https://github.com/cc65/cc65.git
synced 2025-02-02 15:37:58 +00:00
add cputc & remove
This commit is contained in:
parent
4e0958eae6
commit
e34ef0fc17
@ -172,7 +172,8 @@ XMUSIC = $45
|
||||
XZAP = $46
|
||||
XSHOOT = $47
|
||||
XMKDIR = $4B ; create a folder. Only available in telemon 3.x
|
||||
XSOUT = $67 ; send A register to RS232, available in telemon 2.4 & 3.x
|
||||
XRM = $4D ; remove a folder or a file. Only available in telemon 3.x
|
||||
XSOUT = $67 ; send accumulator value (A) to RS232, available in telemon 2.4 & 3.x : if RS232 buffer is full, the Oric Telestrat freezes
|
||||
XHRSSE = $8C ; set hires position cursor
|
||||
XDRAWA = $8D ; draw a line
|
||||
XDRAWR = $8E ; draw a line
|
||||
|
16
libsrc/telestrat/cputc.s
Normal file
16
libsrc/telestrat/cputc.s
Normal file
@ -0,0 +1,16 @@
|
||||
; 2018-04-13, Jede (jede@oric.org)
|
||||
;
|
||||
|
||||
; void cputc (char c);
|
||||
;
|
||||
|
||||
.export _cputc
|
||||
|
||||
|
||||
.include "telestrat.inc"
|
||||
|
||||
.proc _cputc
|
||||
BRK_TELEMON XWR0 ; macro send char to screen (channel 0 in telemon terms)
|
||||
rts
|
||||
.endproc
|
||||
|
16
libsrc/telestrat/sysremove.s
Normal file
16
libsrc/telestrat/sysremove.s
Normal file
@ -0,0 +1,16 @@
|
||||
;
|
||||
; Jede, 10.11.2017
|
||||
;
|
||||
; unsigned char __fastcall__ _sysremove (const char* name);
|
||||
;
|
||||
|
||||
.export __sysremove
|
||||
|
||||
|
||||
.include "zeropage.inc"
|
||||
.include "telestrat.inc"
|
||||
|
||||
__sysremove:
|
||||
; Push name
|
||||
BRK_TELEMON(XRM)
|
||||
rts
|
Loading…
x
Reference in New Issue
Block a user