Page 1 of 1

-Debugging a single CPU out of many

Posted: Fri Mar 23, 2018 10:04 am
by NivagSwerdna
I am a -debug newbie...

As a bit of arcade archaeology I am trying to experiment with the junofrst game and in particular looking at the way the sound processor works (mcu).

junofrst has a number of cpus (the main game, the z80 sound processor and a 8039(mcu) sound fx processor).

I would like to "focus mcu" and then communicate with it via setting two memory mapped latches... this seems do-able.

But... the running the other CPUs also run and they then overrun my experiments by writing to the latches (which causes a mcu irq).

Is it possible to run this game but suspend the cpus that are not of interest?

(I guess I could create a ROM set that has hard loops for the cpus which are not of interest but it would be nicer if I could suspend them).

Thanks in advance
Nivag

Re: -Debugging a single CPU out of many

Posted: Sun Mar 25, 2018 6:21 pm
by NivagSwerdna
I'm thinking of adding two debugger commands... suspend <cpu> and unsuspend <cpu> to achieve this.