home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,668 of 4,675   
   JJ to R.Wieser   
   Re: Testing all video mode - but which o   
   14 Feb 24 06:26:49   
   
   From: jj4public@nospicedham.outlook.com   
      
   On Tue, 13 Feb 2024 13:45:46 +0100, R.Wieser wrote:   
   > JJ,   
   >   
   >>> How do I find out if a certain mode is graphics ?   
   >>   
   >> Easy way: Use BIOS service to read a pixel.   
   >> *It's only applicable in graphic video mode.*   
   >   
   > (bolding mine)   
   >   
   > Indeed.  And, AFAICT, that means that *you should not be trying to use it*   
   > in a non-graphics mode.   
   >   
   > It also says squat about what happens if you do try.  Which makes it   
   > useless.   
   >   
   >> Hard way: Use the video ports to check the current type of video   
   >> mode. i.e. graphic or text.   
   >   
   > And you don't think that suggestion is a bit ... vague ?   
   >   
   >>> Secondary question : if the lower two bits of 0040:0065 are *not* the   
   >>> current video-modes graphics and textmode capablities, what do they   
   >>> signify   
   >>> instead ?   
   >>   
   >> See Ralf Brown's Interrupt List.   
   >   
   > You're a funny guy. Not.   
   >   
   > Whats the matter ? Did you step outof bed with the wrong foot first ? :-(   
      
   Can't give fish all the time. You gotta fish yourself eventually.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca