delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/26/06:17:59

From: alain DOT merle AT cea DOT fr (Alain Merle)
Newsgroups: comp.os.msdos.djgpp
Subject: BIOS32
Date: 25 Jul 1997 09:47:32 GMT
Organization: Commissariat a l'energie atomique, Grenoble (France)
Lines: 27
Message-ID: <5r9snk$j9u$1@news.cea.fr>
Reply-To: alain DOT merle AT cea DOT fr
NNTP-Posting-Host: purus.ceng.cea.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I am trying to detect and manage a PCI board.

I have found in http://www.surepath.ibm.com/documents/pcs/biospci.html description of PCIBIOS and how to do what I am interested in.

This document explains that various interfaces are provided (16 bits, 32 bits
interfaces). I allready have a 16 bits interface working, but I am interested in a  real 32 bits interface.

The different steps to perform are:
	1- Find the BIOS32 Data Structure that gives an Entry Point to the service directory (real 4 bytes address).
	2- generate a call to this address to get 2 values to build code segment selector and data segment selector for accessing the requested service (PCI BIOS).

My current problem is to find how to generate the call to the physical address got in step 1.

I have tried __dpmi_simulate_real_mode_procedure_iret and ...._retf without success.

Does anybody have any idea, or, better of course, does anybody have some code implementing that ?

Thanks a lot.

Alain MERLE
CEA, France
email: alain DOT merle AT cea DOT fr



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019