1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-25 22:18:27 +00:00

Changed the prototype of videomode() to take and return an unsigned instead of

an unsigned char. Two more video mode constants as discussed on the list.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4133 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-09-08 16:25:12 +00:00
parent 6c87aa64be
commit 931b6418bf
3 changed files with 8 additions and 6 deletions
+5 -3
View File
@@ -62,7 +62,7 @@
#define COLOR_CYAN 0x03
#define COLOR_VIOLET 0x04
#define COLOR_GREEN 0x05
#define COLOR_BLUE 0x06
#define COLOR_BLUE 0x06
#define COLOR_YELLOW 0x07
#define COLOR_ORANGE 0x08
#define COLOR_BROWN 0x09
@@ -74,8 +74,10 @@
#define COLOR_GRAY3 0x0F
/* Video mode defines */
#define VIDEOMODE_40COL 0x00
#define VIDEOMODE_80COL 0x80
#define VIDEOMODE_40x25 0x00
#define VIDEOMODE_80x25 0x80
#define VIDEOMODE_40COL VIDEOMODE_40x25
#define VIDEOMODE_80COL VIDEOMODE_80x25