mirror of
https://github.com/cc65/cc65.git
synced 2024-06-15 02:29:32 +00:00
Added two functions that make it easier to write portable programs for Ohio Scientific computers.
This commit is contained in:
parent
8fcb5139da
commit
bd883327ac
14
libsrc/osic1p/doesclrscr.s
Normal file
14
libsrc/osic1p/doesclrscr.s
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
;
|
||||||
|
; 2016-06, Christian Groessler
|
||||||
|
; 2017-06-26, Greg King
|
||||||
|
;
|
||||||
|
; unsigned char doesclrscrafterexit (void);
|
||||||
|
;
|
||||||
|
; Returns 0/1 if, after program termination, the screen isn't/is cleared.
|
||||||
|
;
|
||||||
|
|
||||||
|
.import return1
|
||||||
|
|
||||||
|
; cc65's OSI programs return to the monitor ROM which clears the screen.
|
||||||
|
|
||||||
|
.export _doesclrscrafterexit := return1
|
9
libsrc/osic1p/revers.s
Normal file
9
libsrc/osic1p/revers.s
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
;
|
||||||
|
; 2017-06-26, Greg King
|
||||||
|
;
|
||||||
|
; unsigned char __fastcall__ revers (unsigned char onoff)
|
||||||
|
;
|
||||||
|
|
||||||
|
.import return0
|
||||||
|
|
||||||
|
.export _revers := return0 ; no attribute
|
Loading…
Reference in New Issue
Block a user