Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Vas Crabb #112519 02/07/18 04:46 PM
Joined: Mar 2001
Posts: 16,841
Likes: 45
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,841
Likes: 45
To be fair, knowing what memory location is going wrong could help to backtrace the issue if someone's bored enough.

R. Belmont #112521 02/07/18 10:35 PM
Joined: Feb 2004
Posts: 2,291
Likes: 19
Very Senior Member
OP Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,291
Likes: 19
Originally Posted by R. Belmont
To be fair, knowing what memory location is going wrong could help to backtrace the issue if someone's bored enough.


Location f68d is in the main CPU's NVRAM - it isn't even close to where the root cause is in the MCU program.

Vas Crabb #112522 02/08/18 12:30 AM
Joined: Mar 2001
Posts: 16,841
Likes: 45
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,841
Likes: 45
Sure, but one could find out where the CPU writes that and then how it determines that the MCU is telling it that. Clearly they didn't have people operating a PCB that gave out free games.

R. Belmont #112523 02/08/18 01:01 AM
Joined: Feb 2004
Posts: 2,291
Likes: 19
Very Senior Member
OP Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,291
Likes: 19
Originally Posted by R. Belmont
Sure, but one could find out where the CPU writes that and then how it determines that the MCU is telling it that. Clearly they didn't have people operating a PCB that gave out free games.


You'd be surprised - there was an arcade in Wollongong in the '90s that had a Golden Axe machine that gave three credits on power-up. The kids had worked this out and would power-cycle it when the attendant wasn't looking.

Vas Crabb #112527 02/08/18 03:51 AM
Joined: Dec 2012
Posts: 245
L
Senior Member
Offline
Senior Member
L
Joined: Dec 2012
Posts: 245
Seems like it's a bug with the game?

After zero-ing out that address, it does
Code
038F	ld	a,$01		3E 01
0391	ld	($F68D),a	32 8D F6

Then reads from that address and thus gives 1 credit.

EDIT: nvm. For some reason, the Z flag gets set on the main Z80 the third time it gets to
Code
035E: jr   z,$0368

where it then goes through a few subroutines, the first of which is the one mentioned above. This doesn't look to be an MCU issue, unless the MCU can affect the flags on the main CPU.

EDIT2: Well I'll be darned.
Code
- gladiatr and clones start with one credit due to the way MAME initialises
  memory and the dodgy code the bootleg MCUs use to synchronise with the host
  CPUs.  On an F3 reset they randomly start with one credit or no credits.

Last edited by LoganB; 02/08/18 04:28 AM.
Page 2 of 2 1 2

Link Copied to Clipboard
Who's Online Now
0 members (), 17 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,993
Posts118,153
Members5,005
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com