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