M pc/main.c => pc/main.c +2 -2
@@ 16,12 16,12 @@ static uchar *sp; /* stack pointer for /boot */
* Where configuration info is left for the loaded programme.
* This will turn into a structure as more is done by the boot loader
* (e.g. why parse the .ini file twice?).
- * There are 1024 bytes available at CONFADDR.
+ * There are XXX bytes available at CONFADDR.
*/
#define BOOTLINE ((char*)CONFADDR)
#define BOOTLINELEN 64
#define BOOTARGS ((char*)(CONFADDR+BOOTLINELEN))
-#define BOOTARGSLEN (1024-BOOTLINELEN)
+#define BOOTARGSLEN (4096-0x200-BOOTLINELEN)
#define MAXCONF 32
char bootdisk[NAMELEN];
M pc/vgas3.c => pc/vgas3.c +4 -4
@@ 197,7 197,7 @@ s3load(VGAscr* scr, Cursor* curs)
switch(id){
case 0xE131: /* ViRGE */
- case 0xE18A: /* ViRGE/[DG]X */
+ case 0xE101: /* ViRGE/[DG]X */
case 0xE110: /* ViRGE/GX2 */
case 0xE13D: /* ViRGE/VX */
case 0xE112: /* Savage4/IX-MV */
@@ 213,8 213,8 @@ s3load(VGAscr* scr, Cursor* curs)
}
/*
- * The cursor is set in Microsoft Windows format (the ViRGE/GX2 no
- * longer supports the X11 format) which gives the following truth table:
+ * The cursor is set in Microsoft Windows format (the ViRGE/GX2 doesn't
+ * support the X11 format) which gives the following truth table:
* and xor colour
* 0 0 background colour
* 0 1 foreground colour
@@ 245,7 245,7 @@ s3load(VGAscr* scr, Cursor* curs)
switch(id){
case 0xE131: /* ViRGE */
- case 0xE18A: /* ViRGE/[DG]X */
+ case 0xE101: /* ViRGE/[DG]X */
case 0xE110: /* ViRGE/GX2 */
case 0xE13D: /* ViRGE/VX */
case 0xE112: /* Savage4/IX-MV */