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:
commit
4cf7ee1dba
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