From: brennan AT news DOT rt66 DOT com (Brennan "The Rev. Bas" Underwood) Newsgroups: comp.os.msdos.djgpp Subject: Re: VBE 2.0 Pmode Bank Switching... Date: 13 Feb 1997 02:48:43 -0700 Organization: Acid Brain Lines: 27 Distribution: world Message-ID: <5duo1r$5vr$1@mack.rt66.com> References: NNTP-Posting-Host: mack.rt66.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , KaRNaGE wrote: > >hmm i'm still learning at&t syntax...but i tried: > >asm("mov 0, %bx"); >asm("mov bank, %dx"); //bank == bank number >asm("call *%0" > : > : "S" (pm_bank) //the pm_bank() function i posted before >); >and still it doesn't work...BTW thankz for the real mode bank switching >info....i took out the multiply by 16..and now it works with UNIVBE which >i prefer....but the Pmode bank switching it still making me rip my hair >out =)....what i really need it source code that is identical to Sandman's >code (VBE.ZIP) but for VBE 2.0 Bank Switching... (or a new video card =) >)...but thankz for your help... > There's a really good example of how to do this in the Allegro source. Brennan -- brennan AT rt66 DOT com | static char msg[]="Bill Gates is the Anti-christ."; Riomhchlaraitheoir| Add this message to every program you write! I do! Rasterfarian | -O