| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> You ever asked a stupid question? <1> hey all <1> i have an a20 gate related question <1> anyone around who might have some pointers? <2> Hey people! <1> howdy <2> How are ye, meeku ? <3> yo zeii <1> can't complain.. except for my a20 enable code <1> :) <1> i've tried every manner of way, it seems to work in bochs, but when i run it from a usb boot on my actual machine.. it fails <1> use the port 92 method, the int 15 ax=2401 methd <1> the kybd controller method with both modes including 0dfh command for hp vectro
<2> How about good old conventional i8042 method? <2> :P <1> vectra even <2> What kinda Processor? <2> and BIOS? <1> It's an AMI bios <1> laptop with Intel Centrino 1.8ghz <2> Hhmm <3> laptops are odd <1> its odd, i even tried using a copy of the old code i wrote back in the days for my dos pmode extender <2> Ive tested my code on Award BIOS, Phoenix BIOS but no AMI. PRocessors ranging from Pentium 3/4 to Athlon xp - athlon64 <2> Kbd controller one fails a bit. <2> HEy meeku <2> Are you delaying between IO Writes? <2> That was a problem with mine <1> yep i'm using a few jmp short $+2 's and the 8042 wait <2> erm... jmp short wont do much <1> you have an email addy in priv msg ? I can drop you a copy of this bugger and see if i'm just missing something really stupid <2> itll depend on the hardware how long it waits <2> try doing a write to port 0x80 for wait. <2> Im unfamiliar with 8042 wait <1> thats a good point.. <1> what i noticed is: <1> in my boot loader i display the error msg with a <press any key to reboot> <1> and if i holdi nenter on that msg <1> after about 20-30 goes it eventually enables the a20 <1> it goes thru to the 2nd stage loader/pmode switch etc <2> Thats really, really strange. <2> I enable my A20 in PM <2> because my Bootloader is 32bit, mostly. <2> Anywho... <2> try having a more reliable delay. <2> SEe if that helps :) <2> Fixed my problems. <1> so just a write of 00 to port 80h <2> yep. <2> that should be enough <2> :) <1> let me give that a bash.. thanks! (it does seem to be a delay problem) <2> :) <2> Goodluck <1> ive got like 5 different a20 enable methods in there now.. one of them should work <1> haha <2> :P yeah. <2> I have two, seems to do me okay so far. <2> but ive only tested on Award or Phoenix. <2> since, thats the one I seem to run into all the itme <2> one or ht eother <2> lol <2> Oh, I have issues with IBM BIOS <2> But I havent investigated that for a very long time <1> i can drop you the other methods i'm using which are appropriate for some other chipsets if you wanna try them out <1> in combination with the improved delay it should nail most of them down <2> :) <2> Im just adding the delay myself to my own IO functions :P <2> lol <2> See, ive been refactoring of late. <2> Makin gmy codebase much cleaner and more organized. <1> always a good thing :) <2> hehe yep. <2> I just did mine by putting the IOWAIT code directly into the IO ***embly stubs.
<2> I had it as a macro, but... it was never called. <2> :P <2> movb %al, %cl/* Preserve byte retrieved */ <2> movb $0x00, %al <2> movw $0x80, %dx <2> outb %al, %dx <2> movb %cl, %al/* Restore byte retrieved */ <1> mov ax, 2401h <1> int 15h <1> apparently that can enable a20 on a lot of machines (check for carry flag) <1> in al, 0eeh <1> sometimes that works too as a fast a20 enable <1> in al, 92h; Set A20 Enable bit on PS/2 Controller Port A. <1> test al, 2 <1> jnz short no92 <1> or al, 2 <1> out 92h, al <1> then that one <1> then the std. 8042 stuff <2> I wasnt aware you could safeguard 0x92 <2> I read it was unpredictable. <2> thanks for that :) <1> apparently it is <1> and there doesn't seem to be a sure-fire way to determine which of the methods is most likely to work <1> but the problem with the 8042 stuff is in a lot of machines they don't use the 8042 controller chip any more <1> so you have to enable via port 92 <2> YEah, or they have a crappy emulation of hte 8042 chip <1> swines <1> hehe <2> MY laptop uses 0x92, while desktop is fine with oldschool 8402 <1> stupid a20 gate <2> Ive found almost all Phoenix BIOS Machines use 0x92 <2> atleast, every machine at my uni does. <2> where as all AwardBIOS machines ive tested, (only about 12) use 8042 happily <2> old 486 toshiba laptop, with Chips'n'bits BIOS seems to be completely unresponsive to all the ones ive tested. <2> but then again, it dies trying to run Win3.1 <4> ChipsN****? <2> yep <2> nn, you nailed it :) <4> mother****er. <2> ? <4> Someone rebooted the router i was working on <2> pricks <4> sonsobeeches <4> Now i gotta drive to long island <2> ;) SONUVABITCH! <2> lol <2> Well, have fun :P <2> lol <2> MY router is just below my feet :) <2> My cat likes to hurt it <4> I can sit on my edge-router :) <4> it's a dual p3 500 <4> keeps my room cozy arm <4> warm <2> Nice :) <2> My router is a little box <4> Old dell poweredge <2> with 12 ports. <2> I love my little router. <2> best buy ever. <2> lol <4> got a few NICs in it, one for the AP, one for the cable modem, one for the FiOS, and one for the wired network (gigabit) <2> nice! <4> got it free <4> just had to lug it home on the subway <2> pain <4> 85 pounds of dell lovin <2> lol <2> heavy machine <2> My machine is just a cage. <2> :) <2> with hardware hanging from it <2> :)
Return to
#osdev or Go to some related
logs:
lmbench Permission denied fedora xon ov51x gentoo python+goal difference ubuntu gcc intalling panel/index.php python pprint var_dump ndsad+deb #css MinSpare MAxClient
|
|