Jump to content
  • 0

Debugging in the emulator


visrealm
 Share

Question

G'day.

I'm not sure how I got this far without it, but I'm getting to a stage where some form of debugger would help. I'm a complete newbee when it comes to assembly programming, so this might be obvious to others.

Currently, I've been resorting to outputting raster numbers, or hard-coding a brk. But, I've not found a reliable way to set a breakpoint and query registers or memory addresses. I assume due to my game using RAM or VRAM needed by the monitor when it breaks out.

"There must be there a better way?" *I'm in black and white, my hair all frizzy*

Those who are developing games in assembly... how are you debugging them?

Cheers

Troy

  • Like 2
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Thanks, Matt.

I should have... read the documentation 🤦‍♂️

I've had a quick look at it. Inserting $ff works as it says it should.  Looks great😃  Much better than what I was trying to do.

I expect a significant increase in productivity now.😎

Cheers

Troy

  • Like 1
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.

Guest
Answer this question...

×   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.

 Share

×
×
  • Create New...

Important Information

Please review our Terms of Use