1 #ifndef EXEC_ALERTS_H 2 #define EXEC_ALERTS_H 3 4 /* 5 exec alert definitions (V50) 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_NODES_H 11 #include <exec/nodes.h> 12 #endif 13 14 #ifndef EXEC_LISTS_H 15 #include <exec/lists.h> 16 #endif 17 18 #ifndef EXEC_PORTS_H 19 #include <exec/ports.h> 20 #endif 21 22 #ifndef EXEC_TASKS_H 23 #include <exec/tasks.h> 24 #endif 25 26 #pragma pack(2) 27 28 29 #define ACPU_BusErr 0x80000002 30 #define ACPU_AddressErr 0x80000003 31 #define ACPU_InstErr 0x80000004 32 #define ACPU_DivZero 0x80000005 33 #define ACPU_CHK 0x80000006 34 #define ACPU_TRAPV 0x80000007 35 #define ACPU_PrivErr 0x80000008 36 #define ACPU_Trace 0x80000009 37 #define ACPU_LineA 0x8000000A 38 #define ACPU_LineF 0x8000000B 39 #define ACPU_Format 0x8000000E 40 #define ACPU_Spurious 0x80000018 41 #define ACPU_AutoVec1 0x80000019 42 #define ACPU_AutoVec2 0x8000001A 43 #define ACPU_AutoVec3 0x8000001B 44 #define ACPU_AutoVec4 0x8000001C 45 #define ACPU_AutoVec5 0x8000001D 46 #define ACPU_AutoVec6 0x8000001E 47 #define ACPU_AutoVec7 0x8000001F 48 49 #define AT_DeadEnd 0x80000000 50 #define AT_Recovery 0x00000000 51 52 #define AG_NoMemory 0x00010000 53 #define AG_MakeLib 0x00020000 54 #define AG_OpenLib 0x00030000 55 #define AG_OpenDev 0x00040000 56 #define AG_OpenRes 0x00050000 57 #define AG_IOError 0x00060000 58 #define AG_NoSignal 0x00070000 59 #define AG_BadParm 0x00080000 60 #define AG_CloseLib 0x00090000 61 #define AG_CloseDev 0x000A0000 62 #define AG_ProcCreate 0x000B0000 63 #define AG_MsgPortNotEmpty 0x000C0000 /* V50 */ 64 65 #define AO_ExecLib 0x00008001 66 #define AO_GraphicsLib 0x00008002 67 #define AO_LayersLib 0x00008003 68 #define AO_Intuition 0x00008004 69 #define AO_MathLib 0x00008005 70 #define AO_DOSLib 0x00008007 71 #define AO_RAMLib 0x00008008 72 #define AO_IconLib 0x00008009 73 #define AO_ExpansionLib 0x0000800A 74 #define AO_DiskfontLib 0x0000800B 75 #define AO_UtilityLib 0x0000800C 76 #define AO_KeyMapLib 0x0000800D 77 78 #define AO_AudioDev 0x00008010 79 #define AO_ConsoleDev 0x00008011 80 #define AO_GamePortDev 0x00008012 81 #define AO_KeyboardDev 0x00008013 82 #define AO_TrackDiskDev 0x00008014 83 #define AO_TimerDev 0x00008015 84 85 #define AO_CIARsrc 0x00008020 86 #define AO_DiskRsrc 0x00008021 87 #define AO_MiscRsrc 0x00008022 88 89 #define AO_BootStrap 0x00008030 90 #define AO_Workbench 0x00008031 91 #define AO_DiskCopy 0x00008032 92 #define AO_GadTools 0x00008033 93 #define AO_Unknown 0x00008035 94 95 /* 96 * exec.library 97 */ 98 #define AN_ExecLib 0x01000000 99 #define AN_ExcptVect 0x01000001 100 #define AN_BaseChkSum 0x01000002 101 #define AN_LibChkSum 0x01000003 102 103 #define AN_MemCorrupt 0x81000005 104 #define AN_IntrMem 0x81000006 105 #define AN_InitAPtr 0x01000007 106 #define AN_SemCorrupt 0x01000008 107 108 #define AN_FreeTwice 0x01000009 109 #define AN_BogusExcpt 0x8100000A 110 #define AN_IOUsedTwice 0x0100000B 111 #define AN_MemoryInsane 0x0100000C 112 113 #define AN_IOAfterClose 0x0100000D 114 #define AN_StackProbe 0x0100000E 115 #define AN_BadFreeAddr 0x0100000F 116 #define AN_BadSemaphore 0x01000010 117 118 /* 119 * graphics.library 120 */ 121 #define AN_GraphicsLib 0x02000000 122 #define AN_GfxNoMem 0x82010000 123 #define AN_GfxNoMemMspc 0x82010001 124 #define AN_LongFrame 0x82010006 125 #define AN_ShortFrame 0x82010007 126 #define AN_TextTmpRas 0x02010009 127 #define AN_BltBitMap 0x8201000A 128 #define AN_RegionMemory 0x8201000B 129 #define AN_MakeVPort 0x82010030 130 #define AN_GfxNewError 0x0200000C 131 #define AN_GfxFreeError 0x0200000D 132 133 #define AN_GfxNoLCM 0x82011234 134 135 #define AN_ObsoleteFont 0x02000401 136 137 /* 138 * layers.library 139 */ 140 #define AN_LayersLib 0x03000000 141 #define AN_LayersNoMem 0x83010000 142 143 /* 144 * intuition.library 145 */ 146 #define AN_Intuition 0x04000000 147 #define AN_GadgetType 0x84000001 148 #define AN_BadGadget 0x04000001 149 #define AN_CreatePort 0x84010002 150 #define AN_ItemAlloc 0x04010003 151 #define AN_SubAlloc 0x04010004 152 #define AN_PlaneAlloc 0x84010005 153 #define AN_ItemBoxTop 0x84000006 154 #define AN_OpenScreen 0x84010007 155 #define AN_OpenScrnRast 0x84010008 156 #define AN_SysScrnType 0x84000009 157 #define AN_AddSWGadget 0x8401000A 158 #define AN_OpenWindow 0x8401000B 159 #define AN_BadState 0x8400000C 160 #define AN_BadMessage 0x8400000D 161 #define AN_WeirdEcho 0x8400000E 162 #define AN_NoConsole 0x8400000F 163 #define AN_NoISem 0x04000010 164 #define AN_ISemOrder 0x04000011 165 166 /* 167 * math.library 168 */ 169 #define AN_MathLib 0x05000000 170 171 /* 172 * dos.library 173 */ 174 #define AN_DOSLib 0x07000000 175 #define AN_StartMem 0x07010001 176 #define AN_EndTask 0x07000002 177 #define AN_QPktFail 0x07000003 178 #define AN_AsyncPkt 0x07000004 179 #define AN_FreeVec 0x07000005 180 #define AN_DiskBlkSeq 0x07000006 181 #define AN_BitMap 0x07000007 182 #define AN_KeyFree 0x07000008 183 #define AN_BadChkSum 0x07000009 184 #define AN_DiskError 0x0700000A 185 #define AN_KeyRange 0x0700000B 186 #define AN_BadOverlay 0x0700000C 187 #define AN_BadInitFunc 0x0700000D 188 #define AN_FileReclosed 0x0700000E 189 190 /* 191 * ramlib.library 192 */ 193 #define AN_RAMLib 0x08000000 194 #define AN_BadSegList 0x08000001 195 196 /* 197 * icon.library 198 */ 199 #define AN_IconLib 0x09000000 200 201 /* 202 * expansion.library 203 */ 204 #define AN_ExpansionLib 0x0A000000 205 #define AN_BadExpansionFree 0x0A000001 206 207 /* 208 * diskfont.library 209 */ 210 #define AN_DiskfontLib 0x0B000000 211 212 /* 213 * audio.device 214 */ 215 #define AN_AudioDev 0x10000000 216 217 /* 218 * console.device 219 */ 220 #define AN_ConsoleDev 0x11000000 221 #define AN_NoWindow 0x11000001 222 223 /* 224 * gameport.device 225 */ 226 #define AN_GamePortDev 0x12000000 227 228 /* 229 * keyboard.device 230 */ 231 #define AN_KeyboardDev 0x13000000 232 233 /* 234 * trackdisk.device 235 */ 236 #define AN_TrackDiskDev 0x14000000 237 #define AN_TDCalibSeek 0x14000001 238 #define AN_TDDelay 0x14000002 239 240 /* 241 * timer.device 242 */ 243 #define AN_TimerDev 0x15000000 244 #define AN_TMBadReq 0x15000001 245 #define AN_TMBadSupply 0x15000002 246 247 /* 248 * cia.resource 249 */ 250 #define AN_CIARsrc 0x20000000 251 252 /* 253 * disk.resource 254 */ 255 #define AN_DiskRsrc 0x21000000 256 #define AN_DRHasDisk 0x21000001 257 #define AN_DRIntNoAct 0x21000002 258 259 /* 260 * misc.resource 261 */ 262 #define AN_MiscRsrc 0x22000000 263 264 /* 265 * bootstrap 266 */ 267 #define AN_BootStrap 0x30000000 268 #define AN_BootError 0x30000001 269 270 /* 271 * Workbench 272 */ 273 #define AN_Workbench 0x31000000 274 #define AN_NoFonts 0xB1000001 275 #define AN_WBBadStartupMsg1 0x31000001 276 #define AN_WBBadStartupMsg2 0x31000002 277 #define AN_WBBadIOMsg 0x31000003 278 #define AN_WBReLayoutToolMenu 0xB1010009 279 280 /* 281 * DiskCopy 282 */ 283 #define AN_DiskCopy 0x32000000 284 285 /* 286 * toolkit for Intuition 287 */ 288 #define AN_GadTools 0x33000000 289 290 /* 291 * System utility library 292 */ 293 #define AN_UtilityLib 0x34000000 294 295 /* 296 * For use by any application that needs it 297 */ 298 #define AN_Unknown 0x35000000 299 300 301 struct AlertMessage 302 { 303 struct Message Message; /* Message Header */ 304 struct Task *Task; /* connected Task */ 305 ULONG Version; /* version of the structure */ 306 ULONG ID; /* AlertID */ 307 /* This is undiscovered land... 308 * never assume a size of this structure 309 */ 310 }; 311 312 #define VERSION_ALERTMESSAGE 0 313 314 315 #pragma pack() 316 317 #endif