TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Micah Yoder
date: 1994-07-04 17:36:08
subject: Text mode video RAM

Hi!

How do you access text mode video RAM in 32-bit OS/2?  I'm using
GNU's GCC/2 compiler, although I ordered Watcom 10 last week.  If
there are any differences, I'd like to know how to do it in both.

I know how to do it in DOS with Pascal - by directly writing to
addresses relative to $B800:0000.

I'm fairly new to both C and OS/2 programming, but if someone could
just write a simple program to display, say, a blue letter 'A' in
the fifth position of video memory, I think I could take it from
there.  Thanks!

Also, how do you move the cursor to a different location and change
the size of the cursor?  Do the INT 10h BIOS interrupts work in
OS/2 programs?  Thanks....
  
___
 X ATP/OS2 1.42 X The Clintonizer.  It keeps taxing and taxing and taxing....

--- Maximus/2 2.01wb

* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 12/2442 54/54 620/243 624/102 632/348 640/820 690/660 711/409 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 109/347 2 1 3615/50 229/2 12/2442 711/409 54/54 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™.