Search Posts:

converting files from ascii to PRG

SHARE

Return to Threads

  converting files from ascii to PRG by Bill Degnan - 09/06/2009 22:35
Let's say you write, scan, or transfer somehow an ASCII file that contains a BASIC program. How do you get it to your Commodore?

Here is how I do it. The files are here

1. Start with an ASCII listing of your BASIC program. Save it as "myfile.txt"

2. Download all of the files from TOK64 to your PC (MS Windows)

3. This command will copy your code to PRG format

TOK64 /toprg myfile.txt

If that does not work, you may have to type TOK64 /list to see all commands.

4. The program will convert the ASCII program to Commdore PRG

5. Use D64 Editor to pack the PRG file you created (MYFILE.PRG (and any others you may wish to add) into a single disk image. You can start by creating an empty 64 image and then import MYFILE.PRG into it.

6. I use MM64 with RR-net option to write .D64 image to diskette. The files and instruction that you need to set up your MM64 and RR-net are here

7. Test. If your program works but the text is in the form of Commodore ascii graphics characters, add this command at the Commdore prompt

POKE 53272,23 (lower case chars)



Reply

Resources:


Buy a Commodore Computer Poster

Popular Topics and FAQs


  • TM990/101 M
  • Altair 8800bt notes
  • TRS 80 Model 4 Engineering Sample
  • Altos 5-5AD
  • Morrow Wunderbuss Motherboard - Fried!
  • Epson PX-8
  • C64 emulator to run on PC
  • Mac 128K with SAD MAC error 041800
  • IMSAI 8080 With Processor Tech. Cutter
  • Secrecy is the keystone of all tyranny
  • Cromemco System Three
  • Commodore "Coherent"
  • Exatron Stringy Floppy Update
  • TM 990/189 or PP189
  • Lanier Word Processor Model 103
  • Univac 1219 rescue
  • IMSAI 1.4 BASIC vs. MITS 8K BASIC
  • Atari 520ST
  • DEC Information Request Reply Card
  • Amiga 2500 Restoration
  • IBM XT sn 4359455
  • Amiga 2000 with Dual Drives and HD
  • A New 68000 CPU S-100 Board
  • Edmund Scientific Co Ad 1973
  • Micropolis 10xx Drive Inventory
  • Texas Instruments 99/4a with PHP1200
  • MITS Altair 8800b T with Dual Drives
  • Burroughs L5000 Controller Card Photos
  • Digital PDP 11/44
  • TRS 80 Model III Exatron Stringy Floppy
  • Digital PDP-9 The Serious Computer
  • Live long and prosper, Spock
  • PDP 11/40 M7656 Serial Comms
  • 1993 Compaq Deskpro 5/60M
  • 1974/5 TCC-3700 i8080 Computer
  • Processor Tech 3P + S ASR 33 Jumpers
  • Tektronix 4015-1 Graphics Terminal
  • Lear Siegler ADM-3A GraFix Board
  • UNIVAC 1219 USS Midway CV-41
  • Commodore VIC-21
  • Prevent VMS MULTINET SMTP Relay Hijacks
  • NExT Cube Restoration
  • 1976 P.C.C. Features the MAI JOLT 6502
  • 1961 Beckman DEXTIR Computer
  • UNIVAC 1 and UNIVAC File Computer 1
  • Computer Music Using the IBM 7094
  • 1985 PCs Limited Turbo PC
  • Digital Equipment Corporation PDP-8
  • IMSAI 8080 Chase the Lights Variations
  • XYBASIC on the IMSAI 8080
  • Cromemco Dazzler
  • Cramer Intel 8080A Microcomputer
  • Original ACHTUNG Computer Lab Humor
  • Leading Edge Computers
  • Past Issues:


    writer screen

    This image was selected at random from the archive. Click image for more photos and files from this set.