Retro Coding Frenzy

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
User avatar
Partz
Baaaaa!
Baaaaa!
Posts: 1511
Joined: Tue Apr 23, 2002 8:46 pm 0
Location: Chippenham, Wiltshire

Post by Partz »

TMR wrote:
Partz wrote:So - i got some sprites and had a little thumble around - thanks to snakey and muttley for the mem grab bits. I used the monitor in winvice in the end but c64asm would not let me load in binary files unless they were in d64 format
That's a quirk of that sprite editor, it doesn't save PRG files out and that's all C64Asm can deal with; all y'need to do is add a low/high byte format load address at the start of the file and C64Asm can include it.
Yeah I figured it had to be something like that although in my case the data came from the monitor within winvice... did think about looking up the prg file format and sorting it that way. The sprite editor lets you view the sprite data I noticed - When I get to use this im thinking that i'll just cut and paste the data directly into my source file. Hmmm... I might just get an entry into the crap game contest yet :)
User avatar
TMR
Baaa!
Baaa!
Posts: 311
Joined: Thu Jan 01, 2004 4:44 pm 0
Location: Leeds, UK
Contact:

Post by TMR »

PRG isn't really a format as such, it's a two byte header for the load address stored in low/high format followed by binary. =-)
http://www.Oldschool-Gaming.com - 8bit reviews and resources
http://www.Cosine.org.uk - 8bit games, demos and tools
http://www.Cosine.org.uk/TMR - slightly scary stuff...!
Post Reply