fixes in structs, added common cc65 color definitions, cgetc laces cursor in

correct line, interrupts are enabled before jumping into _main


git-svn-id: svn://svn.cc65.org/cc65/trunk@1217 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2002-04-06 17:37:12 +00:00
parent 4a4e24623b
commit 2edcb9d73b
5 changed files with 80 additions and 59 deletions

View File

@@ -2,7 +2,7 @@
GEOS graphic (non icon/menu/sprite) functions
ported to small C on 29.10.1999
by Maciej 'YTM/Alliance' Witkowiak
by Maciej 'YTM/Elysium' Witkowiak
10,11.03.2000 - updates
*/
@@ -70,6 +70,23 @@ void __fastcall__ GraphicsString(char *myGfxString);
#define LTGREEN 13
#define LTBLUE 14
#define LTGREY 15
/* once again for cc65 compatibility */
#define COLOR_BLACK 0x00
#define COLOR_WHITE 0x01
#define COLOR_RED 0x02
#define COLOR_CYAN 0x03
#define COLOR_VIOLET 0x04
#define COLOR_GREEN 0x05
#define COLOR_BLUE 0x06
#define COLOR_YELLOW 0x07
#define COLOR_ORANGE 0x08
#define COLOR_BROWN 0x09
#define COLOR_LIGHTRED 0x0A
#define COLOR_GRAY1 0x0B
#define COLOR_GRAY2 0x0C
#define COLOR_LIGHTGREEN 0x0D
#define COLOR_LIGHTBLUE 0x0E
#define COLOR_GRAY3 0x0F
/* VIC memory banks */
#define GRBANK0 3
#define GRBANK1 2