Board index » delphi » VESA BankSwitching under DPMI
Skan...@t-online.de (Christopher Skanda)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
Skan...@t-online.de (Christopher Skanda)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
VESA BankSwitching under DPMIHi ! Christopher.Ska...@gmx.net |
Scott Earnes
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:VESA BankSwitching under DPMIQuoteChristopher Skanda wrote: demonstrates how to do this. To summarize, you can't call the interrupt directly, you have to call via the DPMI server (int 31h), and also allocate memory below 1MB. If you can't turn it up on your server, or DejaNews, drop a line and I'll e-mail you a copy (258 lines). Quote> Christopher.Ska...@gmx.net Scott Earnest | SPAM protection in effect. Remove | setech@_ix.netcom.com | "_" as needed for true addresses. | earnests@_homenet.lm.com | UIN:1136443 EFnet:pale_blue | sinykal@_{*word*104}space.org | URL: http://www.netcom.com/~setech | |
Christopher Skan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:VESA BankSwitching under DPMIScott Earnest schrieb in Nachricht <354D2DAA.F02C412B@_ix.netcom.com>... Quote>Christopher Skanda wrote: news from this server. What about your Email-Address, I can't send a message to you. Thanks. Christopher.Ska...@gmx.net |
Jason Burgo
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:VESA BankSwitching under DPMIIn article: <6icesl$pr...@news02.btx.dtag.de> Skan...@t-online.de (Christopher QuoteSkanda) writes: not all) VBE implementations, so if you want to do it this way you must setup temporary exception handlers, then "exercise" the function to see if a GPF occurs. If not then you're ok, otherwise your code will have to fallback to using a DPMI function to call the bank switching. Btw, you did set up a CODE selector and not a DATA selector didn't you? -- Jay ----------------------------------------- |
Mark Iuzzoli
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:VESA BankSwitching under DPMIIn article <354D2DAA.F02C412B@_ix.netcom.com>, Quote>Christopher Skanda wrote: address of the direct bankswitching call. The code goes something like: uses winapi; Switchbank is now the direct bankswitching call. Note that this |
Scott Earnes
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:VESA BankSwitching under DPMIQuoteMark Iuzzolino wrote: requested, namely using the far call for bank switching. Quote> uses winapi; processor is running in protected mode and suddenly jumps to BIOS code with real mode context, wouldn't it GPF? All BIOSes aren't smart enough to know this, are they? Is switching to real mode and back to protected mode needed? Quote> --Mark Iuzzolino Scott Earnest | SPAM protection in effect. Remove | setech@_ix.netcom.com | "_" as needed for true addresses. | earnests@_homenet.lm.com | UIN:1136443 EFnet:pale_blue | sinykal@_{*word*104}space.org | URL: http://www.netcom.com/~setech | |