1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Merge pull request #455 from greg-king5/osic1p-code

Add functions that make it easier to write portable programs for OSI computers.
This commit is contained in:
Oliver Schmidt 2017-06-26 14:28:55 +02:00 committed by GitHub
commit 4cf7ee1dba
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