x86 programming question

Erwin Rol erwin at muffin.org
Thu Aug 23 18:49:03 UTC 2001


On 23 Aug 2001 13:19:54 -0500, Joel Sherrill wrote:
> Hi,
> 
> On the pc386 BSP, can I make a BIOS int call from protected mode
> (easily).  If not, I want to make a bios call in the start16.S code,
> store the result and use it later.  This is simply a call to return
> the size of memory.  Advice appreciated. :)
> 

AFAIK it is done via a int 0x?? and passes the parameters in registers
and the resulets too. A look at the lilo code or the linux kernel start
code might give you some hints.

- Erwin



> 
> -- 
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel at OARcorp.com                 On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985




More information about the users mailing list