home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
telefisk.org
/
amiga_virus_collection_research.7z
/
VIRUSRESEARCH
/
ZAKAPIOR
/
POOLMEM
/
PGS_PATCHMEM.ASM
< prev
next >
Wrap
Assembly Source File
|
1999-07-14
|
2KB
|
63 lines
; IRA V1.02 (Sep 6 1993) (c)1993 Tim Ruehsen
ABSEXECBASE EQU $4
SECTION S_0,CODE
SECSTRT_0:
MOVEA.L (ABSEXECBASE).W,A6 ;00: 2C780004
MOVEA.L A6,A1 ;04: 224E
MOVEA.L #$FFFFFF3A,A0 ;06: 207CFFFFFF3A
LEA LAB_0003(PC),A2 ;0C: 45FA003E
MOVE.L A2,D0 ;10: 200A
JSR -132(A6) ;12: 4EAEFF7C
JSR -420(A6) ;16: 4EAEFE5C
LEA LAB_0001(PC),A0 ;1A: 41FA0028
MOVE.L D0,(A0) ;1E: 2080
MOVEA.L A6,A1 ;20: 224E
MOVEA.L #$FFFFFF2E,A0 ;22: 207CFFFFFF2E
LEA LAB_0004(PC),A2 ;28: 45FA004A
MOVE.L A2,D0 ;2C: 200A
JSR -420(A6) ;2E: 4EAEFE5C
LEA LAB_0002(PC),A0 ;32: 41FA0014
MOVE.L D0,(A0) ;36: 2080
JSR -138(A6) ;38: 4EAEFF76
LAB_0000:
MOVEQ #0,D0 ;3C: 7000
JSR -318(A6) ;3E: 4EAEFEC2
BRA.S LAB_0000 ;42: 60F8
LAB_0001:
ORI.B #$00,D0 ;44: 00000000
LAB_0002:
ORI.B #$00,D0 ;48: 00000000
LAB_0003:
MOVEM.L D5/A0/A3,-(A7) ;4C: 48E70490
MOVE.L D0,D5 ;50: 2A00
ADDI.L #$00000044,D0 ;52: 068000000044
MOVEA.L LAB_0001(PC),A0 ;58: 207AFFEA
JSR (A0) ;5C: 4E90
ADDI.L #$00000040,D0 ;5E: 068000000040
MOVEA.L D0,A3 ;64: 2640
ADDA.L D5,A3 ;66: D7C5
MOVE.L #$ABCDEF42,(A3) ;68: 26BCABCDEF42
MOVEM.L (A7)+,D5/A0/A3 ;6E: 4CDF0920
RTS ;72: 4E75
LAB_0004:
MOVEM.L A0/A3,-(A7) ;74: 48E70090
MOVEA.L A1,A3 ;78: 2649
ADDA.L D0,A3 ;7A: D7C0
CMPI.L #$ABCDEF42,(A3) ;7C: 0C93ABCDEF42
BNE.S LAB_0005 ;82: 660C
SUBA.L #$00000040,A1 ;84: 93FC00000040
ADDI.L #$00000044,D0 ;8A: 068000000044
LAB_0005:
MOVEA.L LAB_0002(PC),A0 ;90: 207AFFB6
JSR (A0) ;94: 4E90
MOVEM.L (A7)+,A0/A3 ;96: 4CDF0900
RTS ;9A: 4E75
END