Category:Disk BASIC
This page was last modified 22:32, 23 August 2018 by Mars2000you. Based on work by NYYRIKKI and Rderooy.

Contents

Description

Disk BASIC is a BASIC extension that is related to disk drives.

Versions

There are 2 versions of this extension:

Version 1 is provided with external diskdrive interfaces and with MSX1/MSX2/MSX2+ computers with integrated internal diskdrive(s).

Version 2 is provided with the Turbo R computers, the original MSX-DOS2 cartridge and its European versions. This cartridge requires at least a MSX2 computer with internal or external disk drive. This version is not enabled if you boot with a DOS1-formatted disk in drive A (on MSX2 or higher) or on a MSX Turbo R, if you keep the '1' key pressed during the boot sequence.

Instructions

Both versions extend the following 10 instructions: BLOAD, BSAVE, CLOSE, ERR, ERROR, LOAD, MERGE, OPEN, RUN and SAVE.

Version 1 adds 23 new instructions including COPY that is also a MSX-BASIC graphic command introduced on MSX2. Version 2 extends the FILES and LFILES instructions and adds 5 additional new instructions.

The following table includes also Disk-BASIC related instructions that are not part of the standard MSX-BASIC instructions but were reserved during MSX-BASIC development for future disk operations. These reserved words were never actually used: ATTR$(), CMD, FPOS() and IPL. Machine Language experts can divert them to create new instructions.

Note: CALL can be replaced by the character underscore (_). A space is not required after this character. See CALL for more info.

Instruction Generation Versions Remark
ATTR$() MSX1 - Reserved word that can be diverted
CALL CHDIR MSX2 2
CALL CHDRV MSX2 2
CALL FORMAT MSX1 1 - 2
CALL MKDIR MSX2 2
CALL RAMDISK MSX2 2
CALL RMDIR MSX2 2
CALL SYSTEM MSX1 1 - 2
CMD MSX1 - Reserved word that can be diverted
COPY MSX1 1 - 2
CVD() MSX1 1 - 2
CVI() MSX1 1 - 2
CVS() MSX1 1 - 2
DSKF() MSX1 1 - 2
DSKI$() MSX1 1 - 2
DSKO$ MSX1 1 - 2
FIELD MSX1 1 - 2
FILES MSX1 1 - 2
FPOS() MSX1 - Reserved word that can be diverted
GET MSX1 1 - 2
IPL MSX1 - Reserved word that can be diverted
KILL MSX1 1 - 2
LFILES MSX1 1 - 2
LOC() MSX1 1 - 2
LOF() MSX1 1 - 2
LSET MSX1 1 - 2
MKD$() MSX1 1 - 2
MKI$() MSX1 1 - 2
MKS$() MSX1 1 - 2
NAME MSX1 1 - 2
PUT MSX1 1 - 2
RSET MSX1 1 - 2


Remark

The addition of diskdrive(s) decreases the amount of memory available for MSX-BASIC. However, you can disable
- drive B by keeping the CTRL key pressed while booting, this frees up a small amount of memory
- both drives A and B by keeping the SHIFT key pressed while booting, this disables Disk BASIC completely.

Pages in category "Disk BASIC"

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

A

B

C

C cont.

D

E

F

G

I

K

L

L cont.

M

N

O

P

R

S