home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p078 / 7.img / TUTOR.PLB / MEMORY2.PLD < prev    next >
Encoding:
Text File  |  1990-12-12  |  1.4 KB  |  29 lines

  1.                   CUSTOM MEMORY DECODER AS A TRUTH TABLE
  2.  
  3. This is the same logic as defined in file MEMORY1.PLD, except here it is
  4. defined as a binary truth table.
  5.  
  6. |?  in:ADR[19..12], io:(SMEM, EGA, MDA, CGA, DISK, IO, EM, ROM)
  7. |
  8. | Table:  ADR[19..12] -> SMEM, EGA, MDA, CGA, DISK, IO, EM, ROM
  9. |
  10. ||    Input       Output            Usage                Addr   Lth
  11. |
  12. | { 0XXXXXXXb -> 10000000b         |System memory (low)    0K  640K
  13. |   100XXXXXb -> 10000000b         |System memory (high)
  14. |   1010XXXXb -> 01000000b         |EGA area             640K   64K
  15. |   10110000b -> 00100000b         |MDA area             704K    4K
  16. |   10110001b -> 00000000b         |Unallocated          708K    4K
  17. |   1011001Xb -> 00000000b         |Unallocated          712K    8K
  18. |   101101XXb -> 00000000b         |Unallocated          720K   16K
  19. |   101110XXb -> 00010000b         |CGA area             736K   16K
  20. |   101111XXb -> 00000000b         |Unallocated          752K   16K
  21. |   11000XXXb -> 00000000b         |Unallocated          768K   32K
  22. |   110010XXb -> 00001000b         |Fixed disk           800K   16K
  23. |   110011XXb -> 00000100b         |Peripheral i/o       816K   16K
  24. |   1101XXXXb -> 00000010b         |Expanded memory      832K   64K
  25. |   111XXXXXb -> 00000001b         |Read only memory     896K  128K
  26. |   }
  27.  
  28.                                                                                                  
  29.