From 0ce79ef709dfedffb84f2c3f83dedbc4523e46a8 Mon Sep 17 00:00:00 2001 From: themythos Date: Fri, 15 Oct 2004 13:53:57 +0000 Subject: [PATCH] Changed the base of graphic and character generator address so that displays larger than (rows x cols) > 512 are supported --- server/drivers/t6963.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/drivers/t6963.h b/server/drivers/t6963.h index 06f2945..9115c71 100644 --- a/server/drivers/t6963.h +++ b/server/drivers/t6963.h @@ -53,9 +53,9 @@ // 8bit Data output #define T6963_DATAOUT port_out(T6963_CONTROL_PORT, port_in(T6963_CONTROL_PORT) & 0xdf) -#define CHARGEN_BASE 0x1000 #define TEXT_BASE 0x0000 -#define ATTRIB_BASE 0x0200 +#define ATTRIB_BASE 0x7000 +#define CHARGEN_BASE 0xF000 #define SET_CURSOR_POINTER 0x21 #define SET_OFFSET_REGISTER 0x22 @@ -134,7 +134,7 @@ void t6963_graphic_clear (Driver *drvthis, int x1, int y1, int x2, int y2); void t6963_set_nchar (Driver *drvthis, int n, char *dat, int num); void t6963_low_set_control(char wr, char ce, char cd, char rd); -void t6963_low_dsp_ready(void); +int t6963_low_dsp_ready(void); void t6963_low_data(u8 byte); void t6963_low_command (u8 byte); @@ -148,4 +148,4 @@ void t6963_low_disable_mode (u8 mode); void t6963_swap_buffers(); -#endif \ No newline at end of file +#endif