Heaven/TQA Posted June 23, 2007 Share Posted June 23, 2007 (edited) i am hunting a nasty bug in my level generator routine of beyond evil. as the mapper should always recreate the same level. actually he does that but not when called twice right after each ones... (jsr generate_map jsr generate_map). which is strange as all (i think so) seed values for the random generator are set the same and all other vars are reseted so the map should be the same... i dont see why it shouldnt... now i have found the trace command in atari800win 4.0. can some of you explain how i use the debug features of atari800win 4.0? i traced all into text file but i would like to trace only the generator code and not the whole game... maybe you have some ideas (break point etc). actually i want to see what is different even on register level to get a clue... or what does the "profile" command do? thanks! Edited June 23, 2007 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted June 23, 2007 Share Posted June 23, 2007 Hi Heaven, Take a look at this thread: http://www.atariage.com/forums/index.php?showtopic=79825 Fox recommended the more 'unix' approach of pumping the output through a common tool in order to obtain the output you need. Having said that, the 4.0 'B' breakpoint implementation could be what you're after as it permits mulitple breakpoints (rather than the single breakpoint given bu the 'BREAK' command). You'd set this up with an OR command and assuming you've imported a label file would read something like: B PC=label_in OR PC=label_out When the first breakpoint is hit then use the TRON command and then the TROFF when the second label is reached. Regards, Mark Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted June 24, 2007 Author Share Posted June 24, 2007 my atari800win crashes when using breakpoints... i am trying atari++ now... 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.