Category:MSX-DOS
This page was last modified 19:18, 2 February 2018 by Mars2000you.

Contents

Description

MSX-DOS is an operating system that is provided on disk when you buy an external disk drive or a computer with bullt-in disk drive. It includes 2 files: MSXDOS.SYS and COMMAND.COM. It can be used on any MSX1 (and higher) computer with a disk drive and at least 64kB RAM.

This OS can be extended with new COM files and batch files, including AUTOEXEC.BAT.

Commands

MSX-DOS comes with 14 commands that can be used on the MSX-DOS command line and in batch files - see MSX-DOS Commands.

Environment and functions

Currently best thing to read is MSX-DOS2 documentation. MSX-DOS1 related commands are marked clearly on the documentation. Also some CP/M documentation may be useful.

MSX-DOS2 Environment description: http://map.grauw.nl/resources/dos2_environment.php

MSX-DOS2 Function calls: http://map.grauw.nl/resources/dos2_functioncalls.php

Example

Example of simple file load routine for MSX-DOS:

	ORG #100
 
	LD DE,#4000	;FREE SPACE
	LD C,#1A	;SET DATA TRANSFER ADDRESS
	CALL 5
 
	LD DE,#5C	;FCB
 
	LD C,#F 	;Open
        PUSH DE
	CALL 5
	POP DE
 
	LD HL,1
	LD (FCB+#E),HL
 
	LD HL,#4000
	LD C,#27	;Read max 16K
        PUSH DE
	CALL 5
	POP DE
 
	LD C,#10        ;Close
	CALL 5
	RET

Pages in category "MSX-DOS"

The following 2 pages are in this category, out of 2 total.

A

T