Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ROM:00001362 ; =============== S U B R O U T I N E =======================================
- ROM:00001362
- ROM:00001362
- ROM:00001362 LoadSecGraphic: ; CODE XREF: sub_3C96+22p
- ROM:00001362 ; RunSecurityCode+52p
- ROM:00001362 asl.w #2,d2
- ROM:00001364 subq.w #1,d2
- ROM:00001366 lea ($C00000).l,a5
- ROM:0000136C move.l d0,4(a5) ; Set VRAM write to $2000
- ROM:00001370 move.l d1,-(sp) ; Backup d1
- ROM:00001372
- ROM:00001372 ProcessData: ; CODE XREF: LoadSecGraphic+26j
- ROM:00001372 move.w (a1)+,d1
- ROM:00001374 bsr.s GetByteRef
- ROM:00001376 bsr.s ShiftByteLeft
- ROM:00001378 bsr.s ShiftByteLeft
- ROM:0000137A bsr.s ShiftByteLeft
- ROM:0000137C move.l d3,(a5)
- ROM:0000137E bsr.s GetByteRef
- ROM:00001380 bsr.s ShiftByteLeft
- ROM:00001382 bsr.s ShiftByteLeft
- ROM:00001384 bsr.s ShiftByteLeft
- ROM:00001386 move.l d3,(a5)
- ROM:00001388 dbf d2,ProcessData
- ROM:0000138C move.l (sp)+,d1
- ROM:0000138E rts
- ROM:0000138E ; End of function LoadSecGraphic
- ROM:0000138E
- ROM:00001390
- ROM:00001390 ; =============== S U B R O U T I N E =======================================
- ROM:00001390
- ROM:00001390
- ROM:00001390 ShiftByteLeft: ; CODE XREF: LoadSecGraphic+14p
- ROM:00001390 ; LoadSecGraphic+16p ...
- ROM:00001390 rol.l #8,d3
- ROM:00001390 ; End of function ShiftByteLeft
- ROM:00001390
- ROM:00001392
- ROM:00001392 ; =============== S U B R O U T I N E =======================================
- ROM:00001392
- ROM:00001392
- ROM:00001392 GetByteRef: ; CODE XREF: LoadSecGraphic+12p
- ROM:00001392 ; LoadSecGraphic+1Cp
- ROM:00001392
- ROM:00001392 arg_0 = 4
- ROM:00001392
- ROM:00001392 rol.w #2,d1
- ROM:00001394 move.w d1,d4
- ROM:00001396 andi.w #3,d4
- ROM:0000139A move.b 4(sp,d4.w),d3
- ROM:0000139E rts
- ROM:0000139E ; End of function GetByteRef
- ROM:0000139E
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement