TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: John Poltorak
from: Jonathan de Boyne Pollard
date: 1995-12-27 20:44:48
subject: OS/2 code

JP>
  > There are no equivalent ASCII characters which I can use. I have a DOS
  > program (but no source), which displays the screens
  > properly in full screen, and I would like to be able to do
  > the same thing in OS/2, but I have no idea how to code it.
JP>

  Before I start, I'll restate my opinion that going for a text-mode
  program will probably end up being harder in the long run than going
  for a PM program.

  With a PM program displaying teletext characters would simply be a
  matter of whipping up a custom font using the font editor, and writing
  the display logic (which will at most devolve into a succession of
  GpiCharStrAt calls).

  With a text-mode program you'll have to set up a custom VGA text-mode
  character set (VioSetFont is not the most heavily documented call in
  the VIO subsystem), and *require* full-screen, since custom character
  sets (obviously) will not operate in a window (i.e. when the display
  is in graphics mode).

JP>
  > I don't expect that I can use the Vio commands since I
  > think it will have to be full screen.
JP>

  Wrong way around.  All of the VIO calls are available to a full-screen
  text-mode program.  Only a subset are available to windowable
  text-mode programs.  The reason being (of course) that the calls to
  access the physical text-mode video buffer directly are prohibited to
  windowable text-mode programs.

  > JdeBP <
___
 X MegaMail 2.10 #0:

--- Maximus/2 3.00
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 440/4 141/209 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.