M File Manager
This page was last modified 09:55, 7 August 2021 by Gdx. Based on work by Mars2000you.
M File Manager Screenshot

Contents

Description

M File Manager is a GUI for MSX-DOS 2 (v2.31~) developed from 1993 by a Korean MSX user (Youngman Seo). The interface is based on Mdir for MS-DOS. It supports the FAT12 and FAT16.

The originality of this file manager is that it is possible to assign several DOS commands by filename extension. This is very convenient, for example, to launch a Rom image depending on the hardware used.

The latest version is the v3.4. This version can be downloaded here. Now there is a single version for all configurations.

Environment

  • Computer MSX2/2+ with 128kB Ram or MSX-Turbo R with 256kB Ram
  • MSX-DOS 2 (Kernel v2.20, COMMAND2.COM v2.31 or newer and MSXDOS2.SYS v2.30 or newer) or Nextor
  • FAT16 driver if you use the MSX-DOS 2 patched for FAT16 support
  • Hangul-Rom (CP949O) (Optional)
  • MPX cartridge for playing audio files MP3/WMA (R1.0 / R1.1) (Optional)
  • MoonSound or compatible for playing audio files IMS (Optional)
    • PAC-V / XII-V cartridge (LED chase) (Optional)

Features

  • FAT12 / FAT16 support
  • Copy / Delete / Move file
  • File / volume renaming
  • Folder creation
  • Auto-sort files on display
  • Play MPX / IMS files (MPX / Moonsound cartridge required)
  • Setting of several shortcut keys
  • Command execution based on the name extension of the selected file
  • Possibility of setting several commands by name extension
  • Command line execution
  • Customizable file colors based on the name extension
  • Display in interlaced mode possible
  • Korean font support
  • R800/Z80 mode switching

Setup Example

Copy the following files to the root directory of disk A:. You can also put the files in a folder if it is specified by the command PATH of the MSX-DOS2 (for example in the AUTOEXEC.BAT or in a new M.BAT).

  • M.BAT (contains the environment settings (variables, pathes, etc) for M File Manager)
  • FAT16.COM (contains the FAT16 driver, this file is optional)
  • COMMAND2.COM (v2.31 or newer)
  • MSXDOS2.SYS (v2.30 or newer) or NEXTOR.SYS (for Nextor users)

Create the directory /M on the disk A: and copy the following files inside.

  • _M_.BAT (contains the evironments variable to execute external commands from M File Manager)
  • M.INI (contains the settings and parameters to execute a command or a file according to the extension file of selected item)
  • M.COM (contains the main program)
  • M.OVL (contains the second part of the program)

AUTOEXEC.BAT Example

ver
FAT16.COM
rem set expert=on
set HELP=\HELP
set TIME=24
set path=A:\ A:\COMPRESS A:\MGS A:\PLAYERS A:\SCSAVERS A:\TEXT A:\TOOLS A:\UTILS A:\VIEWERS
IF %_MSXVER%==MSX EXIT 0
rem M.BAT
  • Remove the line FAT16.COM if you only have FAT12 partitions or if you use Nextor.
  • The line with "set path" allows you to indicate the folders that contain your main command files. Thus these commands can be entered without indicating the path. Change the paths of this line according to your configuration.
  • The condition allows to quit the batch file if it executed on MSX1.
  • Remove "rem " to the last line if you prefer an auto execution of M file manager.

M.BAT Example

IF %_MSXVER%==MSX EXIT 0
path + A:\M
A:\M\M

M.INI Example

#
# M File Manager for MSX-DOS2
# Configuration file for the v3.4
#
# This is a sample.
# Please modify it to suit your preferences.
#

# Generic options
#
<OPT>
# Background palette RGB value
#
# Eg) BGP:215
#         |||--> Blue  level (0 to 7)
#         ||---> Green level (0 to 7)
#         |----> Red   level (0 to 7)
#
BGP:215

# Function key background color
# Color number is hexa decimal 1 to F
#
FNC:5

# TSR option (1=ON, 0=OFF)
# M stays in DOS2 system memory, when it is enabled.
# Disable it, if your main memory is not enough.
#
TSR:1

# Dir/File Sort mode (0 to 2)
# Mode0: No sort (Directories first)
# Mode1: Sort file name
# Mode2: Sort file ext-name & file name.
#
SRT:1

# Interlace mode (1=ON, 0=OFF)
# Graphic mode is SCREEN 7.
# Interlaced display shows 512x424 resolution.
# If IL is disabled, 512x212 resolution is set.
#
IL:0

# Pathname for External FNT file.
# FNT is 8x8 font data, which is 2048 bytes size.
# It is used only for non-interlace mode.
# If it does not exist, built-in font will be used.
#
#FNT:SPACE8.FNT
#FNT:THIN.FNT

# Pathname for BNK file.
# BNK is instrument bank for #IMSP
# If it does not exist, STANDARD.BNK will be used.
#
#BNK:D:\FM\IMS\STANDARD.BNK

# LED indicator (1=ON, 0=OFF)
# Audio level is captured by turboR internal MIC,
#  and displyed via 4 LEDs.
# It works during MPXP & IMSP playback.
#
LED:0

# PAC-V or XII-V LED indicator (1=ON, 0=OFF)
# 9 channel level meter operation.
# It works during MPXP & IMSP playback.
PACV:0

