Search found 334 matches

by Bosco
Fri Apr 20, 2018 10:49 pm
Forum: Dragon General
Topic: LWTOOLS 4.15 - Windows Binaries
Replies: 2
Views: 5009

Re: LWTOOLS 4.15 - Windows Binaries

Great stuff!

Thanks tormod. :D :D :D
by Bosco
Tue Apr 17, 2018 1:33 pm
Forum: Dragon General
Topic: LWTOOLS 4.15 - Windows Binaries
Replies: 2
Views: 5009

LWTOOLS 4.15 - Windows Binaries

Has anyone here built Windows binaries for the latest version of LWTOOLS (4.15)?

I don't have the tools or know-how to do it myself. :oops:
by Bosco
Tue Apr 17, 2018 1:19 pm
Forum: Dragon General
Topic: XRoar - Windows 10 64-bit
Replies: 17
Views: 11353

Re: XRoar - Windows 10 64-bit

@sixxie - Thanks for all the time and effort you put into updating XRoar.

The latest snapshot build runs flawlessly for me. :D :D
by Bosco
Mon Apr 02, 2018 10:25 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Re: Debugging Advice

Thanks Stew. :D
by Bosco
Mon Apr 02, 2018 8:49 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Re: Debugging Advice

Thanks Rob. :) A debugger is definitely a valuable tool when staring at your code doesn't yield any results. It does feel a bit like cheating though, like using reference books to solve a crossword puzzle rather than just what's between your ears. :lol: Btw, do you know if the MAME debugger can be i...
by Bosco
Mon Apr 02, 2018 5:05 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Re: Debugging Advice

CRASH BUG FIXED!! :D Playing with MAME's debugger I could see the program counter was shooting off into BASIC rom when the game crashed. But I could also see using a memory window onto my Sprite data structure that all of the associated sprite pointers looked fine. So I started a trace just before a...
by Bosco
Sun Apr 01, 2018 10:57 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Re: Debugging Advice

Thanks guys. Some great advice there. :D Spamming registers, addresses etc. to the screen is a technique I do use a lot along with disabling whole sections of code to corner a bug. In fact this is usually enough and on this occasion has enabled me to focus my search on one area of specific interest....
by Bosco
Sat Mar 31, 2018 10:10 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Re: Debugging Advice

Thanks Rob. :)

So if you were trying to find the code which executed immediately prior to a crash would you use the `trace' command or maybe `tracelog' to track the pc register?

Or is there a better way?
by Bosco
Sat Mar 31, 2018 8:35 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Re: Debugging Advice

Hi Simon.

So MAME sounds like a good place to start. I see there's documentation online regarding MAME's debugger commands.

I'm still unsure what strategy to use to build up a picture of what's happening immediately before a crash though?
by Bosco
Sat Mar 31, 2018 6:58 pm
Forum: Dragon General
Topic: Debugging Advice
Replies: 14
Views: 11358

Debugging Advice

Hi everyone. I'm trying to track down an occasional crash bug in my game code. The problem is it's quite hard to reproduce and when the game does freeze it's not obvious why? It seems likely that under certain conditions a pointer is being corrupted but to narrow the search I'm thinking it might be ...