Previous Thread
Next Thread
Print Thread
Joined: Aug 2020
Posts: 10
F
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 10
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: 378
H
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 378
99. Is that in decimal, hex or BCD?

Joined: Aug 2020
Posts: 10
F
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 10
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: 16,892
Likes: 51
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,892
Likes: 51
That cheat finder is deprecated; you're supposed to use the cheat Lua plugin, which is more capable.

Joined: Aug 2020
Posts: 10
F
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 10
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: 877
Likes: 7
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 877
Likes: 7
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
3 members (Dam0, MilanSK, 1 invisible), 21 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,072
Posts118,947
Members5,014
Most Online890
Jan 17th, 2020
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