home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / software / sviluppo / mccontrol / modules / include.i < prev    next >
Text File  |  2000-02-09  |  2KB  |  51 lines

  1. Module_Identifier       = "MCCM"
  2. Module_VersionNumber    = 1
  3.         RSRESET
  4. Module_Code             rs.w 1 ;MUST $4e75 (RTS)
  5. Module_Version          rs.w 1 ;Must be Module_VersionNumber
  6. Module_ID               rs.l 1 ;Must be "MCCM"
  7. Module_Flags            rs.l 1 ;see below (unused flags must be zero)
  8. Module_Exec_Base        rs.l 1 ;Filled by MCControl
  9. Module_Dos_Base         rs.l 1 ;Filled by MCControl
  10. Module_Intuition_Base   rs.l 1 ;Filled by MCControl
  11. ;--- Card Data
  12. Module_DelayReadByte    rs.l 1 ;Filled by MCControl
  13. Module_DelayReadBit     rs.l 1 ;Filled by MCControl
  14. Module_DelayWriteByte   rs.l 1 ;Filled by MCControl
  15. Module_DelayWriteBit    rs.l 1 ;Filled by MCControl
  16. Module_Reserved1        rs.l 10 ;reserved (must be ZERO)
  17. ;--- Jump Table
  18. Module_Delay            rs.w 3 ;Filled by MCControl
  19. Module_Open             rs.w 3
  20. Module_Close            rs.w 3
  21. Module_FrameOpen        rs.w 3
  22. Module_FrameClose       rs.w 3
  23. Module_ReadCommand      rs.w 3
  24. Module_WriteCommand     rs.w 3 ;equal to Module_ReadCommand other delay
  25. Module_PADOpen          rs.w 3
  26. Module_PADClose         rs.w 3
  27. Module_PADCommand       rs.w 3
  28. Module_DirectFrame      rs.w 3
  29. Module_DirectPage       rs.w 3
  30. Module_Reserved2        rs.w 3*8 ;reserved
  31. Module_SIZEOF           rs.b 0
  32. ;----------------------------------------------------------------------------
  33.  BITDEF Module,Delay,0        ;Tell MCControl you require timing data.
  34.  BITDEF Module,Device,1       ;Tell MCControl you require an Device/Unit
  35.                               ;selector
  36.  BITDEF Module,MultiPage,2    ;Tell MCControl you support MultiPage cards
  37.  BITDEF Module,DirectAccess,3 ;Tell MCControl you support DirectPage support
  38.  BITDEF Module,MultiSlot,4    ;Tell MCControl you support more than one slot
  39. ;----------------------------------------------------------------------------
  40. Module_Error_NoError       = 0
  41. Module_Error_OpenDevice    = 1 ;Opening the given device fails!
  42. Module_Error_NotCompatible = 2 ;If hardware supports identification!
  43. Module_Error_NoTimerDevice = 3 ;If you need the timer.device and opening fails
  44. Module_Error_OutOfMemory   = 20
  45. ;----------------------------------------------------------------------------
  46. Module_DirectFrame_Read    = 0
  47. Module_DirectFrame_Write   = 1
  48. ;----------------------------------------------------------------------------
  49. Module_DirectPage_Next     = 0
  50. Module_DirectPage_Prev     = 1
  51.