Hello,
In the MSXgl library, we have the possibility to launch directly a program from MSX-DOS 1 or 2 or BASIC, but it's long (time for the system to initialize) and it doesn't look very "professional" (we see the autoexec running).
I would like to add the possibility to start a game directly from a disk.
I would like a setup close to MSX-DOS 1 with 64 KB of RAM visible through the 4 CPU pages and access to the BDOS functions.
According to what I read on the MSX-DOS startup procedure, I just need to rename my program to MSXDOS.SYS and it will be copied in 0100h and executed instead of the original DOS file. And that's it!
I could also change the boot sector to another file name, but using the MSX-DOS 1 format as it is easier.
However, by doing this I interrupt the MSX-DOS boot procedure in state 7 (see MSX2 Technical Handbook) and it is not clear to me in which state the environment is.
The document says that "The environment for MSX-DOS is prepared" but I don't know exactly what it means. I imagine that the part of the memory between 0000h and 00FFh is initialized, but I don't know e.g. if I can use the DOS functions (e.g. to read files). I guess that the access goes to 0005h is not possible since I read that it is MSXDOS.SYS that makes the intermediary with the DOS kernel, but maybe via the address F37Dh like in DISK-BASIC?
I am interested in any advice or information.