Thread (1 message) 1 message, 1 author, 2003-02-17

Re: s3_bios and lcall $0xc000,$3

From: Ducrot Bruno <hidden>
Date: 2003-02-17 18:19:12

On Mon, Feb 17, 2003 at 04:38:18PM +0100, Bjorn Wesen wrote:
Ok.. just checking: what exactly is the lcall $0xc000,$3 call supposed to do 
in the wakeup.S code ? It seems to be the only way to actually activate the 
TFT on the acer travelmate notebook, and I can print characters on the 
screen after the call, but when the code tries to load CR4, the CPU freezes 
(or at least it can't print characters anymore..).

I'm guessing that the bios call corrupt some data segment pointers, because 
if I print out any of the real_save_* values, they are all zero! WHich 
obviously causes a crash when you load up a zero GDT, zero CR0, zero CR4 
etc... 

I've tried to find the description of this bios call on the net somewhere 
but turned up zero..
Just google for 'ralph brown list'.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help