Re: FORGET ALL MY PAST MESSAGES! READ THIS ONE! (Virtual Graphics

new topic     » topic index » view thread      » older message » newer message

> To Pete or anyone:

> Could someone write a routine similar to graphics.e's graphics_mode(),
> but sets up all the video memory addressing system like what happens in
> VESA20.E's vesa_mode()?  The only thing that I have been using VESA20.E
> for is the single_copy(), and its ability to do either the banking or
> linear memory setup copying.

The only graphics mode (via graphics_mode()) you could address in this
manner would be mode 19.  And then the address of video memory is always
#A0000.  And bytes_per_line is always 320.  You can still include vesa20.e
and not call vesa_mode()...  All the single_copy kinds will still work,
with the exception of bank_copy (which gets configured during a call to
vesa_mode()).

Euphoria uses Watcom's C graphics library for handling supervga modes,
which always uses a banking scheme, as far as I can tell.

> OR...
> somebody add something like above in Jiri's VGRAPH.E library?

You are certainly allowed to include both libraries in the same program.
I did a quick check and there were no name conflicts.

include vesa20.e
include vgraph.e

This way you can use Jiri's complete set of graphics primitives in
256-color vesa modes.


> Thanks, and please help if you can,
> Mike Hurley



 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu