TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: JAMES GOLDBLOOM
from: DAVE NAVARRO
date: 1995-09-13 11:48:00
subject: Re: Alive?

JG>KK->  '|  This is a PB 3.1 program to convert an ANSI file to a PB 3.1
JG>Kurt, I think I was not clear enough.. deepest apolgies...
JG>First off, the PBWIZ library (and many others) already have ansi output
JG>to send the proper codes with ansiprint$ statements, etc., etc.
JG>Unfortunately, that is not at all what I asked.
JG>I want the ansi screens saved as OBJ, and linked into the main .exe during
JG>compilation, so the screen is in memory and can be called in a routine
JG>during runtime, without any external activity.
JG>I have some ideas with the C libraries and putscreen().... stay tuned,
JG>and of course, thank you for your excellent example anyway!
James,
On the PowerBASIC BBS you'll find a utility called BIN2OBJ which will
take *any* binary file of up to 32750 bytes and create an .OBJ which can
be linked into your application.  You can then access the data as a
single string.
The included examples shows how to convert a .BIN file created using
TheDraw and link that into your application and POKE$ it onto the
screen.
--Dave
---
 * QMPro 1.53 * Tried to play my shoehorn... all I got was footnotes!
--- WILDMAIL!/WC v4.12 
---------------
* Origin: Toast House * (314) 994-0312 * (1:100/560.0)

SOURCE: echomail via exec-pc

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™.