home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / debugger / amiga / powervsr.lzh / PVDevelop / PVDevelop.lzh / include / PV / MemoryBase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-13  |  1.2 KB  |  72 lines

  1. #ifndef PV_MEMORYBASE_H
  2. #define PV_MEMORYBASE_H TRUE
  3. /*
  4. **  $Filename: MemoryBase.h $
  5. **  $Release: 1.02 $
  6. **  $Revision: 37.346 $
  7. **  $Date: 15 Sep 91 $
  8. **
  9. **  Structure definitions for Memory Base (see 'TheWizardCorner')
  10. **
  11. **  ⌐ 1991 Jorrit Tyberghein, included with PowerVisor
  12. **        All Rights Reserved
  13. */
  14.  
  15. #ifndef PV_PVMEMORY_H
  16. #include <pv/PVMemory.h>
  17. #endif
  18.  
  19.  
  20. #define TAG_BYTEASCII    1
  21. #define TAG_WORDASCII    2
  22. #define TAG_LONGASCII    3
  23. #define TAG_ASCII    4
  24. #define TAG_CODE    5
  25. #define TAG_STRUCT    6
  26.  
  27. #define LONGMODE_BYTE    0
  28. #define LONGMODE_LONG    1
  29. #define LONGMODE_WORD    2
  30. #define LONGMODE_ASCII    3
  31.  
  32. #define HEXUNASM_NO    0
  33. #define HEXUNASM_YES    1
  34.  
  35.  
  36. struct AutoClearList
  37.     {
  38.         struct AutoClearList *Next;
  39.         PVBLOCK pointer;
  40.     };
  41.  
  42. struct PVTag
  43.     {
  44.         APTR Address;
  45.         ULONG Bytes;
  46.         ULONG Type;
  47.         ULONG Extra;
  48.     };
  49.  
  50.  
  51. struct MemoryBase
  52.     {
  53.         struct AutoClearList *AutoClearList;
  54.         struct AutoClearList *LastAutoClear;
  55.         UWORD NumAutoClear;
  56.         UWORD MaxNumAutoClear;
  57.         struct PVQuickBlock GlobalAutoClear;
  58.         struct PVMemoryBlock CurrentTagList;
  59.         ULONG NumCurrentTagList;
  60.         struct PVMemoryBlock AllTags[16];
  61.         ULONG PVQuickTressHold;
  62.         APTR NextMemoryList;
  63.         APTR NextSearch;
  64.         ULONG RemainingBytes;
  65.         PVBLOCK SearchString;
  66.         UBYTE LongMode;
  67.         UBYTE HexUnAsmMode;
  68.         UBYTE pad0[9];
  69.     };
  70.  
  71. #endif
  72.