English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 25 November 2010, 06:19   #1
MethodGit
Junior Member
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 36
Posts: 2,731
Anyone able to determine the code from this TMNT tutorial?

http://flashtro.com/page.php?id=189

Unfortunately it seems the most important screengrabs have gone through the worst JPEG compression routine known to mankind and have made it very tricky to see if one has typed in a key instruction correctly.

Furthermore, although I try my best, I notice that AR is refusing to accept "MOVEQ #FFFFFFFF,D1" as an instruction for unexplained reasons. I believe a similar problem exists in the Archer Maclean's Pool tutorial. According to what I see (by squinting reaaaaaaaalllly closely) at the screenshots, it's supposed to be accepted by ARIII, but seemingly not on my side.
MethodGit is offline  
Old 25 November 2010, 08:30   #2
Codetapper
2 contact me: email only!

Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,164
Do a search for two's complement.

The moveq instruction only works with limited numbers. If you try moveq #-1,d0 you will find it will work.

Please read the other thread and successfully crack an easy title (American Tag Team Wrestling) before starting another bunch of games.
Codetapper is offline  
Old 25 November 2010, 10:57   #3
pmc
gone
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Quote:
Please read the other thread and successfully crack an easy title (American Tag Team Wrestling) before starting another bunch of games.
Can I second that.

Just how many threads are gonna be opened in Coders Heaven all about "attempting to the defeat the protection on <insert another game name here>"...?

Do just one, learn from the experience, progress to the next and make use of what you learned previously.
pmc is offline  
Old 25 November 2010, 18:25   #4
MethodGit
Junior Member
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 36
Posts: 2,731
Well as it turns out all I have to do is input "MOVEQ #FF,D1" instead and it changes automatically. Should remember that MOVEQ is a two-byte command for next time.
MethodGit is offline  
Old 26 November 2010, 01:06   #5
Codetapper
2 contact me: email only!

Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,164
You are learning nothing from moveq #ff,d1 because that implies you are loading 255 into d1, when in actual fact you wanted to load negative 1!
Codetapper is offline  
Old 26 November 2010, 03:12   #6
MethodGit
Junior Member
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 36
Posts: 2,731
Why does AR change it into FFFFFFFF after you input it then?
MethodGit is offline  
Old 26 November 2010, 03:55   #7
Codetapper
2 contact me: email only!

Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,164
Because -1 in 2's complement (32 bit) is $ffffffff, which is a completely different number to $ff, which is 255 (32 bit). AR also removes $ signs too, so I wouldn't assume because AR does something that it's good/logical/correct.
Codetapper is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
GfxRip - My Tutorial Dj.Thunder project.Sprites 10 29 December 2012 23:42
Little help with tutorial code Nostalgeek Coders. General 30 19 September 2010 14:22
OS X eUAE Tutorial ElB support.OtherUAE 3 27 November 2008 22:50
TMNT Amiga Action poster Galaxy AMR contributions 3 18 October 2008 21:13
3D code and/or internet code for Blitz Basic 2.1 EdzUp Retrogaming General Discussion 0 10 February 2002 11:40

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.07936 seconds with 13 queries