Added two functions that make it easier to write portable programs for Ohio Scientific computers.
This commit is contained in:
parent
8fcb5139da
commit
bd883327ac
2 changed files with 23 additions and 0 deletions
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…
Add table
Reference in a new issue