ROM codes problem with PCE, TG16

General Chit-Chat about MAME and other emulators.
Post Reply
User avatar
VisitntX
Posts: 28
Joined: Tue Apr 29, 2008 8:37 pm
Location: Buenos Aires, Argentina

ROM codes problem with PCE, TG16

Post by VisitntX »

Pugsy can you lend my a hand with this one?

I tried the workaround and it works perfect, tested the codes with Magicengine, and they work fine. Now after I finished my tests wanted to start testing MESS to start to check the cheat file. The problem is that I can't make ROM codes to work for PCE and TG16. I tested NES and Genesis and they work perfect. For TG16 I even tried all MPRs. Probably is something stupid I'm missing.

BTW, posted this here cuz didn't know where to start this thread.
Dizzy my future, silly my way.
Genesis XML Files
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 16 times
Contact:

Post by Pugsy »

Have a look at some of your ROM cheats in the TG16 cheat file that I converted, eg the Invincibility cheat for R-TYPE (J):-

Code: Select all

; [ PCE/TG16 : R-TYPE (J) {CEC3D28A} ]
:tg16:CEC3D28A:60000000:000000:00000000:00000000:-= R-TYPE (J) =-
:tg16:CEC3D28A:00000000:1F0142:00000003:FFFFFFFF:Infinite Lives
:tg16:CEC3D28A:A0800000:002347:0000008D:FFFFFFFF:Invincibility::Code by VisitntX
:tg16:CEC3D28A:A0810000:00234A:000000D0:FFFFFFFF:Invincibility (2/2)
Basically you need to make sure Location = Program Space, rather than Normal or Region. So for a simple byte ROM cheat the type field should be A0800000. I've already converted pretty much all of your RAM/ROM cheats though.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
User avatar
VisitntX
Posts: 28
Joined: Tue Apr 29, 2008 8:37 pm
Location: Buenos Aires, Argentina

Post by VisitntX »

Thanks Pugsy, I will take a look right now.

Yes, you converted all my codes that were made for Mednafen, but when I was converting the codes for ME found some games that needed a more proper Invincibility and I made some more codes then. It's not a huge collection of new codes, but some are pretty nice to add.

Again thanks.
Dizzy my future, silly my way.
Genesis XML Files
User avatar
VisitntX
Posts: 28
Joined: Tue Apr 29, 2008 8:37 pm
Location: Buenos Aires, Argentina

Post by VisitntX »

Ok, now I remember how I found my codes for Mednafen. I used ultraedit to find the location in the ROM.

But thanks god I finaly found the doc that explain how memory is mapped.

If someone is interested:
http://patpend.net/technical/tg16/
Dizzy my future, silly my way.
Genesis XML Files
Post Reply