Subject: Re: [stella] struggling with vcs.h... From: "Andrew Davie" <atari2600@xxxxxxxxxxxxx> Date: Mon, 12 May 2003 23:24:22 +1000 |
Hi Manuel Thanks for the report and diagnosis. Sorry that my additions to VCS.H (or at least, my rewrite using a segmented methodology) caused you problems. I believe VCS.H is better this way - and some of us just have to be guinea pigs. I don't actually have any non-segmented code, so I took your word for it, and added a dummy SEG at the end of the file. New official versions are available at www.atari2600.org/dasm Cheers A ----- Original Message ----- From: "Manuel Polik" <cybergoth@xxxxxxxx> To: <stella@xxxxxxxxxxx> Sent: Monday, May 12, 2003 7:59 AM Subject: [stella] struggling with vcs.h... > Hi there! > > After this almost turned me into a nervous wreck, I > thought it's better to save others the trouble and tell > you about my discoveries. > > Well, it started harmless. I just wanted to use Glenns > asymetric PF template once more for some experiments > with PF graphics, when I found, that I was not able to > properly compile it anymore by any means. > > First I suspected the new DASM, but quickly found that > the old one produced the same result, a zero length > file. > > So, I tried this and that, analyzing all DASM output, > checking all symbols *manually*, trying this, trying > that. > > Well, finally after almost an hour, I found what causes > the troubles: ->Segments<- > > Well, so the new vcs.h starts defining segments. > > Once you start using segments, it seems like it is a > must to use segments for everything - and most of the > old sources simply don't do that, because they aren't > segmented at all. > > Well, I'm not sure wether the segments are required in > VCS.H or not or wether DASM should probably handle this, > but I found an easy fix: > > Just adding an additional segment like > SEG Bank0 > at the very end of VCS.h, seems to do the trick. > > Then according to my experiments, both unsegmented and > segmented sources seem to compile fine. > > I'm not sure, wether this is the ultimate solution > though. Maybe Andrew can further investigate... > > Greetings, > Manuel > > -------------------------------------------------------------------------- -------------------- > Archives (includes files) at http://www.biglist.com/lists/stella/archives/ > Unsub & more at http://www.biglist.com/lists/stella/ > > > ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[stella] struggling with vcs.h..., Manuel Polik | Thread | [stella] 5 year anniversary!, Andrew Davie |
[stella] struggling with vcs.h..., Manuel Polik | Date | Re: [stella] Scrolling RPG Engine, Fabrizio Zavagli |
Month |