Ninjabba, on Fri Apr 8, 2011 2:40 AM, said:
karri, on Tue Mar 15, 2011 1:49 PM, said:
Oh. And you can set __BLOCKSIZE__ to 512, 1024 or 2048 for creating cart images for 128k, 256k or 512k ROM's in the lynx.cfg file.
I constantly forget to ask, but I have a question regarding your 1.1 template which I am using for my project. Can I create a 512k ROM from that template? I'm currently around 170kb, but am constantly adding graphics. Would be a shame to hit 256k to find out that is the limit for the configuration of that template.
My template did not have a working encrypter bootloader for 2048 byte blocks carts. So you will get problems.
The new version should not have problems with 2048 byte blocks as the bootloader does not care about block sizes anymore.
So what you should do to convert is to grab the latest snapshot.
Pick the file $(CC65_HOME)/cfg/lynx.cfg
Add there your own segments so that it has the same content as your template cfg file.
Change the __BOOTLOADER__ variable to 2048.
The you probably have to delete everything from directory.s except the directory stuff itself and replace DEFDIR segment with your real directory.
After this the Make file should use the standard bootloader, standard lnx-header and your own directory structure.
But you need to delete yout title sprite from the directory entries.
If needed I can help with changes...
--
Regards,
Karri