Subject: ATI X386
Ok, I have yet another data point for my patch. Martin Rex informs
me that (not surprisingly) the location is different for the
two versions of x11 v2.0 and v2.1. I've repeated my message to Martin
below with part of his response inserted. Use whatever means you have
to do the byte patch. Just make a backup copy of X386 to be safe.
arthur
The byte that needs changing is offset 0xbf4dc, I believe.
Change the 0x28 there to a 0x31. I've never patched binaries
before so I have no idea if this will work.
From: mrex@aix01.rz.fht-mannheim.de (Martin Rex)
Ok, your patch was for the binary of x11_v2.0, the offset is different
for xfree86_1.1 (=x11_v2.1). If you search for the byte sequence
00D9280187 in the X-Server binary "X386", then you find the right
location in both Versions.
locate in original Code: 00D9280187
^^
replace sequence with this: 00D9310187
You should also setup your clocks in the Xconfig as in the following.
FontPath "/usr/lib/X11/fonts/misc/"
Keyboard
AutoRepeat 500 5
ServerNumLock
Microsoft "/dev/ttys1"
BaudRate 1200
Emulate3Buttons
#
# The graphics drivers
#
vga256
Virtual 800 655
ViewPort 0 0
Modes "640x480" "800x600d"
Clocks 18 22 25 28 36 44 50 56
30 32 37 39 40 0 75 65
Pseudocolor
Chipset "ati"
Videoram 512
ModeDB
# clock horzontal timing vertical timing
"640x480" 25 640 672 768 800 480 490 492 525
"640x480a" 28 640 672 768 800 480 490 492 525
"800x600d" 36 800 824 896 1024 600 608 610 633
"800x600" 36 800 816 952 1056 600 608 610 633
"800x600a" 36 800 832 966 966 600 600 609 631
39 800 872 968 1104 600 600 606 624
--
"The first fact to face is that UNIX was not developed with security, in any
reliable sense, in mind; this fact alone guarantees a vast number of holes."
-- "On the Security of UNIX", Dennis M. Ritchie
Arthur Tateishi ruhtra@turing.utoronto.ca