Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _draw_loop_4pixels:
- mov.l r8,@-r15
- mov r5,r2
- mov.l r9,@-r15
- mov r6,r9
- mov.l r10,@-r15
- mov r6,r10
- mov.l r11,@-r15
- mov r6,r11
- mov.l r12,@-r15
- add #2,r2
- mov.w ymask,r1 ! 138c <_draw_loop_4pixels+0xb8>,r1 ! fff
- add #3,r11
- mov.l r13,@-r15
- mov r5,r13
- mov.l srcxmask,r8 ! 1390 <_draw_loop_4pixels+0xbc>,r8 ! 0 <_congoRomInfo>
- ! addresse de srcxmask
- add #1,r13
- mov.l r14,@-r15
- add #2,r10
- mov r5,r14
- add #1,r9
- add #3,r5
- and r1,r14
- and r1,r13
- and r1,r2
- shll8 r6
- and r5,r1
- shll8 r11
- shll8 r10
- shll8 r9
- add #-12,r15
- shll8 r2
- shll8 r1
- add r8,r11
- add r8,r10
- add r8,r9
- add r6,r8
- mov.w z256,r6 ! 138e <_draw_loop_4pixels+0xba>,r6 ! 100
- shll8 r14
- mov.l r2,@(4,r15)
- shll8 r13
- mov.l r1,@(8,r15)
- mov #0,r5
- mov.l r4,@r15
- nop
- loop:
- mov.b @r11+,r7
- mov r5,r12
- mov.l @(8,r15),r0
- extu.b r7,r7 !utile
- mov.b @r10+,r1
- add r0,r7
- mov.l @(4,r15),r4
- extu.b r1,r1
- mov.l bitmap,r0 ! 1394 <_draw_loop_4pixels+0xc0>,r0 ! 280000
- add r4,r1
- mov.b @r9+,r3
- shll8 r12
- mov.b @(r0,r7),r7
- extu.b r3,r3
- mov.b @(r0,r1),r1
- shll16 r7
- !extu.b r1,r1
- shll8 r7
- shll16 r1
- add r13,r3
- mov.b @r8+,r2
- add r7,r1
- mov.b @(r0,r3),r7
- extu.b r2,r2
- extu.b r7,r7
- shll8 r7
- add r14,r2
- add r7,r1
- mov.b @(r0,r2),r7
- add r12,r12
- mov.l @r15,r0
- extu.b r7,r7
- add r1,r7
- mov.l r7,@(r0,r12)
- dt r6
- bf.s loop ! 132c <_draw_loop_4pixels+0x58>
- add #1,r5
- nop
- nop
- add #12,r15
- mov.l @r15+,r14
- mov.l @r15+,r13
- mov.l @r15+,r12
- mov.l @r15+,r11
- mov.l @r15+,r10
- mov.l @r15+,r9
- rts
- mov.l @r15+,r8
- mac.l @r15+,@r15+
- !clrmac
- .align 4
- !zero: .long 0
- bitmap: .long 0x280000
- srcxmask: .long _srcxmask
- ymask: .word 0xfff
- z256: .word 0x100
- .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement