C64 Program ("PRG") Editor...

Discussions of emulating the C64 in general - emulation techniques, facts and specifications about C64 hardware, etc.

Moderator: Håkan Sundell

Post Reply
Jim Agla
Posts: 1
Joined: Sat Apr 22, 2006 5:53 am

C64 Program ("PRG") Editor...

Post by Jim Agla »

I've been working on a Windows program to edit C64 PRG files. It supports Basic and ML programs. It is a work in progress and is by no means complete. While I am working on other portions of the editor, I would like a little testing by others and maybe a path to follow for features and requests. Any one interested? http://www.tech-forest.com
renegade X
Posts: 125
Joined: Tue Aug 03, 2004 4:06 pm
Location: FLA, USA

Post by renegade X »

Yeah I will check it out. Is this program going to be like the old C64 program called EX-DOS?
When is the C64 gonna make a comeback?! LOL
noguru
Posts: 4
Joined: Wed Jun 27, 2007 4:32 pm

Just a question about that project

Post by noguru »

Hi, I've just posted this under another topic. I wasn't able to check your PRG-File-Viewer, but propably you have a better understanding of the PRG-Files. I've tried to write sprite data, that I have calulated in a spreadsheet into a PRG-file, but the data wasn't successfully imported into CCS64-Machine Monitor with the LP command. I think it has to do with the PRG-File format or with the PUT-Command in my OpenOffice-Basic-Script.
Is there a way, to get byte data from any Windows App into the CCS64 "RAM"?

This was my original post:

Hi folks,
it's about 20 years ago, when I wrote my last code on the original C64. Now I'm about to write a small game within the CCS64 Emulator. I've created a spreadsheet in OpenOffice to design and let calulate the data for some sprites that I want to use in the game. These are 3 animation cycles for each of the 8 directions (N,NW,W,SE,et.), means 3 * 8 * 64 = 1,5 KB data to type in... I tried to save the data within a .prg-file to import the data with the LP command within the machine monitor, but that didn't work. I think, OpenOffice-Basic-Macros are coding the data with 16 instead of 8 bits per value or something like that, when writing them in a file with the PUT-Command. I don't want to type down all that data. Has someone an idea, how to import data from Windows applications into CCS64 (as a basic programm or direct memory import)?
greets & thanks, if someone could help!
noguru
Posts: 4
Joined: Wed Jun 27, 2007 4:32 pm

Now it works

Post by noguru »

Hi,

I've just re-analyzed the stuff. OpenOffice-Basic doesn't PUT 0-values into the binary files, so there are many values missing, when importing the data from the PRG-file. Solution: I wrote the same macro in VBA in Excel. Now everything works fine. If somebody's interested in the Excel-Sheet for Sprite-Calculation, just ask.
renegade X
Posts: 125
Joined: Tue Aug 03, 2004 4:06 pm
Location: FLA, USA

Post by renegade X »

noguru, I would love to see it. Can you please upload it on this thread?
When is the C64 gonna make a comeback?! LOL
Post Reply