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,664 of 4,675    |
|    JJ to R.Wieser    |
|    Re: Testing all video mode - but which o    |
|    13 Feb 24 18:14:38    |
      From: jj4public@nospicedham.outlook.com              On Tue, 13 Feb 2024 08:57:32 +0100, R.Wieser wrote:       > Hello all,       >       > I've got a small program going thru all video-modi by looping AL from 80       > upto FF, calling INT 10, AH=00.       >       > I would like to find out which of those modi are graphical. Ralf Browns       > memory list shows 0040:0065 to hold some bits regarding the current video       > mode. In my case the lower two bits are of interrest       >       > Mode 03, text, shows the value 01. Alas, mode 0D, graphics, also shows 01.       > In fact, only modi 4 thru 6 show a 02 there, and modi 0 and 01 show a 00.       > Al others show 01.       >       > And I'm pretty sure there are few other graphics modi above mode 06 ...       >       > tl;dr:       > 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.              Hard way: Use the video ports to check the current type of video mode. i.e.       graphic or text.              > 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.              --- 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