mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 22:32:24 +00:00
Added SetNewMode() to geoslib - #814
This commit is contained in:
parent
1b46dfe820
commit
2f6f468aad
@ -45,6 +45,10 @@ void __fastcall__ BitOtherClip(void *proc1, void *proc2, char skipl,
|
||||
|
||||
void __fastcall__ GraphicsString(char *myGfxString);
|
||||
|
||||
#ifdef __GEOS_CBM__
|
||||
void __fastcall__ SetNewMode(void);
|
||||
#endif
|
||||
|
||||
/* VIC colour constants */
|
||||
#define BLACK 0
|
||||
#define WHITE 1
|
||||
@ -172,5 +176,4 @@ typedef void graphicStr;
|
||||
/* ESC_PUTSTRING can't be implemented - it needs text, not pointer to it
|
||||
#define ESC_PUTSTRING(x,y,text) (char)6, (unsigned)(x), (char)(y), (text), (char)NULL
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
18
libsrc/geos-cbm/setnewmode.s
Normal file
18
libsrc/geos-cbm/setnewmode.s
Normal file
@ -0,0 +1,18 @@
|
||||
;
|
||||
; Scott Hutter
|
||||
;
|
||||
; 18.12.18
|
||||
|
||||
; void SetNewMode(void);
|
||||
|
||||
.export _SetNewMode
|
||||
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
_SetNewMode:
|
||||
lda graphMode
|
||||
eor #$80
|
||||
sta graphMode
|
||||
jsr SetNewMode
|
||||
rts
|
Loading…
x
Reference in New Issue
Block a user