Page 1 of 1

CBM Prg Studio

Posted: Thu Sep 01, 2011 10:15 pm
by PhilRanger
Hi,

I'm using the new CBM Prg Studio for an assembler project. It is GREAT compared to developping directly on the VIC (far better editing, tools for screen and custom characters, etc. + if the vic crashes I loose nothing + very fast saves and compiles!) Some questions:

1- I'd like to divide my project in several assembly files, but since thier size are variable at least during the development stage, I can't specify the beginning address for each file, only the first one. Anyone knows how I could still split the code (not on the vic, but the source files in CBM Studio)

2- Can I just add a file for my redefined characters and specify address 7168 for it? What would happen with the hole between the end of my program and this address? Even if it would store unuseful stuff on tape/disk, can I even load in the basic area and in 7168++ from the same file?

Thanks!

Posted: Fri Sep 02, 2011 3:17 pm
by ajordison
Hi Phil,
First, you need to specify the start address in one of your project files. Then, change the build order (project, then properties from the build menu) then 'change assembly build order'. Make sure that the file with the start address is file number one then arrange the other files in your project as you need.

After that, bring up the prg studio configuration, select the 'assembler' section and then click 'Use specified build order'. This tells prg studio to just assemble all the files into one prg with no 'padding' bytes between them.

To answer your second question, you can set a start address in the character data file but you have to change the assembler option back to 'Determine build order...' so that prg studio uses the address.

Hope that helps. If not let me know.

Cheers