19 January 2013, 10:50 | #1 |
Gets there in the end...
Join Date: Sep 2005
Location: Wales
Posts: 879
|
Blitz MOD compare proggy not working
Hi guys,
I'm obviously doing something very silly here, this program should just show the difference between two MOD files. I've only changed the first pattern pointer otherwise the MOD should be identical. Instead it's reporting every byte as being different. It even does it if I use the same file for both modules! Code:
; this is supposed to compare 2 MOD files... LoadModule 0,"jh:sfx/mod.jet-music" LoadModule 1,"jh:sfx/mod.jet-music2" ad.l=Addr Module(0) ad2.l=Addr Module(1) For a=0 To 500 p1.b=Peek.b(ad+a) p2.b=Peek.b(ad2+a) If p1<>p2 Then NPrint a," - ",p1," - ",p2 Next MouseWait Free Module 0 Free Module 1 End |
19 January 2013, 11:05 | #2 |
Gets there in the end...
Join Date: Sep 2005
Location: Wales
Posts: 879
|
Argh, it was silly,
Code:
ad.l=Peek.l(Addr Module(0)) ad2.l=Peek.l(Addr Module(1)) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KyroFlux - How might it compare to the CatWeasel? | Narf the Mouse | project.SPS (was CAPS) | 10 | 28 May 2011 20:19 |
ADF/ADZ compare tool? | the wolf | request.Apps | 3 | 17 October 2010 18:34 |
What version of DX did the AGA compare to? | methodman | Retrogaming General Discussion | 8 | 22 May 2010 09:02 |
Name a music player proggy | Mike UK | Looking for a game name ? | 2 | 12 April 2007 22:41 |
|
|