![]() |
![]() |
#1 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
![]()
Hello Amiga People,
I'm using an A500 with kick 1.3 and an Action Replay III module. I love finding the memory addresses for lives, energy, etc. in games, and NOP out the opcodes. I feel very creative when I do that.. ![]() But I have a problem with Carrier Command, and the fuel gauges. For example, the fuel for the Manta 1 (aircraft 1), is located at 490 and 491 (in my version of the game) with a maximum value of respectively 7F and FF - that is when the tank is full. But I can NOT find anything that messes with those addresses. I tried finding it with the FA command on addresses 48E, 48F, 490 an 491 - it finds nothing. I have also tried to insert breakpoints on the same addresses, but they do not trigger, even if I alter the amount of fuel manually in the game. The values change on those addresses when I do that, so why doesn't it trigger the breakpoints? And why the h*ll are there no opcodes?? ![]() -Brian Last edited by Thrash911; 18 May 2007 at 12:21. Reason: just minor error, edited 1 minute after posting.. |
![]() |
![]() |
#2 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 43
Posts: 2,351
|
When you said using "breakpoints" on the address - you meant "memory watchpoints" didn't you?
If you set a watchpoint on the fuel address it should trigger near the instruction that changes it. |
![]() |
![]() |
#3 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Damn.. Yes, it triggers with the watchpoints! My bad. So.. When it freezes due to the watchpoint, and I use D command (disassemble), it starts at the exact point where execution stopped, right?
|
![]() |
![]() |
#4 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 43
Posts: 2,351
|
No.. it's not exact. It may be a few instructions after. But it's pretty near.
Makes the machine run shit slow too while it's turned on ![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Can someone with a brilliant mind help me find the address(es) to NOP out, or otherwise change? How can I find it, when the FA command gives me nothing at all?
![]() -Brian |
![]() |
![]() |
#6 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
there is probably a sub command subtracting the fuel..
us the f command to search for sub (opcode is probably $0479) Code:
f 04 79 |
![]() |
![]() |
#7 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Thank you for helping.
Oh, those values can represent assembler commands? That's neat. But that's a no go. It returns no results at all.. So.. What can be done now? |
![]() |
![]() |
#8 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
i'll have a look, my offsets sem diff tho, and i can't be bothered searching soooooo what's your config for winuae?
|
![]() |
![]() |
#9 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Hmm.. I was using a regular A500.
![]() |
![]() |
![]() |
#10 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
pick one.. i have complete tosec and some..
|
![]() |
![]() |
#11 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Oki.
Carrier Command (1988)(Rainbird)[cr Defjam - CCS] On this version Manta 1 fuel is at 4AE and 4AF. When game starts they should be 7F and FF (max). |
![]() |
![]() |
#12 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
you could search for the address $04 $ae
fa 04ae |
![]() |
![]() |
#13 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Hmm.. In WinUAE, it gives this:
044780 CMP.L 000004AE.S,D7 But on my regular Amiga, it gives me nothing (when done on 0490, of course).. Why? hmm.. Well, what is CMP? Compare? |
![]() |
![]() |
#14 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
it's comparing the contents at that address with whatever value is in d7
what are the next few commands, one will be a branch |
![]() |
![]() |
#15 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Ok:
044784 LINEA 044786 CMP.B D6,D6 044788 LINEA 04478A LINEA 04478C LINEA 04478E BCLR D2,-425F(A0) 044792 LINEA A lot of LINEA's, whatever that is.. |
![]() |
![]() |
#16 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
that looks like crap data
|
![]() |
![]() |
#17 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
Do you have something different? But it all seems weird, because if it finds something with FA here, it should also find something with the other version of the game, right? I mean It's the same code in memory, just a little different offset? Or am I not thinking right?
|
![]() |
![]() |
#18 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
how do i play this bloody game?
I need to move |
![]() |
![]() |
#19 |
Registered User
Join Date: May 2007
Location: Denmark
Age: 48
Posts: 29
|
![]() Just make the little plane fly? Or do u want to move the whole carrier? |
![]() |
![]() |
#20 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
i dunno how to do anything..
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Carrier Command credits | Codetapper | HOL data problems | 5 | 12 April 2011 09:02 |
New Carrier Command | -=ARA=- | Retrogaming General Discussion | 12 | 18 September 2009 10:37 |
WTB: Carrier Command | Drac | MarketPlace | 0 | 05 July 2009 00:35 |
Carrier Command | BippyM | request.Old Rare Games | 1 | 17 November 2002 19:35 |
Carrier Command DOCS | Darkseid | request.Old Rare Games | 2 | 09 June 2002 22:03 |
|
|