delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/03/22:52:49

From: Admiral AT LuckyNumber DOT com (Admiral)
Subject: Re: Video Modes
3 Apr 1997 22:52:49 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33443F07.7BD1.cygnus.gnu-win32@LuckyNumber.com>
References: <860105556 DOT 062774 DOT 0 AT digitex DOT demon DOT co DOT uk>
Reply-To: Admiral AT LuckyNumber DOT com
Mime-Version: 1.0
X-Authentication-Warning: dezine.net: Host [206.170.178.226] claimed to be eric
X-Mailer: Mozilla 3.01Gold (Win95; I)
Original-To: Dan Hawkins <djhawkins AT digitex DOT demon DOT co DOT uk>
Original-CC: gnu-win32 AT cygnus DOT com, eric AT nccn DOT net
Original-Sender: owner-gnu-win32 AT cygnus DOT com

This is a multi-part message in MIME format.

--------------275F387E1E8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dan Hawkins wrote:
> 
> Any of you guys got some code for setting video modes without using the
> BIOS?
> 
> I want to set the video mode from pmode without going back to real-mode or
> using VM.

Yeah, I do.  Attatched is an assembler program that enters video mode
320x200-256 color and 80x25-16 color standard video modes, NOT using the
BIOS.
It's pretty lengthly, though.  I didn't think it was worth the trouble.

Cheers,
/admiral

--------------275F387E1E8
Content-Type: application/x-zip-compressed; name="Modes.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="Modes.zip"

UEsDBBQAAgAIAI+NKCITUKmgCRgAAPKpAAAJAAAATU9ERVMuQVNN7Ftfb9s4En8PkO8wDwvs
7VaXs500m9Qorm7idnNN4qzttrdX5IGWaIutJOpEKnH20x+HpCQ7tiXaaYs9YA2ktSmS85fD
3wypbnd/r9u9Gpz3Rwe90RX8HSQHcc+kH8I04zHEPKDQOgzhbyeteef5vH0Mks7lT9jPPGvj
w8OOetrCHscwy0gaMl/8hFOrqUKeS8gFS2YgQwof3vbg9cVgdADjkAkQJE4jCiQSHAIa80TI
jEgqdF9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wqoaZyq0XTOm1UfD5e/JI+PbTzUkMIUttBanXg
vJ2lPBxv/QIg8VPqdGjn+fl48UvqtNrSAt/U0NKVzU9p/ad5qebBREPXx8fHqPzJOn6q5++e
Uaf1DVUwiDxlNH1K2FPfUNufg6kllT2qSiiHBGwLgr6ldZqU16lpuFU05OtkwWgmJ7bhyAlG
dZaRKZ+m2tgnDTeIFmW8NiwdTeb8viKlQsVctUhzdMeMaqgJtBHOmZd9XqtwjxzVCBU0nf50
iRRaL83k1j9KhRYs7ladkMkubSE0TVPFoSt11rKbtna3HYWU+ozPwe+hhDSuE0AcvgrXeV5f
000vFHUcuGAuvYyOHw3dJqb6IyvmyJnbotPG2Q83ZIaEDPj3j+9uLapkLC04vVwldIq/IPXc
pOyliT9VLSNFPXPWHK3OlW0lLFrket4JmbIPjBw5dnNAKG+dMJrUsiKVOZT7WBczFFnqUPem
YobKcH93iKZdYn7op6DcPw/+8z8vF3N9tVf2nxT+Mf874f8DUEsBAhQAFAACAAgAj40oIhNQ
qaAJGAAA8qkAAAkAAAAAAAAAAQAgAAAAAAAAAE1PREVTLkFTTVBLBQYAAAAAAQABADcAAAAw
GAAAEQENCg0KRlRQIGFyY2hpdmVzIGh0dHA6Ly9nYXJiby51d2FzYS5maS8gVSBvZiBWYWFz
YSwgRmlubGFuZCwgbW9kZXJhdGVkIGJ5DQpUaW1vIFNhbG1pIHRzQHV3YXNhLmZpICAgICBQ
dWJsaWNpdHksIE1TLURPUywgc2VsZWN0ZWQgTVMtRE9TIHVwbG9hZHMNCkFyaSBIb3ZpbGEg
YWpoQHV3YXNhLmZpICAgIE1TLURPUyAmIFdpbiwgdXBsb2FkcywgR2FyYm8gJiBCQlMgU3lz
TWdyDQpIYW5udSBIaXJ2b25lbiBoaEB1d2FzYS5maSBVbml4LCB1d2FzYSBTeXNNZ3IsIHBv
c3RtYXN0ZXI=
--------------275F387E1E8--

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019