News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Assembler insert strange instructions [At end of topic new question VESA BIOS]

Started by kyoto008, December 13, 2013, 09:34:32 PM

Previous topic - Next topic

Gunther

Steve,

Quote from: FORTRANS on January 06, 2014, 06:29:14 AM
   Interesting that the virtual environments are not the same
as the native one.  Are there noticeable speed differences as
well?

Regards,

Steve

yes, of course. These are emulations; the code must be morphed through a lot of layers.

Gunther
You have to know the facts before you can distort them.

dedndave

hmmm - the 2 new attachments have the same name  ???   :biggrin:
don't feel bad, Steve, i'm getting older, too

both programs yield the same results
the second program (slightly larger ZIP file) has a working "inkey" pause at the end
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Dave\Desktop\2VESAINF => vesainf
VESA version number  3.0  OEM String:  Intel(r)915G/915GV/910GL Graphics Chip A
ccelerated VGA BIOS
Capabilities of the video environment;
0 = DAC is fixed width, 1 = DAC width is switchable. 1
Number of 64kb memory blocks on board 3840

Supported VESA video modes.
013C 014D 015C 013A 014B 015A 0107 011A 011B 0105 0117 0118
0112 0114 0115 0101 0103 0111

Information for VESA video mode 013C
Mode attributes         009B               LFBWnVGAGr Co    1 Hw
  Window A attributes    07        Window B attributes     00
Window granularity      64 KB     Window size             64 KB
  Window A start segment A000      Window B start segment  0000
Window function pointer C000:55AE
Bytes per scan line     1920
APA Resolution          1920 x 1440  Character Cell   8 x 16
Number of planes        1         Bits per pixel   8
Memory model type       4 Packed pixel
Number of banks         1         Bank size 0 KB
Additional image pages  90
Paused, hit a key to exit.
C:\DOCUME~1\Dave\Desktop\2VESAINF =>

FORTRANS

Hi,

Quote from: dedndave on January 06, 2014, 11:57:54 AM
hmmm - the 2 new attachments have the same name  ???

   Yeah, lazy, and clumsy I guess.  Fixed, it pays to double
check (maybe).

Quote
don't feel bad, Steve, i'm getting older, too

both programs yield the same results

   ?  They should, except for a working pause.  I may delete
the BankSize and related entries as no one in their right mind
would make interleaved video memory like the modes 4, 5, and
6 CGA graphics in a modern video chip.  Or have you noticed
something else?

Quotethe second program (slightly larger ZIP file) has a working "inkey" pause at the end

   Finally.

   Suggestions (anyone)?

Cheers,

Steve

dedndave

looks good
i guess some masochists may write banked code - lol
if so, they can also write the code to see what's available   :P

i was happy just to see that this machine does something in vesa

FORTRANS

Hi,

Quote from: dedndave on January 07, 2014, 01:48:40 AM
i was happy just to see that this machine does something in vesa

QuoteNumber of 64kb memory blocks on board 3840

   Wow.  Do you want a VESA program (DOS) to try out?
Or there were a lot of DOS image viewer programs that use
VESA graphic modes.

Regards,

Steve N.

dedndave

oh no, Steve - i was just interested to see my machine do something
i don't really see much future in VESA - it's more about running pre-existing game programs   :P