1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

Added two functions that make it easier to write portable programs for Ohio Scientific computers.

This commit is contained in:
Greg King 2017-06-26 02:34:23 -04:00
parent 8fcb5139da
commit bd883327ac
2 changed files with 23 additions and 0 deletions

View 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
View File

@ -0,0 +1,9 @@
;
; 2017-06-26, Greg King
;
; unsigned char __fastcall__ revers (unsigned char onoff)
;
.import return0
.export _revers := return0 ; no attribute