home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Utilities / MCControl / Modules / Include.i < prev    next >
Text File  |  1999-11-26  |  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
  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.     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.     rs.w 3*8 ;reserved
  31. Module_SIZEOF    rs.b 0
  32. ;----------------------------------------------------------------------------
  33.  BITDEF Module,Delay,0       ;Tell MCControl you require timing data.
  34.          ;This will be used to disable/hide useless
  35.          ;gadgets for your reader.
  36.  BITDEF Module,Device,1      ;Tell MCControl you require an Device/Unit
  37.           ;selector
  38.  BITDEF Module,MultiPage,2   ;Tell MCControl you support MultiPage support
  39.  BITDEF Module,DirectAccess,3 ;Tell MCControl you support DirectPage support
  40. ;----------------------------------------------------------------------------
  41. Module_Error_NoError       = 0
  42. Module_Error_OpenDevice    = 1
  43. Module_Error_NotCompatible = 2 ;If hardware supports identification!
  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.