LX.NET Posted October 4, 2012 Share Posted October 4, 2012 Hi everyone, I thought I'd try out the latest snapshot for CC65 (2.13.9.20121002-1) and recompile the PegSolitaire 1.3 sources. I've got it set up to compile under Visual Studio 2010/2012, but changing CC65 from the last known good working snapshot (2.13.9.20110618) to the latest snapshot makes it go from good to not working. Just some weird green vertically striped pattern, that I would have to look into before I know what it is about. Then I tried my Tiny Lynx Adventure. Same thing: the image doesn't work anymore, but different symptoms. Anyone know what the most significant changes are that could cause this? Thanks. 1 Quote Link to comment Share on other sites More sharing options...
SSG Posted October 4, 2012 Share Posted October 4, 2012 Dude what is CC65? Quote Link to comment Share on other sites More sharing options...
LX.NET Posted October 4, 2012 Author Share Posted October 4, 2012 It's the C compiler for 6502 family processors. See http://www.cc65.org Quote Link to comment Share on other sites More sharing options...
obschan Posted October 4, 2012 Share Posted October 4, 2012 Yep this is due to a small update in the directory, length and offset and not XORed anymore. Grab the new directory there : http://www.atariage.com/forums/topic/202655-cc65-loader/ Quote Link to comment Share on other sites More sharing options...
+karri Posted October 5, 2012 Share Posted October 5, 2012 The problem was that the old code had a maximum limitation on 7fff bytes. This did not work for LR and therefore I dropped the feature to have either negative or positive lengths. Sorry about the problem. Now all offsets and lengths must be positive. But the code size limit is gone! -- Karri Quote Link to comment Share on other sites More sharing options...
LX.NET Posted October 6, 2012 Author Share Posted October 6, 2012 Finally got it working. It turned out that I had an old PATH environment variable throwing bad stuff around. I understand the whole process of loading a lot better now. Some questions on things that I do not understand yet: In PegSolitaire there are symbols of __BANK1SIZE__ and __BANK7SIZE__. Where do these come from? How are the values for the sizes of BANK1 and 7 ($2A40 and $5A40) calculated? What is the way to do a "traditional" startup screen like in all commercial Lynx games? Would it involve decrypting, changing the secondary (commercial) loader and encrypting it again? Keep up the good work, Karri. This helps a lot. Quote Link to comment Share on other sites More sharing options...
+karri Posted October 6, 2012 Share Posted October 6, 2012 The easiest way is to not define the built in bootloader and built in default directory in the config file of the linker lynx.cfg. Then it works just like before. But you have to grab a bootloader and write the directory by yourself. The other way is to write a small intro that displays a title screen. - Karri Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.