home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / debug-utils / pv / pvdevelop / pvdevelop.lha / include / PV / MemoryBase.i < prev    next >
Encoding:
Text File  |  1992-09-24  |  1.8 KB  |  88 lines

  1.     IFND    PV_MEMORYBASE_I
  2. PV_MEMORYBASE_I    SET    1
  3. **
  4. **    $Filename: MemoryBase.i $
  5. **    $Release: 1.40 $
  6. **    $Revision: 37.1656 $
  7. **    $Date: 24 Sep 92 $
  8. **
  9. **    Structure definitions for Memory Base (see 'TheWizardCorner')
  10. **
  11. **    © 1992 Jorrit Tyberghein, included with PowerVisor
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND PV_PVMEMORY_I
  16.     INCLUDE "PV/PVMemory.i"
  17.     ENDC
  18.  
  19.  
  20.     ;Types for pvtg_Type
  21. TAG_BYTEASCII    equ    1
  22. TAG_WORDASCII    equ    2
  23. TAG_LONGASCII    equ    3
  24. TAG_ASCII    equ    4
  25. TAG_CODE    equ    5
  26. TAG_STRUCT    equ    6
  27.  
  28.     ;Bits for pvtg_Flags
  29. BTAG_WPROTECT    equ    0        ;w
  30. BTAG_RPROTECT    equ    1        ;r
  31. BTAG_IGNORE    equ    2        ;i
  32. BTAG_PPRINT    equ    3        ;p
  33. BTAG_FREEZE    equ    4        ;f
  34.  
  35. REGIONSIZE    equ    8192
  36.  
  37.  
  38.     STRUCTURE    AutoClearList,0
  39.         APTR    pvac_Next
  40.         PVBLOCK    pvac_pointer
  41.         LABEL    pvac_SIZE
  42.  
  43.     STRUCTURE    PVTag,0
  44.         APTR    pvtg_Address
  45.         ULONG    pvtg_Bytes
  46.         UWORD    pvtg_Flags
  47.         UWORD    pvtg_Type
  48.         ULONG    pvtg_Extra
  49.         LABEL    pvtg_SIZE
  50.  
  51.     STRUCTURE    PVMemoryHeader,0
  52.         APTR    pvmh_Next
  53.         APTR    pvmh_Prev
  54.         APTR    pvmh_First    ;Pointer to first free memory chunk
  55.         ULONG    pvmh_Free    ;Total free in memory block
  56.         APTR    pvmh_Lower    ;Pointer to memory block
  57.         ULONG    pvmh_Size    ;Total size of memory block
  58.         ULONG    pvmh_Attributes    ;Attributes for this region (MEMF_CHIP, ...)
  59.         ULONG    pvmh_pad0
  60.         LABEL    pvmh_SIZE
  61.  
  62.     STRUCTURE    MemoryBase,0
  63.         APTR    mbase_AutoClearList
  64.         APTR    mbase_LastAutoClear
  65.         UWORD    mbase_NumAutoClear
  66.         UWORD    mbase_MaxNumAutoClear
  67.         STRUCT    mbase_GlobalAutoClear,pvmb_SIZE
  68.         ULONG    mbase_pad0
  69.         STRUCT    mbase_CurrentTagList,pvmb_SIZE
  70.         ULONG    mbase_NumCurrentTagList
  71.         STRUCT    mbase_AllTags,pvmb_SIZE*16
  72.         ULONG    mbase_pad1
  73.         APTR    mbase_NextMemoryList
  74.         APTR    mbase_NextSearch
  75.         ULONG    mbase_RemainingBytes
  76.         PVBLOCK    mbase_SearchString
  77.         UBYTE    mbase_pad2
  78.         UBYTE    mbase_pad3
  79.         STRUCT    mbase_ResidentCode,pvmb_SIZE
  80.         ULONG    mbase_pad4
  81.         STRUCT    mbase_pad5,10
  82.         ULONG    mbase_LastBytes
  83.         ULONG    mbase_LastLines
  84.         APTR    mbase_FirstRegion
  85.         LABEL    mbase_SIZE
  86.  
  87.     ENDC
  88.