>Well, the point is, I keep running into this limit of 8 drives, A-H, from
>which H cannot be used normally but only as a RAM-drive (at least, on my
Well, in fact drive H is a normal drive and you can use it normally (for
example, if you define drives A: to F: for MegaSCSI, drives G: and H: are
for the floppy disk drive if you don't press CTRL). If drive H: already
exists, you simply will not be able to create the RAM disk.
>MSX). Now I was thinking, is it so difficult to implement more drives???
>This should be a lot easier than to implement FAT16-support... Anyway, I
>looked at my Dos-manual and discovered that almost all functions read the
>drive from a byte/register, like A=1, B=2 and 0=default drive (or A=0, B=1
>etcetera). Until now, I've discovered just one function which uses a bit per
>drive in a certain register to indicate if a certain drive is accessable.
>Ofcourse, there could be more, but I've not checked this very thorough.
Well... of course it is possible to add more drives by patching the DOS. But
maybe it is not so easy as you think.
You are right in the fact that all the DOS function calls obtains the drive
from a drive byte, this is not the problem. The matter is that MSX-DOS keeps
internal information about each drive (I don't know how many, which type nor
where, but think for example in sector buffers), and more drives means more
space allocated for this purpose. The question is: has DOS 2 enough space in
its own segments for keeping information about more drives? Maybe. Or maybe not.
>Now this seems quite easy to change to me... And if this is called a new
>Dos-version, Dos 3 (then the 'next version' of Dos with FAT16-support can
>become Dos 4 -yes I know there already exists a Dos-version on MSX which
>claims to be Dos 4-) then you can easily implement a NEW function-call which
>will give the drive-info in, in example, the registers BC and DE. Then the
>newer programs can test if the Dos-version is 3 or higher, and if so they
>can get the drive-info by using the new function-call. All programs which
>use the 'old' call would then only be able to access drives A-H, but
>programs who don't use this call (i.e. TED -I think-) or newer programs then
>can use the 'new' drives A-Z!!!
Well, the first thing I want to say is that we must not have aspirations of
making a MSX-DOS 3 because we are not ASCII corp and therefore we don't have
their resources. It is sad but it is the matter. BUT, we are perfectly
capable of patching the existing DOS 2, and this is enough. In fact, ESE
people did it (and with very good results) when making MegaSCSI and MSXCDEX.
We need only enough information. ESE guys have this information but they
don't reply my e-mails.
About the new drives performance, you are right. There is a function call
which uses register L for returning information about the available drives;
using register H we have 8 more drives, and we can use more registers. But
for compatibility maybe it is better to don't touch the old function call
and create a new one.
The following is a personal opinion. If we finally make a FAT16 driver, we
need assign only one drive per device. Then, why you need more than 8
drives? 8-)
>
>Hey, is this smart thinking or not?
Not bad... ;-)
>Anyway, I think the only problem is that you'll have to change the
>Dos-kernel...
The "only" problem, yes... 8-)
>just like when you want to implement FAT16. However, I think
>this is a good first step on our way to FAT16.
Well, I started some investigations and I found a safe method for patching
the DOS entry point (#0005 or #F37D) and redirect it to a segment with own
routines. Also, I have some partial information about sector buffers. But it
is not enough for do nothing yet.
>When I'm back from my holidays I'll try to disassemble the Dos-kernel...
>Let's try if I can do that.
May the force be with you!! Maybe it is easiest to go Japan and kidnap and
torture Tsujikawa Kazuhiro or any ASCII big boss... we are talking about
dissassembling 64K, and not 64K of bullshit but a whole operating system!
Anyway good bless you if you obtain something...
-------------------------------------------------------
Konami Man - AKA Nestor Soriano (^ ^)Y
Itsumo MSX user
[EMAIL PROTECTED]
http://www.geocities.com/SiliconValley/Bay/9797/msx.htm
This Pentium will become obsolete in 5 seconds...
4... 3... 2...
-------------------------------------------------------
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****