News:

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

Main Menu

VESA under FLAT/UNREAL mode with PB 3.5

Started by Gunther, August 19, 2013, 02:58:45 AM

Previous topic - Next topic

Gunther

Manos,

Quote from: Manos on December 27, 2013, 11:01:28 PM
I thought that VBE supports graphics for linear frame buffer above 1 MB.

Manos.

that's right. You can use it in FLAT mode. The archive vesaflat.zip contains an example.

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

Manos

Gunther,

Your example SetSVGAPixel is familiar to me.
I am interesting for BitBlt and lines, but without use pixel by pixel.

Manos.

Gunther

Manos,

that's the point. There's an old book from Microsoft Press: Programmer's Guide to PC Video Systems by Richard Wilton. It contains old DOS examples for line and circle drawing (Bresenham). Another source could be Mike Abrash's book, which can be downloaded by Dr. Dobbs. It's about VGA, but the ideas can be used for the LFB, too. I hope that helps.

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

Manos


Gunther

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

dedndave

used to have this book - wish i still did
at this price, i may get one   :biggrin:
$0.01 + 3.99 shipping

http://www.amazon.com/gp/offer-listing/1556151039/ref=dp_olp_all_mbc?ie=UTF8&condition=all



there is also an updated version of the book

even though much of the stuff is obsolete - a great reference and well written

Gunther

Dave,

Quote from: dedndave on December 28, 2013, 03:48:18 PM
there is also an updated version of the book

even though much of the stuff is obsolete - a great reference and well written

yes, of course. It contains also procedures for different Mode X resolutions.

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

dedndave

you can find Mode X stuff in PDF form, on the web

do you have the newer version or the older one (pictured) ?

what i liked about it - it was a full reference on VGA registers
and - it had some code, too - that could be adapted to 32-bit

FORTRANS

Hi Dave,

   I have the newer edition in hard copy and the older as a text
file.  And both come with the code, new on a diskette and the
older as a ZIP.  Fun stuff.

   For Mode X, I have a PDF of Micheal Abrash's "Graphic
Programming Black Book".

Cheers,

Steve

Gunther

Dave,

Quote from: dedndave on December 28, 2013, 11:36:51 PM
do you have the newer version or the older one (pictured) ?

what i liked about it - it was a full reference on VGA registers
and - it had some code, too - that could be adapted to 32-bit

to be honest, I've the German translation (second edition) from 1994. There are pictures inside.

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

Gunther

Steve,

Quote from: FORTRANS on December 29, 2013, 12:35:42 AM
I have the newer edition in hard copy and the older as a text
file.  And both come with the code, new on a diskette and the
older as a ZIP.  Fun stuff.

You're one of the lucky ones. I've the source code on a diskette, but no appropriate drive. :(

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

FORTRANS

Quote from: Gunther on December 29, 2013, 03:33:57 AM
You're one of the lucky ones. I've the source code on a diskette, but no appropriate drive. :(

Hi Gunther,

   Well, if you need it, I am sure something could be worked
out.  I will see if I can find a link to the older files.

Regards,

Steve

Gunther

Steve,

Quote from: FORTRANS on December 29, 2013, 05:23:18 AM
   Well, if you need it, I am sure something could be worked
out.  I will see if I can find a link to the older files.

that would be fine.

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

FORTRANS

Hi,

   Found the link to the older files.

http://alexfru.narod.ru/emiscdocs.html

Look for "VGAGUIDE.ZIP" and "VGAG-SRC.ZIP".  If you want the
newer source, you can send me an e-mail address or the like.
As you have the book, I am assuming it is okay to send you the
source files.  They do differ a bit from the older edition.

Cheers,

Steve N.

Gunther

Steve,

thank you for the link.  :t I'll send you a PM with the mail address. One question: What's a CHP file?

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