Author Topic: VESA under FLAT/UNREAL mode with PB 3.5  (Read 31167 times)

Gunther

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #15 on: December 28, 2013, 01:33:46 AM »
Manos,

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
Get your facts first, and then you can distort them.

Manos

  • Guest
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #16 on: December 28, 2013, 03:22:01 AM »
Gunther,

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

Manos.

Gunther

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #17 on: December 28, 2013, 05:39:52 AM »
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
Get your facts first, and then you can distort them.

Manos

  • Guest
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #18 on: December 28, 2013, 07:01:13 AM »
Thank you Gunther.

Manos.

Gunther

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #19 on: December 28, 2013, 07:05:06 AM »
Manos,

you're welcome.

Gunther
Get your facts first, and then you can distort them.

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #20 on: December 28, 2013, 03:48:18 PM »
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

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #21 on: December 28, 2013, 11:10:19 PM »
Dave,

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
Get your facts first, and then you can distort them.

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #22 on: December 28, 2013, 11:36:51 PM »
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

  • Member
  • *****
  • Posts: 1188
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #23 on: December 29, 2013, 12:35:42 AM »
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

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #24 on: December 29, 2013, 03:30:05 AM »
Dave,

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
Get your facts first, and then you can distort them.

Gunther

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #25 on: December 29, 2013, 03:33:57 AM »
Steve,

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
Get your facts first, and then you can distort them.

FORTRANS

  • Member
  • *****
  • Posts: 1188
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #26 on: December 29, 2013, 05:23:18 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

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #27 on: December 29, 2013, 06:04:10 AM »
Steve,

   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
Get your facts first, and then you can distort them.

FORTRANS

  • Member
  • *****
  • Posts: 1188
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #28 on: December 30, 2013, 01:23:09 AM »
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

  • Member
  • *****
  • Posts: 4086
  • Forgive your enemies, but never forget their names
Re: VESA under FLAT/UNREAL mode with PB 3.5
« Reply #29 on: December 30, 2013, 03:11:31 AM »
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
Get your facts first, and then you can distort them.