CALL MEMINI
This page was last modified 11:22, 18 September 2018 by Mars2000you. Based on work by Rderooy and Msxholder.

Contents

Effect

Initializes the Memory Disk and deletes all existing files on this device.

On MSX2 and higher, a message indicates the number of bytes allocated to the memory mapper.

Note: on the MSX1 Toshiba machines, ON ERROR GOTO does not work properly when the Memory Disk is available.

Syntax

CALL MEMINI [(<size>)]

Parameter

<size> is available only on MSX2 and higher machines.

  • To get a working Memory Disk, the value needs to be higher than 1023.
  • To get a Memory Disk with the maximum size, just enter CALL MEMINI without the size parameter.
  • To disable the Memory Disk, you can use CALL MEMINI (0).

Maximum size

By default, the computer will reserve the maximum memory space that it can allow to the Memory Disk without reducing the memory space allocated to MSX-BASIC. This maximum is generally higher with version 2.1 of MSX-BASIC, because this version uses also the 128 or 256kB memory mapper for the Memory Disk.

MSX-BASIC Allocated bytes Machines
1.0 31232 Toshiba HX-20 (all versions), HX-21, HX-22 (Japanese version), HX-31 (to be checked), HX-32
2.0, 2.2, 3.0, 3.1, 3.2, 4.0, 4.1 32000 Most MSX2 machines, all MSX2+ and MSX Turbo R machines
2.1 222976 Sakhr AX-500
91904 AVT CPC-300
Bawareth Perfect MSX2
Daewoo CPC-400 (*), CPC-400S (*)
 ? Fenner FPC-900 (to be checked)
 ? Laser MSX2 (to be checked)
Philips HCS 280, NMS 8245, NMS 8250, NMS 8255, NMS 8260, NMS 8280
Philips VG-8235 (**)
Phonola NMS 8245, NMS 8280
Sakhr AX-350, AX-350II, AX-370
Sanyo MPC-2300, MPC-2500FD
Talent DPC-300, TPC-310
Wandy CPC-300
Yamaha YIS-503IIIR, YIS805-128R2
26368 Philips NMS 8220 (only 64kB RAM)
 ? Talent TPP-311 and TPS-312 (only 64kB RAM; to be checked)

(*) These machines don't display the MSX-BASIC version after boot, the BIOS rom indicates 2.0, but it's actually hidden version 2.1.
(**) This machine has been produced in different versions, the first versions (8235/00, 8235/02, 8235/16 and 8235/19) have MSX-BASIC 2.0, but next versions (8235/20, 8235/22, 8235/29, 8235/36 and 8235/39) have MSX-BASIC 2.1.

Related to

CALL MEMOFF, CALL MFILES, CALL MKILL, CALL MNAME, ON ERROR GOTO

Compatibility

MemoryDisk BASIC