equates.s 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. exec equ 4 ; amiga executive o/s base
  2. SERPER equ $032 ; serial port period and control
  3. SERDATR equ $018 ; serial port data and status read
  4. SERDAT equ $030
  5. INTREQ equ $09c ; interrupt request bits
  6. intreqr equ $01e
  7. INTENA equ $09a ; interrupt enable bits
  8. CUSTOM EQU $DFF000 ; start of amigas hardware
  9. BPLCONO EQU $100
  10. BPLCON1 EQU $102
  11. BPLCON2 EQU $104
  12. BPL1MOD EQU $108
  13. BPL2MOD EQU $10a
  14. DDFSTRT EQU $092
  15. DDFSTOP EQU $094
  16. DIWSTRT EQU $08E
  17. DIWSTOP EQU $090
  18. VPSOR EQU $004
  19. COLOUR0 EQU $180
  20. COLOUR1 EQU $182
  21. COLOUR2 EQU $184
  22. COLOUR3 EQU $186
  23. DMACON EQU $096
  24. COP1LCH EQU $080
  25. COPJMP1 EQU $088
  26. COP2LCH EQU $084
  27. COPJMP2 EQU $08a
  28. DMAF_BLITTER EQU $0040
  29. DMAF_BLTDONE EQU $4000
  30. DMAF_BLTNZERO EQU $2000
  31. DMAB_BLTDONE EQU 14
  32. bltddat EQU $000
  33. dmaconr EQU $002
  34. vposr EQU $004
  35. vhposr EQU $006
  36. dskdatr EQU $008
  37. joy0dat EQU $00A
  38. joy1dat EQU $00C
  39. joytest equ $036
  40. clxdat EQU $00E
  41. bltcon0 EQU $040
  42. bltcon1 EQU $042
  43. bltafwm EQU $044
  44. bltalwm EQU $046
  45. bltcpt EQU $048
  46. bltbpt EQU $04C
  47. bltapt EQU $050
  48. bltdpt EQU $054
  49. bltsize EQU $058
  50. bltcmod EQU $060
  51. bltbmod EQU $062
  52. bltamod EQU $064
  53. bltdmod EQU $066
  54. bltcdat EQU $070
  55. bltbdat EQU $072
  56. bltadat EQU $074
  57. dsksync EQU $07E
  58. cop1lc EQU $080
  59. cop2lc EQU $084
  60. bpldat EQU $110
  61. MODE_OLD EQU 1005
  62. MODE_NEW EQU 1006
  63. hard_only equ 0
  64. save_alien_data equ 0
  65. output equ -60
  66. openlibrary equ -408
  67. closelibrary equ -414
  68. exec_base equ 4
  69. find_task equ -294
  70. write equ -48
  71. open equ -30
  72. close equ -36
  73. read equ -42
  74. forbid equ -132
  75. permit equ -138
  76. disable equ -120
  77. freemem equ -$d2
  78. allocmem equ -$c6
  79. ownblitter equ -456
  80. disownblitter equ -462
  81. MEM_CHIP EQU $02
  82. MEM_FAST EQU MEM_CHIP
  83. MEM_PUBLIC EQU $01
  84. MEM_CLEAR EQU $10000
  85. COPPER_SCREEN_OFFSET EQU $2c
  86. BUTTON_WINDOW_OFFSET EQU 192
  87. BUTTON_SCREEN_POSITION EQU BUTTON_WINDOW_OFFSET+COPPER_SCREEN_OFFSET
  88. RES_BYTES equ 40
  89. RES_HEIGHT equ 256
  90. PLANE_HEIGHT equ 200
  91. BYTES_PER_ROW equ 320/8
  92. SECRES_BYTES equ 80
  93. SECRES_HEIGHT equ 256
  94. SECBYTES_PER_ROW equ 640/8