MemMan
This page was last modified 06:36, 21 July 2018 by Mars2000you. Based on work by Gdx and NYYRIKKI.

Contents

Description

MemMan is a advanced Memory Manager for MSX2 with at least 128kB memory mapper. It reserves 80kB for the 'standard' working of the computer. Since version 2.0, it has support for handling of TSR (Terminate and Stay Resident) programs .

This utility is provided in 2 versions: the binary MEMMAN.BIN and the MSX-DOS file MEMMAN.COM. Since version 2.3, MemMan adds several instructions to Basic (see MemManTSR BASIC). Latest version is v.2.42.

Installation

  • from MSX-BASIC: BLOAD"MEMMAN.BIN",R
  • under MSX-DOS: enter MEMMAN on the command line

By default, both versions go to MSX-BASIC after installation. Since version 2.0, the MSX-DOS version can be installed with additionnal commands (example: MEMMAN _SYSTEM@TL CAPS@ to go back to the command line and load the TSR program CAPS.TSR).

Note: If you want to use the RAMDISK under MSX-DOS 2 or Disk BASIC 2, it's recommended to follow this order: first install MemMan, then create the RAMDISK. This way MemMan can give the memory which becomes available after resizing the RAMDISK to other MemMan applications.

Configuration

A configuration tool is included, allowing to change several settings, separately for the binary version and the MSX-DOS version.

In versions 1.0 and 1.1, it is a MSX-BASIC file: CFGMMAN.BAS. It allows only to change the command line that will be executed after installation (for example to run a specific program).

Since version 2.0, it is a MSX-DOS file: CFGMMAN.COM with more options:

  • default command line (will be ignored when MEMMMAN.COM is installed with additionnal commands)
  • heap size for the TSR programs (128 bytes by default)
  • maximum number of TSR programs which can be loaded at the same time (15 by default)
  • maximum number of hooks which can be bent by TSR programs (30 or 50 by default according the used version)
  • maximum recursion depth for TSR programs (6 or 8 by default according the used version)

TSR Programs

Most TSR programs work under MSX-DOS 1 or MSX-DOS 2. However, a few TSR programs can only be used under MSX-DOS 2.

TSR DOS ID-name Description BASIC instructions Related application
(built-in) 1/2 MST TsrUtils MemMan TSR tools ATTR$ FT
CMD TK
CMD TL
CMD TV
TV.BAS
TK.COM
TL.COM
TV.COM
ALARM.TSR 1/2 RWi Alarm Alarm SET TIME SETALARM.COM
CAPS.TSR 1/2 MJVcapsblink Caps blink and key click
CHRCODE.TSR 1/2 RWi ChrCode Direct entering of ASCII codes
(CTRL + number)
COLOR.TSR 1/2 MJV ColorTsr Inverse colors CMD COLOR
DUMP.TSR 2 DUMP MEMORY Memory dump on disk
(from 8000h to FFFFh)
when pressing CTRL+ESC
ICP7.TSR 1/2 MCM's ICP Checker for typing listings from
MSX Computer Magazine (NL)
CMD ICP OFF
CMD ICP ON
ICP7.BIN
MSXALT.TSR 1/2 JvdM MSXALT Alternative sets of function keys
(with SELECT key)
ALTLAD.COM
(MSXALT.TSR requested)
PB.TSR 1/2 MJV printbuf Printer buffer ATTR$ FRE PRINTBUF
CMD CLEAR PRINTBUF
PRINT.COM
(PB.TSR is requested)
SCRFADE.TSR 1/2 RWi ScrFade Screensaver
(not for Kanji screens)
SETFADE.COM
(SCRFADE.TSR requested)
SHIFT.TSR 1/2 JvdM SHIFT Shift always active
(also when CapsLock is active)


TSR Development KIt

This kit is conceived as help for creating TSR programs that can be managed by MemMan. It is composed with

  • two TSR frame files for GEN80 or M80 assemblers (TSRFRAME.GEN and TSRFRAME.MAC)
  • two corresponding BAT files to generate the TSR programs (GTSR.BAT and MTSR.BAT)
  • the TSR creator (LT.COM)

Environment

  • Computer MSX2/2+/Turbo R with at least 128kB Memory Mapper
  • Disk Basic / MSX-DOS(2)

Links