revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / AHI / Drivers / Common / MODEFILE.s
blob99658245ad468a96dfe824b778dfad044708633d
2 .MACRO LONG num
3 .ifdef LITTLE_ENDIAN
4 .byte ((\num)>>24)&255
5 .byte ((\num)>>16)&255
6 .byte ((\num)>> 8)&255
7 .byte ((\num)>> 0)&255
8 .else
9 .long \num
10 .endif
11 .ENDM
13 .MACRO LONG2 num1,num2
14 .ifdef LITTLE_ENDIAN
15 .byte ((\num1)>>24)&255
16 .byte ((\num1)>>16)&255
17 .byte ((\num1)>> 8)&255
18 .byte ((\num1)>> 0)&255
20 .byte ((\num2)>>24)&255
21 .byte ((\num2)>>16)&255
22 .byte ((\num2)>> 8)&255
23 .byte ((\num2)>> 0)&255
24 .else
25 .long \num1, \num2
26 .endif
27 .ENDM
29 .MACRO FORM_START name
30 .ascii "FORM"
31 LONG FORMEND-FORMSTART
32 FORMSTART:
33 .ascii "\name"
34 .ENDM
36 .MACRO FORM_END name
37 FORMEND:
38 .balign 2,0
39 .ENDM
41 .MACRO CHUNK_START name
42 .ascii "\name"
43 LONG 101f-100f
44 100:
45 .ENDM
47 .MACRO CHUNK_END
48 101:
49 .balign 2,0
50 .ENDM
52 .SET AHI_TagBase, 2147483648
53 .SET AHI_TagBaseR, AHI_TagBase+32768
55 .SET AHIDB_AudioID, AHI_TagBase+100
56 .SET AHIDB_Volume, AHI_TagBase+103
57 .SET AHIDB_Panning, AHI_TagBase+104
58 .SET AHIDB_Stereo, AHI_TagBase+105
59 .SET AHIDB_HiFi, AHI_TagBase+106
60 .SET AHIDB_MultTable, AHI_TagBase+108
61 .SET AHIDB_Name, AHI_TagBaseR+109
62 .SET AHIDB_MultiChannel, AHI_TagBase+144
63 .SET AHIDB_PingPong, AHI_TagBase+107
65 .SET AHIDB_UserBase, AHI_TagBase+500
67 .SET TAG_DONE, 0
69 .SET TRUE, 1
70 .SET FALSE, 0