home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / software / sviluppo / cop / ddts / startup.ddt < prev   
Text File  |  1999-02-14  |  12KB  |  597 lines

  1. ******************************************************************************
  2. ** COP    startup data description table                        **
  3. ** © 1996-1998 THOR-Software                            **
  4. **--------------------------------------------------------------------------**
  5. ** See COP.doc for description of the entries                    **
  6. ******************************************************************************
  7.  
  8. ;Define some gurus
  9. ##increment 1
  10. ##offset 2
  11. ##guru
  12. "bus error"
  13. "address error"
  14. "illegal instruction"
  15. "zero divide"
  16. "chk instruction"
  17. "TRAPV instruction"
  18. "privilege violation"
  19. "trace"
  20. "line A emulator"
  21. "line F emulator"
  22. "emulator interrupt"
  23. "coprocessor protocol violation"
  24. "format error"
  25. "reserved autovector $0f"
  26. "reserved autovector $10"
  27. "reserved autovector $11"
  28. "reserved autovector $12"
  29. "reserved autovector $13"
  30. "reserved autovector $14"
  31. "reserved autovector $15"
  32. "reserved autovector $16"
  33. "reserved autovector $17"
  34. "spurious interrupt"
  35. "level 1 IRQ autovector"
  36. "level 2 IRQ autovector"
  37. "level 3 IRQ autovector"
  38. "level 4 IRQ autovector"
  39. "level 5 IRQ autovector"
  40. "level 6 IRQ autovector"
  41. "level 7 IRQ autovector"
  42. "trap #0"
  43. "trap #1"
  44. "trap #2"
  45. "trap #3"
  46. "trap #4"
  47. "trap #5"
  48. "trap #6"
  49. "trap #7"
  50. "trap #8"
  51. "trap #9"
  52. "trap #a"
  53. "trap #b"
  54. "trap #c"
  55. "trap #d"
  56. "trap #e"
  57. "trap #f"
  58. "FPCP branch or set on unordered condition"
  59. "FPCP inexact result"
  60. "FPCP divide by zero"
  61. "FPCP underflow"
  62. "FPCP operand error"
  63. "FPCP overflow"
  64. "FPCP signaling NAN"
  65. "FPCP reserved exception"
  66. "MMU configuration error"
  67. "reserved autovector $ed"
  68. "reserved autovector $ee"
  69. "reserved autovector $ef"
  70. "unimplemented effective address"
  71. "unimplemented integer instruction"
  72. "reserved autovector $f2"
  73. "reserved autovector $f3"
  74. "reserved autovector $f4"
  75. "reserved autovector $f5"
  76. "reserved autovector $f6"
  77. "reserved autovector $f7"
  78. "reserved autovector $f8"
  79. "reserved autovector $f9"
  80. "reserved autovector $fa"
  81. "reserved autovector $fb"
  82. "reserved autovector $fc"
  83. "reserved autovector $fd"
  84. "reserved autovector $fe"
  85. "reserved autovector $ff"
  86.  
  87. ;Specific alerts
  88. ##offset $01000001
  89. "68K exeption vector checksum"
  90. "execbase checksum bad"
  91. "library checksum failure"
  92. ##offset $81000005
  93. "memory corrupt"
  94. "no memory for interrupt server"
  95. ##offset $01000007
  96. "initStruct failed"
  97. "semaphore in illegal state"
  98. "memory freed twice"
  99. ##offset $8100000A
  100. "illegal 68K exection taken"
  101. ##offset $0100000B
  102. "attempt to reuse active IORequest"
  103. "memory insane"
  104. "IO attempted on closed IORequest"
  105. "memory header not located"
  106. "invalid message semaphore"
  107. ##offset $810000FF
  108. "uninitialized quick interrupt"
  109. ;------- SaferPatches
  110. ##offset $01000020
  111. "patch vector out of range"
  112. "entry is not patchable"
  113. "no mem for patch vector"
  114. "patched vector to ROM"
  115. "found libentry w/o patches"
  116. "unsafe patch"
  117. "removed libentry called"
  118. "attempt to patch function to NULL"
  119.  
  120. ;------- graphics.library
  121. ##offset $82010000
  122. "gfx out of memory"
  123. "gfx out of memory for monitor specs"
  124. ##offset $82010006
  125. "gfx out of memory for long frame"
  126. "gfx out of memory for short frame"
  127. "gfx out of memory for TmpRas"
  128. "gfx out of memory for BltBitMap"
  129. "gfx out of memory for regions"
  130. ##offset $82010030
  131. "gfx out of memory for MakeVPort"
  132. ##offset $0200000C
  133. "gfx new object failed"
  134. "gfx free object failed"
  135. ##offset $82011234
  136. "gfx emercency memory not available"
  137. ##offset $02000401
  138. "gfx obsolete font"
  139.  
  140. ;------ layers.library
  141. ##offset $83010000
  142. "layers out of memory"
  143.  
  144. ;------ intuition.library
  145. ##offset $84000001
  146. "intuition unknown gadget type"
  147. ##offset $04000001
  148. "intuition bad gadget type"
  149. ##offset $84010002
  150. "intuition no mem for CreatePort"
  151. ##offset $04010003
  152. "intuition no mem for item plane"
  153. "intuition sub allocation failed"
  154. ##offset $84010005
  155. "intuition plane allocation failed"
  156. ##offset $84000006
  157. "intuition box top < RelZero"
  158. ##offset $84010007
  159. "intuition open screen out of mem"
  160. "intuition raster alloc failed"
  161. ##offset $84000009
  162. "intuition open sys screen unknown type"
  163. ##offset $8401000A
  164. "intuition add SW gadget no mem"
  165. "intuition open window no mem"
  166. ##offset $8400000C
  167. "intuition bad state return entering intuition"
  168. "intuition bad message received by IDCMP"
  169. "intuition weird echo causing incomprehension"
  170. "intuition couldn't open the Console Device"
  171. "intuition skipped obtaining a sem"
  172. "intuition obtained a sem in bad order"
  173.  
  174. ;------ dos.library
  175. ##offset $07010001
  176. "dos no mem at startup"
  177. "dos EndTask didn't"
  178. "dos Qpkt failure"
  179. "dos unexpected packet received"
  180. "dos freevec failed"
  181. "dos disk block sequence error"
  182. "dos bitmap corrupt"
  183. "dos key aleady defined"
  184. "dos invalid checksum"
  185. "dos disk error"
  186. "dos key out of range"
  187. "dos bad overlay"
  188. "dos invalid packed for cli/shell"
  189. "dos filehandle reclosed"
  190.  
  191. ;------ ramlib.library
  192. ##offset $08000001
  193. "ramlib overlays invalid"
  194.  
  195. ;------ expansion.library
  196. ##offset $0A000001
  197. "expansion freeed free region"
  198.  
  199. ;------ console.device
  200. ##offset $11000001
  201. "console can't open initial window"
  202.  
  203. ;------ trackdisk.device
  204. ##offset $14000001
  205. "trackdisk calibrate seek error"
  206. "trackdisk delay error on timer wait"
  207.  
  208. ;------    timer.device
  209. ##offset $15000001
  210. "timer bad request"
  211. "timer power supply bad ticks"
  212.  
  213. ;------    disk.resource
  214. ##offset $21000001
  215. "disk get unit has already disk"
  216. "disk interrupt no active unit"
  217.  
  218. ;------ bootstrap
  219. ##offset $30000001
  220. "bootstrap code returned error"
  221.  
  222. ;------ workbench
  223. ##offset $B1000001
  224. "workbench missing fonts"
  225. ##offset $31000001
  226. "workbench bad startupmsg1"
  227. "workbench bad startupmsg2"
  228. "workbench bad IO msg"
  229. ##offset $B1010009
  230. "workbench relayout toolmenu failed"
  231.  
  232. ;First, we include some of the main offsets
  233. ##increment -6        ;Default increment for libs
  234.             ;we don't set the bias, this is done by the libs...
  235.  
  236. ;exec first
  237. ##vectors exec.library    ;name of the game
  238. ##include FD:exec_lib.fd
  239. ;gfx
  240. ##vectors graphics.library
  241. ##include FD:graphics_lib.fd
  242. ;layers
  243. ##vectors layers.library
  244. ##include FD:layers_lib.fd
  245. ;intuituition
  246. ##vectors intuition.library
  247. ##include FD:intuition_lib.fd
  248. ;dos
  249. ##vectors dos.library
  250. ##include FD:dos_lib.fd
  251. ;utility
  252. ##vectors utility.library
  253. ##include FD:utility_lib.fd
  254. ;gadtools.library
  255. ##vectors gadtools.library
  256. ##include FD:gadtools_lib.fd
  257. ;iffparse.library
  258. ##vectors iffparse.library
  259. ##include FD:iffparse_lib.fd
  260. ;workbench.library
  261. ##vectors workbench.library
  262. ##include FD:wb_lib.fd
  263.  
  264. ;Include your own stuff here...
  265.  
  266.  
  267. ;We know involve here the pseudo-assembler...
  268. ;hope it works...
  269.  
  270. ##equate            ;we now define some equates
  271.  
  272. ##include INCLUDE:exec/lists.i
  273. ##include INCLUDE:exec/nodes.i
  274. ##include INCLUDE:exec/interrupts.i
  275. ##include INCLUDE:exec/libraries.i
  276. ##include INCLUDE:exec/ports.i
  277. ##include INCLUDE:exec/tasks.i
  278. ##include INCLUDE:exec/semaphores.i
  279.                 ;we are now ready to define execbase !
  280. ##node exec.library        ;Define execbase
  281. ##include INCLUDE:exec/execbase.i
  282.  
  283. ##equate
  284. ##include INCLUDE:utility/tagitem.i
  285.  
  286. ##equate
  287. ##include INCLUDE:graphics/gfx.i
  288. ##include INCLUDE:graphics/gfxnodes.i
  289. ##include INCLUDE:graphics/copper.i
  290. ##include INCLUDE:graphics/view.i
  291. ##include INCLUDE:graphics/displayinfo.i
  292. ##include INCLUDE:graphics/monitor.i
  293.  
  294. ##node graphics.library
  295. ##include INCLUDE:graphics/gfxbase.i
  296.  
  297. ##node dos.library
  298.  STRUCTURE DosLibrary,0
  299.     STRUCT  dl_lib,LIB_SIZE
  300.     APTR    dl_Root         * Pointer to RootNode, described below
  301.     APTR    dl_GV         * Pointer to BCPL global vector
  302.     LONG    dl_A2         * BCPL standard register values
  303.     LONG    dl_A5
  304.     LONG    dl_A6
  305.     APTR    dl_Errors         * PRIVATE pointer to array of error msgs
  306.     APTR    dl_TimeReq         * PRIVATE pointer to timer request 
  307.     APTR    dl_UtilityBase   * PRIVATE pointer to utility library base
  308.     APTR    dl_IntuitionBase * PRIVATE pointer to intuition library base
  309.     LABEL   dl_SIZEOF *     DosLibrary
  310.  
  311. ;and now the hardware stuff... we do not use the system includes here,
  312. ;cause they are equates...
  313. ;but we need relative entries !
  314. ##relative $dff000
  315. ##offset 0
  316.     UWORD    CustomBase     
  317.     UWORD    dmaconr     
  318.     UWORD    vposr        
  319.     UWORD    vhposr        
  320.     UWORD    dskdatr     
  321.     UWORD    joy0dat     
  322.     UWORD    joy1dat     
  323.     UWORD    clxdat        
  324.  
  325.     UWORD    adkconr     
  326.     UWORD    pot0dat     
  327.     UWORD    pot1dat     
  328.     UWORD     potinp        
  329.     UWORD    serdatr     
  330.     UWORD    dskbytr     
  331.     UWORD    intenar     
  332.     UWORD    intreqr     
  333.  
  334.     APTR    dskpt        
  335.     UWORD    dsklen        
  336.     UWORD    dskdat        
  337.     UWORD    refptr        
  338.     UWORD    vposw        
  339.     UWORD    vhposw        
  340.     UWORD    copcon        
  341.     UWORD    serdat        
  342.     UWORD    serper        
  343.     UWORD    potgo        
  344.     UWORD    joytest     
  345.     UWORD    strequ        
  346.     UWORD    strvbl        
  347.     UWORD    strhor        
  348.     UWORD    strlong     
  349.  
  350.     UWORD    bltcon0     
  351.     UWORD    bltcon1     
  352.     UWORD    bltafwm     
  353.     UWORD    bltalwm     
  354.     APTR    bltcpt        
  355.     APTR    bltbpt        
  356.     APTR    bltapt        
  357.     APTR    bltdpt        
  358.     UWORD    bltsize  
  359.     UWORD    bltsizv     
  360.     UWORD    bltsizh     
  361.  
  362.     WORD    bltcmod     
  363.     WORD    bltbmod     
  364.     WORD    bltamod   
  365.     WORD    bltdmod     
  366.  
  367. ##offset $70
  368.     UWORD    bltcdat     
  369.     UWORD    bltbdat     
  370.     UWORD    bltadat     
  371.  
  372. ##offset $7c
  373.     UWORD    deniseid    
  374.     UWORD    dsksync     
  375.  
  376. ##offset $80
  377.     APTR    cop1lc        
  378.     APTR    cop2lc        
  379.     UWORD    copjmp1     
  380.     UWORD    copjmp2   
  381.     UWORD    copins        
  382.     UWORD    diwstrt     
  383.     UWORD    diwstop     
  384.     UWORD    ddfstrt     
  385.     UWORD    ddfstop     
  386.     UWORD    dmacon        
  387.     UWORD    clxcon        
  388.     UWORD    intena        
  389.     UWORD    intreq        
  390.     UWORD    adkcon        
  391.  
  392. ##offset $a0
  393.     APTR    ac_ptr0
  394.     UWORD    ac_len0
  395.     UWORD    ac_per0
  396.     UWORD    ac_vol0
  397.     UWORD    ac_dat0
  398.  
  399. ##offset $b0
  400.     APTR    ac_ptr1
  401.     UWORD    ac_len1
  402.     UWORD    ac_per1
  403.     UWORD    ac_vol1
  404.     UWORD    ac_dat1
  405.  
  406. ##offset $c0
  407.     APTR    ac_ptr2
  408.     UWORD    ac_len2
  409.     UWORD    ac_per2
  410.     UWORD    ac_vol2
  411.     UWORD    ac_dat2
  412.  
  413. ##offset $d0
  414.     APTR    ac_ptr3
  415.     UWORD    ac_len3
  416.     UWORD    ac_per3
  417.     UWORD    ac_vol3
  418.     UWORD    ac_dat3
  419.  
  420. ##offset $e0
  421.     APTR    bplpt0
  422.     APTR    bplpt1
  423.     APTR     bplpt2
  424.     APTR    bplpt3
  425.     APTR    bplpt4
  426.     APTR    bplpt5
  427.     APTR    bplpt6
  428.     APTR    bplpt7
  429.  
  430. ##offset $100
  431.     UWORD    bplcon0     
  432.     UWORD    bplcon1     
  433.     UWORD    bplcon2     
  434.     UWORD    bplcon3     
  435.     WORD    bpl1mod
  436.     WORD    bpl2mod     
  437.     WORD    bplcon4     
  438.     WORD    clxcon2     
  439.  
  440. ##offset $110
  441.     UWORD    bpldat0        
  442.     UWORD    bpldat1
  443.     UWORD    bpldat2        
  444.     UWORD    bpldat3        
  445.     UWORD    bpldat4        
  446.     UWORD    bpldat5        
  447.     UWORD    bpldat6        
  448.     UWORD    bpldat7        
  449.  
  450. ##offset $120
  451.     APTR    sprpt0
  452.     APTR    sprpt1
  453.     APTR    sprpt2
  454.     APTR    sprpt3
  455.     APTR    sprpt4
  456.     APTR    sprpt5
  457.     APTR    sprpt6
  458.     APTR    sprpt7
  459.  
  460. ##offset $140
  461.     UWORD    sd_pos0
  462.     UWORD    sd_ctl0
  463.     UWORD    sd_dataa0
  464.     UWORD    sd_datab0
  465.  
  466.     UWORD    sd_pos1
  467.     UWORD    sd_ctl1
  468.     UWORD    sd_dataa1
  469.     UWORD    sd_datab1
  470.  
  471.     UWORD    sd_pos2
  472.     UWORD    sd_ctl2
  473.     UWORD    sd_dataa2
  474.     UWORD    sd_datab2
  475.  
  476.     UWORD    sd_pos3
  477.     UWORD    sd_ctl3
  478.     UWORD    sd_dataa3
  479.     UWORD    sd_datab3
  480.  
  481.     UWORD    sd_pos4
  482.     UWORD    sd_ctl4
  483.     UWORD    sd_dataa4
  484.     UWORD    sd_datab4
  485.  
  486.     UWORD    sd_pos5
  487.     UWORD    sd_ctl5
  488.     UWORD    sd_dataa5
  489.     UWORD    sd_datab5
  490.  
  491.     UWORD    sd_pos6
  492.     UWORD    sd_ctl6
  493.     UWORD    sd_dataa6
  494.     UWORD    sd_datab6
  495.  
  496.     UWORD    sd_pos7
  497.     UWORD    sd_ctl7
  498.     UWORD    sd_dataa7
  499.     UWORD    sd_datab7
  500.  
  501. ##offset $180
  502.     UWORD    color00
  503.     UWORD    color01
  504.     UWORD    color02
  505.     UWORD    color03
  506.     UWORD    color04
  507.     UWORD    color05
  508.     UWORD    color06
  509.     UWORD    color07
  510.     UWORD    color08
  511.     UWORD    color09
  512.     UWORD    color10
  513.     UWORD    color11
  514.     UWORD    color12
  515.     UWORD    color13
  516.     UWORD    color14
  517.     UWORD    color15
  518.     UWORD    color16
  519.     UWORD    color17
  520.     UWORD    color18
  521.     UWORD    color19
  522.     UWORD    color20
  523.     UWORD    color21
  524.     UWORD    color22
  525.     UWORD    color23
  526.     UWORD    color24
  527.     UWORD    color25
  528.     UWORD    color26
  529.     UWORD    color27
  530.     UWORD    color28
  531.     UWORD    color29
  532.     UWORD    color30
  533.     UWORD    color31
  534.  
  535. ##offset $1c0
  536.     UWORD    htotal        
  537.     UWORD    hsstop        
  538.     UWORD    hbstrt        
  539.     UWORD    hbstop        
  540.     UWORD    vtotal        
  541.     UWORD    vsstop        
  542.     UWORD    vbstrt        
  543.     UWORD    vbstop        
  544.     UWORD    sprhstrt    
  545.     UWORD    sprhstop    
  546.     UWORD    bplhstrt    
  547.     UWORD    bplhstop    
  548.     UWORD    hhposw        
  549.     UWORD    hhposr        
  550.     UWORD    beamcon0    
  551.     UWORD    hsstrt        
  552.     UWORD    vsstrt        
  553.     UWORD    hcenter     
  554.     UWORD    diwhigh
  555. ##offset $1fc
  556.     UWORD    fmode        
  557.  
  558. ##relative $bfe001
  559. ##offset 0
  560. ##increment $100
  561. ciaapra
  562. ciaaprb
  563. ciaaddra
  564. ciaaddrb
  565. ciaatalo
  566. ciaatahi
  567. ciaatblo
  568. ciaatbhi    
  569. ciaatodlow    
  570. ciaatodmid    
  571. ciaatodhi    
  572. ciaasdr        
  573. ciaaicr        
  574. ciaacra        
  575. ciaacrb        
  576.  
  577. ##relative $bfd000
  578. ##offset 0
  579. ##increment $100
  580. ciabpra        
  581. ciabprb        
  582. ciabddra    
  583. ciabddrb    
  584. ciabtalo    
  585. ciabtahi    
  586. ciabtblo    
  587. ciabtbhi    
  588. ciabtodlow    
  589. ciabtodmid    
  590. ciabtodhi    
  591. ciabsdr        
  592. ciabicr        
  593. ciabcra        
  594. ciabcrb        
  595.  
  596. ##end
  597.