Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

drawing boxes and enlarged text graphics

2 views
Skip to first unread message

Gerald

unread,
May 28, 2002, 2:45:20 AM5/28/02
to
I need to make an interface for a dos 6.22 C program for some low end
computers with lousy graphics card. the standard text display is too small
so I need to draw my own text. Can someone guide me how to do this? In unix
I can use curses but I am not sure what utilities to use in dos.


Gerald

unread,
May 28, 2002, 5:29:52 AM5/28/02
to
forgot to mention using turbo C
I guess I will have to go back to defining arrays for each char to fill up
the screen with alphabets


"Gerald" <jh...@SingaporeMail.Com> wrote in message news:...

Gabriele Neukam

unread,
May 28, 2002, 3:25:22 PM5/28/02
to
On the illustrous day Tue, 28 May 2002 17:29:52 +0800, Gerald,
jh...@SingaporeMail.Com said...

> forgot to mention using turbo C
> I guess I will have to go back to defining arrays for each char to fill up
> the screen with alphabets

There are some generic video resolutions according to the VESA standard,
that should solve your problem. You can switch the display from 25 rows
with 80 characters to something like 43 rows with 80 characters.

The standard DOS command for increasing the number of lines on the screen
is

mode con lines=43

Follow-Up set to alt.msdos


Gabriele Neukam

Gabriel...@t-online.de


--
"Mom, there is a spider in the bathroom!"
"Are you sure?" - "Yes!"
"How many legs has it got?"
"I can't tell - but they are all dangling from a thread!" (c): RL

Gerald

unread,
Jun 3, 2002, 6:05:02 AM6/3/02
to
I would like to create a install.bat that will add a line to autoexec.bat to
call my program. However this line will not be added if it already exists.
May I know how do I go about writing my install.bat file? any help would be
greatly appreciated!


Tony Richardson

unread,
Jun 3, 2002, 2:17:17 PM6/3/02
to
"Gerald" <jh...@SingaporeMail.Com> wrote in message news:<191C91BDFE8ED411B844...@pfs21.ex.nus.edu.sg>...

How about something like:

find "call myprogram" autoexec.bat > NUL
if not errorlevel 1 goto end
REM call myprogram line not found, append it to autoexec.bat
echo call myprogram >> autoexec.bat
:end

0 new messages