Nextor is a disk operating system for MSX computers. It is built on top of the source code of MSX-DOS 2.31, released in 1991.
The source code of Nextor is published with permission from the MSX Licensing Corporation under certain terms. Please take a moment to read the license terms for details.
Please visit the Nextor section in Konamiman's MSX page for binaries.
Note that there is no master branch, but branches for each major version of Nextor (v2.0 and v2.1 currently).
-
source: The source code of Nextor itself.
-
buildtools: Tools needed for building Nextor on Windows (deprecated) and Linux (recommended). Includes the source for two custom made tools:
mknexrom(C) andSymToEqus(C#). -
docs: Documentation for both users and developers.
Nextor requires Linux to be built. It should work on macOs too, but that hasn't been tested. If you are on Windows 10 or 11 you can use WSL.
To build Nextor you'll need:
make. On Debian/Ubuntu-ish systems you can justapt-get install make.- The Nestor80 tools. Go to the releases section and download the appropriate variant of the latest version for the assembler (N80), the linker (LK80) and the library manager (LB80).
- SDCC v4.2 or newer, for FDISK and the command line tools written in C. On Debian/Ubuntu-ish systems you can just
apt-get install sdcc. objcopyfrom the binutils package. On Debian/Ubuntu-ish systems you can justapt-get install binutils.mknexromto generate the ROM files with the drivers. You have it in thebuildtools/Linuxfolder, but you can also build it from the source in thebuildtools/sourcesdirectory.
Except for those obtained via apt, you'll need to place these tools at a suitable location to be able to use them, e.g. /usr/bin.
There are five makefiles that will take care of building the different components of Nextor. Once the tools are in place you can just cd to the appropriate directory and run make:
source/kernel: builds the kernel ROM files and copies them to thebin/kernelsdirectory. There are handy aliases for the different ROM files, so you can run e.g.make ide; see thekernelsrule at the beginning of the file for the full list.source/command/msxdos: buildsNEXTOR.SYSand copies it to thebin/toolsdirectory.source/tools: builds the command line tools written in assembler and copies them to thebin/toolsdirectory.source/tools/C: builds the command line tools written in C and copies them to thebin/toolsdirectory.source: this one just invokes the other four in sequence, so it builds pretty much everything. It supportsmake cleantoo.
You may want to take a look at this now closed pull request from Dean Netherton that contains a different attempt at writing makefiles for bulding Nextor. It even has some nice extra features like building FDD and HDD images with Nextor, and building the mknexrom tool itself.
Using this method for building Nextor is easier. Everything you need for compiling Nextor already installed in the Docker image. If you have Docker installed you can build Nextor on Linux, macOS and Windows, on Arm64 and Intel x86_64 by running the following command:
./build_nextor.shAfter compilation, the ROM files will be available in the dist directory.
Note that the build_builder.sh and the content in the docker directory are used to create the Docker builder image. You don't need to run them to build Nextor.