Jump to content
IGNORED

Atari800win 4.0 monitor questions


Heaven/TQA

Recommended Posts

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 by Heaven/TQA
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...