evo_lite_2.0c.i 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. rsreset
  2. _ciapra rs.b 1 * peripheral data register for port a
  3. _ciaprb rs.b 1 * peripheral data register for port b
  4. _ciaddra rs.b 1 * data direction register a
  5. _ciaddrb rs.b 1 * data direction register b
  6. _ciatalo rs.b 1 * timer a low byte.
  7. _ciatahi rs.b 1 * timer a high byte.
  8. _ciatblo rs.b 1 * timer b low byte.
  9. _ciatbhi rs.b 1 * timer b high byte.
  10. _ciatodlo rs.b 1 * time-of-day counter low-byte.
  11. _ciatodmid rs.b 1 * time-of-day counter mid-byte.
  12. _ciatodhi rs.b 1 * time-of-day counter high-byte.
  13. _ciatodhr rs.b 1 * unused - not connected to the amiga
  14. _ciasdr rs.b 1 * serial data register
  15. _ciaicr rs.b 1 * interrupt control register
  16. _ciacra rs.b 1 * control register a
  17. _ciacrb rs.b 1 * control register b
  18. rsreset
  19. _ciaa = $bfe001 * _ciaa is on an ODD address (the low byte)
  20. _ciab = $bfd000 * _ciab is on an EVEN address (the high byte)
  21. _custom = $dff000
  22. include 'include:hardware/adkbits.i'
  23. include 'include:hardware/cia.i'
  24. include 'include:hardware/custom.i'
  25. include 'include:hardware/dmabits.i'
  26. include 'include:hardware/intbits.i'
  27. esc=$45
  28. _LVOOpenResource= -498
  29. MR_SERIALPORT = 0 ;Amiga custom chip serial port registers & interrupts
  30. MR_SERIALBITS = 1 ;Serial control bits (DTR,CTS, etc.)
  31. MR_PARALLELPORT = 2 ;The 8 bit parallel data port
  32. MR_PARALLELBITS = 3 ;All other parallel bits & interrupts (BUSY,ACK,etc.)
  33. MR_ALLOCMISCRESOURCE = -6
  34. MR_FREEMISCRESOURCE = -12
  35. DSKB_DMAON = 14
  36. AbsExecBase = $4
  37. AttnFlags = $128
  38. LIB_VERSION = $14
  39. LIB_OPENCNT = $20
  40. gb_ChipRevBits0 = $EC
  41. gb_ActiView = $22
  42. gb_copinit = $26
  43. pr_WindowPtr = $B8
  44. _LVOCacheControl = -$288
  45. _LVOOpenDevice = -$1BC
  46. _LVOVideoControl = -$2C4
  47. _LVOSupervisor = -$1E
  48. _LVOLoadView = -$DE
  49. _LVODisownBlitter = -$1CE
  50. _LVORethinkDisplay = -$186
  51. _LVODisable = -$78
  52. _LVODisplayAlert = -$5A
  53. _LVOAddPort = -$162
  54. _LVOFreeMem = -$D2
  55. _LVOCloseLibrary = -$19E
  56. _LVOCacheClearU = -$27C
  57. _LVOWaitBlit = -$E4
  58. _LVOUserState = -$9C
  59. _LVOOwnBlitter = -$1C8
  60. _LVOSetTaskPri = -$12C
  61. _LVOSuperState = -$96
  62. _LVORemove = -$FC
  63. _LVOMakeScreen = -$17A
  64. _LVOAllocSignal = -$14A
  65. _LVOWaitTOF = -$10E
  66. _LVORemPort = -$168
  67. _LVOOldOpenLibrary = -$198
  68. _LVOOpenLibrary = -$228
  69. _LVOAllocMem = -$C6
  70. _LVOFreeSignal = -$150
  71. _LVOUnlockPubScreen = -$204
  72. _LVOLockPubScreen = -$1FE
  73. _LVOFindTask = -$126
  74. _LVOCloseDevice = -$1C2
  75. _LVOEnable = -$7E
  76. _LVOColdReboot = -$2D6
  77. _LVOForbid = -132
  78. _LVOPermit = -138