<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


>MAP Search:

In Memory Access Words in TurboForth Kernal

Word Name: >MAP
Type: Standard word
Data Stack Signature: bank address --
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Maps bank number bank into memory at address address. SAMS 1MB memory expansion required.

Example:

none

Comment:

Address should be a valid address on a 4K boundary (e.g. >2000, >3000, >A000, >B000, >C000, >D000, >E000 or >F000). Bank should be a number between 0 and >FF.

Important Notes:

  • When a SAMS memory expansion card is fitted, the 32K of CPU RAM is actually taken from the SAMS memory. At startup TurboForth reserves the following banks of SAMS memory for "standard" 32K RAM:
Bank Description Notes
F8 4K @ >2000 8K Lower Memory Expansion
F9 4K @ >3000
FA 4K @ >A000 24K Upper Memory Expansion
FB 4K @ >B000
FC 4K @ >C000
FD 4K @ >D000
FE 4K @ >E000
FF 4K @ >F000
  • TurboForth reserves approximately ~770 bytes for its own use starting at >A000, therefore extreme care should be taken when paging bank FA out of >A000;
  • As can be seen from the above table, TurboForth assumes a 1024K SAMS memory card; TurboForth is not compatible with 256K AMS cards.
See Also: None listed

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>