DataMuseum.dk

Presents historical artifacts from the history of:

CR80 Hard and Floppy Disks

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about CR80 Hard and Floppy Disks

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦cabb0e378⟧ TextFile

    Length: 2394 (0x95a)
    Types: TextFile
    Names: »MEMMGRPARAMS.S«

Derivation

└─⟦8c095a7f3⟧ Bits:30005798 CR80 Disc Pack ( Vol ILS systemdisk XAMOS TOS 10:01 hard boot #43c 19-7-87/JFJ )
    └─ ⟦this⟧ »PREFIXES.D!XAMOS.D!SWELL.D!MEMMGRPARAMS.S« 
└─⟦c2e810e96⟧ Bits:30005799 CR80 Disc Pack ( XAMOS 841129 ILS TOS 10-01 System Disk Tilhører ILS/MSG hard boot boot entry #43c )
    └─ ⟦this⟧ »PREFIXES.D!XAMOS.D!SWELL.D!MEMMGRPARAMS.S« 

TextFile

"-----------------------------------------------------------------------
"
"
"  MODULE NAME:      MEMMORY MANAGER PARAMETERS (MEMMGRPARAMS)
"  MODULE ID NMB:    CSS/878
"  MODULE VERSION:   0102
"  MODULE TYPE:      PREFIX
"  MERGE  FILES:     -
"  
"  SPECIFICATIONS:   -
"  AUTHOR/DATE:      JSL/800608
"
"  DELIVERABLE:      -
"  SOURCE LANGUAGE:  SWELL
"  COMPILE COMPUTER: CR80
"  TARGET COMPUTER:  CR80
"  OPER. SYSTEM:     AMOS
"
"-----------------------------------------------------------------------
"
"  CHANGE RECORD
"
"  VERSION    AUTHOR/DATE    DESCRIPTION OF CHANGE
"  -------    -----------    ---------------------
"  0102       JSL/800929     TYPE MEMORY_TYPE EXPANDED WITH DSPCTYPE
"                            WHICH IS USED TO REQUEST MEMORY IN A SPE-
"                            CIFIED SECTION.
"                            LINE #42, CPECO #208 801105
"
"-----------------------------------------------------------------------
"PAGE«ff»
"COMMANDS
CONST
      MMGRELEASE    = 0;    "DEALLOCATE MEMORY
      MMGRESERVE    = 1;    "ALLOCATE MEMORY
      MMGCONVERT    = 2;    "CONVERT MEMORY PARAMETER
      MMGRELEASEALL = 3;    "DEALLOCATE ALL MEMORY RESERVED
      MMGTRANSFER   = 4;    "TRANSFER MEMORY OWNERSHIP
  
TYPE  MEMMGR_COMMAND = MMGRELEASE..MMGTRANSFER;
  
TYPE  MEMORY_TYPE = (PROGTYPE,DATATYPE,DSPCTYPE); "PAGE0,ANY,SPEC SECT
  
TYPE  MEMMGR_MESSAGE =
        RECORD
          OPERATION:      MEMMGR_COMMAND;
          KIND:           INTEGER;        "MULTIPLE SIGNIFICANSE FIELD
          WORD_SIZE:      INTEGER;        "MEMORY REQUIREMENT
          CPU_REQUIRED:   CPU_NUMBER;
          SPARE:          INTEGER;
        END;
  
      "SIGNIFICANCE OF MEMMGR_MESSAGE.KIND FIELD:
      "
      "   RESERVE/KIND      : MEMORY_TYPE
      "                       IN THE CASE DSPCTYPE THE UPPER BYTE
      "                       DESIGNATES THE REQUESTED PAGE
      "   RELEASE/MEMORY    : MEMORY_PARAMETER
      "   TRANSFER/NEW_OWNER: PCB_INDEX;
  
TYPE  MEMORY_PARAMETER  = INTEGER;
  
"RESULTS
CONST
      MMGDONE       = 0;    "OPERATION COMPLETE

TYPE  MEMMGR_ANSWER =
        RECORD
          RESULT:         INTEGER;        "0/BMERROR
          MEMORY:         MEMORY_PARAMETER;
          ADDR:           ABSPTR;
          CPU_PAGE:       INTEGER;        "CPU (MSB), PAGE (LSB)
          WORD_SIZE:      INTEGER;
        END;
  





"END OF MEMMGRPARAMS «soh»