[fpc-pascal]BIOS PnP function far call (go32v2)

XHajT03 at mbox.vol.cz XHajT03 at mbox.vol.cz
Wed Sep 10 22:43:34 CEST 2003


From:           	Lubomir.Cabla at cssz.cz
To:             	fpc-pascal at lists.freepascal.org
Subject:        	RE: [fpc-pascal]BIOS PnP function far call (go32v2)
Send reply to:  	fpc-pascal at lists.freepascal.org
	<mailto:fpc-pascal-request at lists.freepascal.org?subject=subscribe>
	<mailto:fpc-pascal-request at lists.freepascal.org?subject=unsubscribe>
Date sent:      	Wed, 10 Sep 2003 14:09:14 +0200

Hi,

> thanks for your help, i hope i find a solution in yours files.
> 
> >Then you probably have to pass this selector somehow to the PnP
> >subsystem, but don't ask me how...
> 
> ... that's the problem :()

I think that you just need to save the original contents of the DS 
register somewhere, place your newly allocated selector in DS just 
before calling the PnP routine, and restoring the DS value 
immediately after return.

Tomas





More information about the fpc-pascal mailing list