| |
Released At :
Vintage Computing Carinthia $0B
Credits :
Download :
Look for downloads on external sites:
Pokefinder.org
Summary Submitted by wil on 15 November 2020
Probably everybody on csdb would agree that BASIC is the bestest programming language! So if you need to draw a nice PETSCII image and later want to use it in your BASIC program, this program is for you.
You first draw your PETSCII(s) with Marq’s execellent PETSCII Editor (http://www.kameli.net/marq/?page_id=2717). Marq’s PETSCII Editor saves a PETSCII natively in C program structure, but it can also export to a self-contained viewer as machine language program or as a BASIC program. However, the BASIC export is putting each byte into data line and is using a POKE for loop to display. This makes the program very large and takes ages to display, even if you are used to BASIC.
With the present program you can export a more compact and faster PRINT-based BASIC viewer from a PETSCII drawn with Marq’s PETSCII Editor and saved normally there as a .c file. Then you run the PETSCII2BASIC program to generate your BASIC program. It tries to make the program compact by avoiding unnecessary color changes or RVS ON/RVS OFF combinations. Furthermore, it provides the proper code to print quotes. With the BASIC option, it only generates the POKEs for background and foreground color and the PRINT statements. This mode is to be used if you want to write your own program around the result. When using the BASICPRG option, you get a viewer for the PETSCII(s) in BASIC. The program goes through a lot of trouble here to fill the last byte of a page correctly and adds code to wait for a keypress. There is also a mode where you PETSCII ends up as strings in DATA lines, however AFAIK there is no possibility to put quotes into strings in DATA arguments, therefore quotes are replaces by single quotes when using the data option. The generated code POKEs into 53280 and 53281. Other than that no memory addresses are used, so it should be agnostic to relocated screen memory.
I hope you find this program useful and I’m looking forward to forthcoming BASIC games made with it. |
|
|
|
| Search CSDb |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|