🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #397

Re: Trouble using INT's from Windows-program

#397
From: Richard Hancock
Date: Wed, 15 Apr 1992 10:20
12 lines
1050 bytes
/ hpopd:comp.windows.ms.programmer / richardh@hpopd.pwd.hp.com (Richard Hancock) /  5:27 pm  Apr 14, 1992 /
/ hpopd:comp.windows.ms.programmer / san@cup.portal.com (Steven Arthur Nelson) /  2:24 am  Apr 10, 1992 /

>>Tell your friend to try using DPMI service 0x300 to simulate a 
>>real mode interrupt.  All memory addresses passed between real
>>and protected modes should be allocated using GlobalDosAlloc.
>
>Isn't it sufficient to use GlobalDosAlloc? Surely Windows will
>reflect the interrupt to real mode (via DPMI)?

Please ignore my stupidity - I'd forgotten the additional
complication of needing to pass a segment address in DS.
Technical Details
Message-ID: <266570027@hpopd.pwd.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!hpopd!richardh
References: <4764@krafla.rhi.hi.is>

Show Full Headers
Complete Article Headers
From: richardh@hpopd.pwd.hp.com (Richard Hancock)
Date: Wed, 15 Apr 1992 10:20:37 GMT
Subject: Re: Trouble using INT's from Windows-program
Message-ID: <266570027@hpopd.pwd.hp.com>
Organization: The Duffer of St. George
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!hpopd!richardh
Newsgroups: comp.windows.ms.programmer
References: <4764@krafla.rhi.hi.is>
Lines: 12