Ticket #2894: op96_set_instrument.txt

File op96_set_instrument.txt, 2.4 KB (added by cyxx, 14 years ago)

op96 disasm from dott imuse

Line 
1seg000:3612 op_96_set_instrument: ; CODE XREF: sysexHandler_Scumm+4Fj
2seg000:3612 les bx, [bp+p]
3seg000:3615 add word ptr [bp+p], 1
4seg000:3619 jnb loc_3620
5seg000:361B add word ptr [bp+p+2], 1000h
6seg000:3620
7seg000:3620 loc_3620: ; CODE XREF: sysexHandler_Scumm+3C1j
8seg000:3620 mov al, es:[bx]
9seg000:3623 and al, 0Fh
10seg000:3625 mov [bp+part], al ; p[0]&15
11seg000:3628 les bx, [bp+p]
12seg000:362B add word ptr [bp+p], 1
13seg000:362F jnb loc_3636
14seg000:3631 add word ptr [bp+p+2], 1000h
15seg000:3636
16seg000:3636 loc_3636: ; CODE XREF: sysexHandler_Scumm+3D7j
17seg000:3636 mov al, es:[bx]
18seg000:3639 and ax, 0Fh
19seg000:363C mov si, ax
20seg000:363E shl si, 4
21seg000:3641 les bx, [bp+p]
22seg000:3644 add word ptr [bp+p], 1
23seg000:3648 jnb loc_364F
24seg000:364A add word ptr [bp+p+2], 1000h
25seg000:364F
26seg000:364F loc_364F: ; CODE XREF: sysexHandler_Scumm+3F0j
27seg000:364F mov al, es:[bx]
28seg000:3652 and ax, 0Fh
29seg000:3655 or si, ax
30seg000:3657 shl si, 4
31seg000:365A les bx, [bp+p]
32seg000:365D add word ptr [bp+p], 1
33seg000:3661 jnb loc_3668
34seg000:3663 add word ptr [bp+p+2], 1000h
35seg000:3668
36seg000:3668 loc_3668: ; CODE XREF: sysexHandler_Scumm+409j
37seg000:3668 mov al, es:[bx]
38seg000:366B and ax, 0Fh
39seg000:366E or si, ax
40seg000:3670 shl si, 4
41seg000:3673 les bx, [bp+p]
42seg000:3676 mov al, es:[bx]
43seg000:3679 and ax, 0Fh
44seg000:367C or ax, si
45seg000:367E push ax
46seg000:367F mov al, [bp+part]
47seg000:3682 push ax
48seg000:3683 push [bp+imuse]
49seg000:3686 call imuse__part_set_instrument