added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / exec / alerts.h
blob2b04cbae7407665d51377eb78594e574ad05901a
1 #ifndef EXEC_ALERTS_H
2 #define EXEC_ALERTS_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: alert numbers
9 Lang: english
12 /* General Types */
13 #define AT_Recovery 0x00000000 /* Alert that returns */
14 #define AT_DeadEnd 0x80000000 /* Alert that crashes */
16 /* General errors */
17 #define AG_NoMemory 0x00010000
18 #define AG_MakeLib 0x00020000
19 #define AG_OpenLib 0x00030000
20 #define AG_OpenDev 0x00040000
21 #define AG_OpenRes 0x00050000
22 #define AG_IOError 0x00060000
23 #define AG_NoSignal 0x00070000
24 #define AG_BadParm 0x00080000
25 #define AG_CloseLib 0x00090000
26 #define AG_CloseDev 0x000A0000
27 #define AG_ProcCreate 0x000B0000
29 /* 680x0 */
30 #define ACPU_BusErr 0x80000002
31 #define ACPU_AddressErr 0x80000003
32 #define ACPU_InstErr 0x80000004
33 #define ACPU_DivZero 0x80000005
34 #define ACPU_CHK 0x80000006
35 #define ACPU_TRAPV 0x80000007
36 #define ACPU_PrivErr 0x80000008
37 #define ACPU_Trace 0x80000009
38 #define ACPU_LineA 0x8000000A
39 #define ACPU_LineF 0x8000000B
40 #define ACPU_Format 0x8000000E
41 #define ACPU_Spurious 0x80000018
42 #define ACPU_AutoVec1 0x80000019
43 #define ACPU_AutoVec2 0x8000001A
44 #define ACPU_AutoVec3 0x8000001B
45 #define ACPU_AutoVec4 0x8000001C
46 #define ACPU_AutoVec5 0x8000001D
47 #define ACPU_AutoVec6 0x8000001E
48 #define ACPU_AutoVec7 0x8000001F
50 /* Libraries */
51 #define AO_ExecLib 0x00008001
52 #define AO_GraphicsLib 0x00008002
53 #define AO_LayersLib 0x00008003
54 #define AO_Intuition 0x00008004
55 #define AO_MathLib 0x00008005
56 #define AO_DOSLib 0x00008007
57 #define AO_RAMLib 0x00008008
58 #define AO_IconLib 0x00008009
59 #define AO_ExpansionLib 0x0000800A
60 #define AO_DiskfontLib 0x0000800B
61 #define AO_UtilityLib 0x0000800C
62 #define AO_KeyMapLib 0x0000800D
63 /* Devices */
64 #define AO_AudioDev 0x00008010
65 #define AO_ConsoleDev 0x00008011
66 #define AO_GamePortDev 0x00008012
67 #define AO_KeyboardDev 0x00008013
68 #define AO_TrackDiskDev 0x00008014
69 #define AO_TimerDev 0x00008015
70 /* Resources */
71 #define AO_CIARsrc 0x00008020
72 #define AO_DiskRsrc 0x00008021
73 #define AO_MiscRsrc 0x00008022
74 /* Miscellaneous */
75 #define AO_BootStrap 0x00008030
76 #define AO_Workbench 0x00008031
77 #define AO_DiskCopy 0x00008032
78 #define AO_GadTools 0x00008033
79 #define AO_Unknown 0x00008035
81 /* AROS Additions, start at 0x40 */
82 #define AO_ArosLib 0x00008040
83 #define AO_OOPLib 0x00008041
84 #define AO_HiddLib 0x00008042
86 /* exec.library */
87 #define AN_ExecLib 0x01000000
88 #define AN_ExcptVect 0x01000001
89 #define AN_BaseChkSum 0x01000002
90 #define AN_LibChkSum 0x01000003
91 #define AN_MemCorrupt 0x81000005
92 #define AN_IntrMem 0x81000006
93 #define AN_InitAPtr 0x01000007
94 #define AN_SemCorrupt 0x01000008
95 #define AN_FreeTwice 0x01000009
96 #define AN_BogusExcpt 0x8100000A
97 #define AN_IOUsedTwice 0x0100000B
98 #define AN_MemoryInsane 0x0100000C
99 #define AN_IOAfterClose 0x0100000D
100 #define AN_StackProbe 0x0100000E /* stack has wrong size */
101 #define AN_BadFreeAddr 0x0100000F
102 #define AN_BadSemaphore 0x01000010
104 /* dos.library */
105 #define AN_DOSLib 0x07000000
106 #define AN_StartMem 0x07010001
107 #define AN_EndTask 0x07000002
108 #define AN_QPktFail 0x07000003
109 #define AN_AsyncPkt 0x07000004
110 #define AN_FreeVec 0x07000005
111 #define AN_DiskBlkSeq 0x07000006
112 #define AN_BitMap 0x07000007
113 #define AN_KeyFree 0x07000008
114 #define AN_BadChkSum 0x07000009
115 #define AN_DiskError 0x0700000A
116 #define AN_KeyRange 0x0700000B
117 #define AN_BadOverlay 0x0700000C
118 #define AN_BadInitFunc 0x0700000D
119 #define AN_FileReclosed 0x0700000E
121 /* graphics.library */
122 #define AN_GraphicsLib 0x02000000
123 #define AN_GfxNoMem 0x82010000
124 #define AN_GfxNoMemMspc 0x82010001
125 #define AN_LongFrame 0x82010006
126 #define AN_ShortFrame 0x82010007
127 #define AN_TextTmpRas 0x82010009
128 #define AN_BltBitMap 0x8201000A
129 #define AN_RegionMemory 0x8201000B
130 #define AN_MakeVPort 0x82010030
131 #define AN_GfxNewError 0x0200000C
132 #define AN_GfxFreeError 0x0200000D
133 #define AN_GfxNoLCM 0x82011234
134 #define AN_ObsoleteFont 0x02000401
136 /* intuition.library */
137 #define AN_Intuition 0x04000000
138 #define AN_GadgetType 0x84000001
139 #define AN_BadGadget 0x04000001
140 #define AN_CreatePort 0x84010002
141 #define AN_ItemAlloc 0x04010003
142 #define AN_SubAlloc 0x04010004
143 #define AN_PlaneAlloc 0x84010005
144 #define AN_ItemBoxTop 0x84000006
145 #define AN_OpenScreen 0x84010007
146 #define AN_OpenScrnRast 0x84010008
147 #define AN_SysScrnType 0x84000009
148 #define AN_AddSWGadget 0x8401000A
149 #define AN_OpenWindow 0x8401000B
150 #define AN_BadState 0x8400000C
151 #define AN_BadMessage 0x8400000D
152 #define AN_WeirdEcho 0x8400000E
153 #define AN_NoConsole 0x8400000F
154 #define AN_NoISem 0x04000010
155 #define AN_ISemOrder 0x04000011
157 /* utility.library */
158 #define AN_UtilityLib 0x34000000
160 /* layers.library */
161 #define AN_LayersLib 0x03000000
162 #define AN_LayersNoMem 0x83010000
164 /* math.library */
165 #define AN_MathLib 0x05000000
167 /* ramlib.library */
168 #define AN_RAMLib 0x08000000
169 #define AN_BadSegList 0x08000001
171 /* expansion.library */
172 #define AN_ExpansionLib 0x0A000000
173 #define AN_BadExpansionFree 0x0A000001
175 /* diskfont.library */
176 #define AN_DiskfontLib 0x0B000000
178 /* icon.library */
179 #define AN_IconLib 0x09000000
181 /* gadtools.library */
182 #define AN_GadTools 0x33000000
184 /* audio.device */
185 #define AN_AudioDev 0x10000000
187 /* console.device */
188 #define AN_ConsoleDev 0x11000000
189 #define AN_NoWindow 0x11000001
191 /* gameport.device */
192 #define AN_GamePortDev 0x12000000
194 /* keyboard.device */
195 #define AN_KeyboardDev 0x13000000
197 /* trackdisk.device */
198 #define AN_TrackDiskDev 0x14000000
199 #define AN_TDCalibSeek 0x14000001
200 #define AN_TDDelay 0x14000002
202 /* timer.device */
203 #define AN_TimerDev 0x15000000
204 #define AN_TMBadReq 0x15000001
205 #define AN_TMBadSupply 0x15000002
207 /* cia.resource */
208 #define AN_CIARsrc 0x20000000
210 /* disk.resource */
211 #define AN_DiskRsrc 0x21000000
212 #define AN_DRHasDisk 0x21000001
213 #define AN_DRIntNoAct 0x21000002
215 /* misc.resource */
216 #define AN_MiscRsrc 0x22000000
218 /* bootstrap */
219 #define AN_BootStrap 0x30000000
220 #define AN_BootError 0x30000001
222 /* Workbench */
223 #define AN_Workbench 0x31000000
224 #define AN_NoFonts 0xB1000001
225 #define AN_WBBadStartupMsg1 0x31000001
226 #define AN_WBBadStartupMsg2 0x31000002
227 #define AN_WBBadIOMsg 0x31000003
228 #define AN_WBReLayoutToolMenu 0xB1010009
230 /* DiskCopy */
231 #define AN_DiskCopy 0x32000000
233 #define AN_Unknown 0x35000000
235 /* AROS Additions */
236 #define AN_Aros 0x40000000
237 #define AN_OOP 0x41000000
239 /* Hidd Subsystem */
240 #define AN_Hidd 0x42000000
241 #define AN_HiddNoRoot 0xC2000001 /* Could not create root device */
243 #endif /* EXEC_ALERTS_H */