Par exemple, je n'ai dû changer que cela entre
Auto Alpha-Lock Off 1.11 et 1.12:
$ diff -u oldb/autoaoff.asm autoaoff.asm
--- oldb/autoaoff.asm Sun Sep 15 13:50:36 2002
+++ autoaoff.asm Fri May 23 20:11:52 2003
@@ -1,5 +1,5 @@
-;Auto Alpha-Lock Off 1.11
-;Copyright (C) Kevin Kofler, 2000-2002
+;Auto Alpha-Lock Off 1.12
+;Copyright (C) Kevin Kofler, 2000-2003
;please read the readme file before using this file
;Please DO NOT distribute modified versions without my
;permission!
@@ -55,7 +55,10 @@
bra amsok
not205:
cmp.b #'B',AMSversion ;check if 2.08
+ beq is208
+ cmp.b #'C',AMSversion ;check if 2.09
bne amsnotok
+is208:
move.l #$64e5,alphalock ;adjust addresses
move.l #$415a,wrongpos
amsok: ;compatible AMS version
@@ -183,7 +186,7 @@
useralpha: dc.b 0
endevent:
-installedST: dc.b 'Auto',128,'Off 1.11 by Kevin Kofler installed',0
+installedST: dc.b 'Auto',128,'Off 1.12 by Kevin Kofler installed',0
ams1ST: dc.b 'ERROR: no auto-',128,'lock to disable on AMS1',0
amsnotokST: dc.b 'ERROR: incompatible AMS version',0
nomemST: dc.b 'ERROR: not enough memory',0