1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

Added SetNewMode() to geoslib - #814

This commit is contained in:
Scott Hutter 2018-12-18 11:09:06 -06:00 committed by Oliver Schmidt
parent 1b46dfe820
commit 2f6f468aad
2 changed files with 22 additions and 1 deletions

View File

@ -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

View 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