|
From: Santiago G. M. <ma...@ay...> - 2002-11-29 10:32:28
|
Hi!
I've found a "bug" on last Jochen patch, the console thinks it is at 80x25
when we are at 128x48 thus the scrolling doesn't work and also clear and
other stuff doesn't work ok, this patch on top of Jochen's 3rd version
solves that:
--- linux-2.4.19-orig/drivers/video/s3trio.c.orig Thu Nov 28 16:29:09 2002
+++ linux-2.4.19/drivers/video/s3trio.c Fri Nov 29 09:28:48 2002
@@ -474,8 +474,8 @@
outw(SRC_BACKGROUND | MIX_SRC, 0xb6e8);/* direct color*/
outw(MF_T_CLIP | 0, 0xbee8 ); /* clip virtual area */
outw(MF_L_CLIP | 0, 0xbee8 );
- outw(MF_R_CLIP | (640 - 1), 0xbee8);
- outw(MF_B_CLIP | (480 - 1), 0xbee8);
+ outw(MF_R_CLIP | (1024 - 1), 0xbee8);
+ outw(MF_B_CLIP | (768 - 1), 0xbee8);
Trio_WaitQueue(0x0400);
outw(0xffff, 0xaae8); /* Enable all planes */
outw(0xffff, 0xaae8); /* Enable all planes */
@@ -740,7 +740,7 @@
s3trio_setcolreg(255, 56, 100, 160, 0, NULL /* not used */);
s3trio_setcolreg(254, 0, 0, 0, 0, NULL /* not used */);
- memset((char *)s3trio_base, 0, 640*480);
+/* memset((char *)s3trio_base, 0, 640*480);*/
memset((char *)s3trio_base, 0, fb_var.xres * fb_var.yres * 1);
#if 0
@@ -978,7 +978,8 @@
s3trio_setcolreg(255, 56, 100, 160, 0, NULL /* not used */);
s3trio_setcolreg(254, 0, 0, 0, 0, NULL /* not used */);
- memset((char *)s3trio_base, 0, 640*480);
+/* memset((char *)s3trio_base, 0, 640*480);*/
+ memset((char *)s3trio_base, 0, fb_var.xres * fb_var.yres * 1);
#if 0
Trio_RectFill(0, 0, 90, 90, 7, 1);
About the Debian basic root fs...
I'd like to make some changes:
1- Right now as /dev must be writable I'm using devfs, wich implies having
devfs support on the kernel and then having devfsd running, I was thinking
in using a normal /dev but putting it on the tmpfs we already have compiled
in and mounted.
2- I'd like to remove that telnetd and thus inetd to free up some mem.
3- What about not running kerneld ans syslogd?
4- Run just 4 gettys, I don't think this will free up anything, but having 6
seems too much to me.
What do you think about all this?
I have upgraded my redo script which now copies the /root dir to the tmpfs
so that it is writable, the Debian stuff (the old 3.3.6 stuff had the config
broken), also the kernel and the config file for it and a bloated filesystem
with a lot of stuff like java2 mozilla, swfdec, and have setup a domain name
for putting this on a more normal place: networkstation.aytolacoruna.es
Hope you like all this ;-)
I'll keep on working on a good setup here, I'll try to see what I can do
with the sound, I do not have info on the S3, otherwise I'll be focusing on
getting the S3 to work on 16bpp :-(
Regards!
|