Previous Thread
Next Thread
Print Thread
Joined: Aug 2020
Posts: 13
F
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 13
Hello,

I'm not able to find a specific value using debugger on Ikari warriors.

Example:
At maincpu@FDEB there is the ammo value for P1, that when game starts is set to 99.

If I try to find the above value using:
cheatinit
cheatnext eq,99
show 0 cheats.

by typing "cheatlist" it seems like address FDEB is out of range of possible addresses search, so this is why debugger never find that value.

Is there any explanation to this ?

Joined: Aug 2002
Posts: 386
Likes: 1
H
Senior Member
Online Content
Senior Member
H
Joined: Aug 2002
Posts: 386
Likes: 1
99. Is that in decimal, hex or BCD?

Joined: Aug 2020
Posts: 13
F
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 13
Tried with decimal and relative hex value. My guess is that for some reason debugger doesn't search on that memory address range by default (it stops at FC or before, I don't remember perfectly)

Joined: Mar 2001
Posts: 17,001
Likes: 93
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,001
Likes: 93
That cheat finder is deprecated; you're supposed to use the cheat Lua plugin, which is more capable.

Joined: Aug 2020
Posts: 13
F
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 13
Ok.

Do you know any doc for Lua debugger ?
The one on the official mame documentation looks a bit poor frown (I'd expect a command to search / write into registers)

Thank you

Last edited by Fstarred; 08/29/20 12:27 PM.
Joined: Jan 2012
Posts: 888
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 888
Likes: 17
The FDEB is in the tx_videoram region which is as you guessed out of range for the debugger cheatfinder. It's a bad case for the lua finder too because it won't automatically search it although it can be done. Here's a link with some info http://www.mamecheat.co.uk/forums/viewtopic.php?f=2&t=12625 .


Link Copied to Clipboard
Who's Online Now
2 members (Dam0, 1 invisible), 47 guests, and 0 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,185
Posts120,285
Members5,044
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com