Board index » delphi » EGA Text mode 80*50?

EGA Text mode 80*50?

How do i put my text mode in a higher res (80x50 or was it 80x60?)?

    grthnx Paeblow,
       leader of the -> Digital Decay Group <-
       p.h.j.kui...@student.utwente.nl

"School maakt meer kapot dan drank weer goed kan maken..."

 

Re:EGA Text mode 80*50?


    You must program the video register and change some values.

    Look in the SWAG, I think that there must be some codes.

Quote
p.h.j.kui...@student.utwente.nl (Paeblow) wrote:
>How do i put my text mode in a higher res (80x50 or was it 80x60?)?

>    grthnx Paeblow,
>       leader of the -> Digital Decay Group <-
>       p.h.j.kui...@student.utwente.nl

>"School maakt meer kapot dan drank weer goed kan maken..."

--

          ___                                              ___
          L_|_                                            _|_J
         ( -O>                                            <O- )
      ___//\J  __________________________________________  L/\\___
     //-,\    |                                          |    /,-\\
    || / \\___L   AVONTURE Christophe (c) AVC Software   J___// \ ||
  _ ''/\/ '---J    Christophe.Avont...@is.belgacom.be    L---' \/\'' _
 / \ //\\.    |__________________________________________|    .//\\ / \
|_/\'/  ||                                                    ||  \'/\_|
     '   ||_         "Make sure that, always!, you            _||   '
         |__)       reply to my private mail adress"         (__|

Delphi Super Page: http://sunsite.icm.edu.pl/archive/delphi/_index.html

 "Postings are personnal, and don't reflect Belgacom's opinion"

Re:EGA Text mode 80*50?


(Missed original article. . . .)

Quote
AVONTURE Christophe wrote:

>     You must program the video register and change some values.

Not necessary.  The vast majority of changes to screen fonts can be dealt with
through the character generator calls provided by the BIOS.

Quote
>     Look in the SWAG, I think that there must be some codes.

> p.h.j.kui...@student.utwente.nl (Paeblow) wrote:
> >How do i put my text mode in a higher res (80x50 or was it 80x60?)?

EGA doesn't have automatic support for 80x50, though it's possible by creating a
character set which is 8x7 (EGA = 350 scanlines / 50 rows = 7 scanlines per row),
and load that with int 10h, ax=1100h.

OTOH, EGA *does* support 80x43, which can be loaded with int 10, ax=1102h.  This
will also load 80x50 on a VGA (VGA text = 400 scanlines / 8 scanlines per row = 50
rows).

If you're using the Crt unit in your program, it's simple enough to do this:

  textmode (c80+font8x8);

Quote

> >    grthnx Paeblow,
> >       leader of the -> Digital Decay Group <-
> >       p.h.j.kui...@student.utwente.nl

> >"School maakt meer kapot dan drank weer goed kan maken..."

--
Scott Earnest                      | _,-""-_,-""-_,-""-_,-""-_,-""-_,-" |
set...@ix.netcom.com (primary)     | We now return you to our regularly |
siny...@{*word*104}space.org (alternate) | scheduled chaos and mayhem. . . .  |

Re:EGA Text mode 80*50?


begin
textmode (co80+font8x8);
end.

Re:EGA Text mode 80*50?


Quote
Paeblow wrote:

> How do i put my text mode in a higher res (80x50 or was it 80x60?)?

>     grthnx Paeblow,
>        leader of the -> Digital Decay Group <-
>        p.h.j.kui...@student.utwente.nl

> "School maakt meer kapot dan drank weer goed kan maken..."

With EGA you can only work with 80x43, while with VGA card, you can work
with 80x50. The procedure is

textmode(C80 + font8x8); which font8x8 is pre-defined as a value of 128.

Other Threads