# Command string for VGMPlay.COM
# It will be used during #VGMP playback
VGMP:VGMPLAY /L1 %s

# Command string for PT3Play.COM
# It will be used during #PT3P playback
PT3P:PT3PLAY /L %s
</OPT>


# Menu definition for Function keys (F1 to F15)
# %s will be replaced as selected file/dir name.
# Use semi-colon to make multi-menu. You can use external commands only.
#
# Eg) F4:EDIT     :APED %s;BINE %s
#      |     |       |--> command list
#      |     |----------> menu title (should be 9 chars)
#      |----------------> function key name
#
<FKEY>
F1:HELP     :#HELP;MEMORY;*MEMORY;SET;ALIAS;VER
F2:EDIT     :AKID %s;KID %s;APED %s;PED %s;BINE %s;BINE %s /E
F3:VIEW     :NV;#GV %s
F4:CPU      :#CPU0;#CPU1;#CPU2
F5:BASIC    :BASIC
F6:GAMES    :#CDD A:\GAMES
F7:SOFARUN  :S.BAT
F8:MM       :MM.BAT
F9:MGSEL    :A:\SOUND\MGS\MGSEL %s
FA:TRASH    :#CDD A:\TRASH;DEL A:\TRASH\*.*
FB:FUNC-11  :
FC:FUNC-12  :
FD:FUNC-13  :
FE:FUNC-11  :
FF:FUNC-15  :
</FKEY>


# Menu definition for file execution
# %s will be replaced as selected file name.
# Use semi-colon to make multi-menu.
# If command list is empty, no execution occurs.
#
# Eg) TXT:5:HV %s;APED %s
#      |  |   |---------> command list
#      |  |-------------> color number (hexa decimal 1 to F)
#      |----------------> file extention (should be 3 chars)
#
<EXT>
A16:2:FLASHMAN %s;MEGA16 %s;MEGAMU %s /Z
AS :5:HV %s;NV %s;TV %s
ARC:D:UNARC %s
ARJ:D:UNARC L %s
ASC:5:BASIC %s;LIST %s;HV %s;NV %s;TV %s
BAS:5:BASIC %s;LIST %s;HV %s;NV %s;TV %s
BAT:A:%s;HV %s;NV %s;TV %s
BGM:9:D:\SOUND\MUPLAY\MUPLAY %s
BIN:A:BINLDR %s
BM8:C:IMGDEMO %s
BMP:C:BMPV8I %s;BMPI %s
BNK:9:
BZ2:D:
C  :5:HV %s;NV %s;TV %s
CAP:5:HV %s;NV %s;TV %s
CFG:5:HV %s;NV %s;TV %s
COM:7:%s
DOC:5:HV %s;NV %s;TV %s
DSK:3:SRI %s
FNT:C:FONTPACK F %s
GB :2:GEM %s
GE5:C:#GV %s
GE7:C:#GV %s
GEN:5:HV %s;NV %s;TV %s
GIF:C:
GZ :D:
H  :5:HV %s;NV %s;TV %s
HLP:5:HV %s;NV %s;TV %s
IL1:C:#GV %s
IL2:C:#GV %s
IMS:9:#IMSP %s
INC:5:HV %s;NV %s;TV %s
INI:5:HV %s;NV %s;TV %s
ISS:5:HV %s;NV %s;TV %s
JPG:C:JPD %s;JPD %s /E4
LDR:5:BASIC %s;LIST %s;HV %s;NV %s;TV %s
LZH:D:LHEXT L %s;LHEXT E %s
MA :9:MMCSD %s /MA
MAG:C:MAGI %s
MBK:9:
MBM:9:
MCF:5:HV %s;NV %s;TV %s
MD :5:HV %s;NV %s;TV %s
ME :5:HV %s;NV %s;TV %s
MGS:9:D:\SOUND\MUPLAY\MUPLAY %s
MID:9:SAWP %s;MPXP %s;#MPXP %s
MIF:C:MIFVIEW %s
MP3:9:#MPXP %s
MSA:C:MISA %s
MSD:9:MUPLAY %s
MV :C:MMCSD %s /MV
MWK:9:
MWM:9:
PCM:9:PCMPLAYP %s
PCX:9:PCX2STP %s /video
PIC:C:#GV %s
PMA:D:PMEXT %s /L;PMEXT %s *.* /A
RAM:3:MMCSD %s /LS;MMCSD %s /SS
ROM:2:FL %s;FL8 %s;FL16 %s;ODO %s;MEGA16 %s;MEGAMU %s /Z;ROM2MMM %s;SROM %s
RCP:9:
SC2:C:SC2VIEW %s
SC5:C:BLS %s;GV %s
SC7:C:BLS %s
SC8:C:BLS %s;VIEWCMP %s /D999
SCC:C:BLS %s;GV %s
SDT:9:SC %s
SG :2:SG1000 %s;SG2MSX %s
SMS:2:SG1000 %s;SG2MSX %s
SOP:9:
SR5:C:#GV %s
SR7:C:#GV %s
SR8:C:#GV %s
TXT:5:HV %s;NV %s;TV %s
VGM:9:VGMPLAY /l1 %s
WAV:9:
WMA:9:#MPXP %s
YJK:C:#GV %s
ZIP:D:SUZ l %s;SUZ x %s
</EXT>

How to run it

Enter the following command under MSX-DOS 2 (or Nextor).

M

You can also use Multi-boot.