www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/10/08:30:34

From: Jay <dey AT tpts5 DOT seed DOT net DOT tw>
Newsgroups: comp.os.msdos.djgpp
Subject: how to call BIOS32 service
Date: 10 Jun 1999 00:41:50 GMT
Organization: SEEDNet News Service
Lines: 21
Message-ID: <375F0973.148851A5@tpts5.seed.net.tw>
NNTP-Posting-Host: davidl.c1tech.com.tw
Mime-Version: 1.0
X-Mailer: Mozilla 4.6 [en] (Win95; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
I got a problem. I want to call the BIOS32 service of PCI device
ROMimage.I got the physical address of the BIOS32 sevice. But, how to
call the BIOS32 service on protect mode? I've tested to call BIOS32
service directly. But it always fail.

 __asm__ __volatile__( " call %%edi \n "
                                       : "=a"( ReturnCode )
                                       :
"D"(BIOS32_SEVICE_PHYSICAL_ADDRESS ),
                                         "a"( SERVICE_IDENTIFIER ),
                                       : "ax"
                                    ) ;


Can anyone help me? Any help would be greatly appreciated.

Best Regards,

Jay Tai

- Raw text -


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