>> The problem is that MSX-DOS puts a booting program starting in #20, so
>> disks formatted in this way can't be used for boot.
>No sweat!
>Older disk format only fills parameters up to offset 1C-1Dh (=number 
>of reserved sectors), MSX bootsector routine starts at 1Eh, and the 
>above starts at 20h, which leaves 2 bytes (at 1E-1Fh), just enough to 
>put in a JR-instruction to a bit further on.

You are right! I was wrong for only 2 bytes!! 8-)

>MSX-DOS2 formatted disks already do it that way...

Yes, #1E contains: relative jump + "VOL_ID"+01+volume id. number.
In MS-DOS, #20 contains: number of sectors (4 bytes)+reserved
byte+#29+volume id. number.

>Do note though, that on bootup, only one half of the bootsector 
>(offset 0-FFh, 256 bytes) is copied to C000h before C01Eh is called, 
>making it a bit difficult to use the other half for boot code.

I learn one new thing every day thanks to this ML! 8-)


-----------------------------------------------------------------------------
        Konami Man - AKA Nestor Soriano (^ ^)v - Itsumo MSX user

        http://www.geocities.com/SiliconValley/Bay/9797/msx.htm
            [EMAIL PROTECTED]        ICQ#: 18281450

    "In Windows 98, 3.000 found failures of W95 have been corrected..."
Translation: 3.000.000 not found failures continue without being corrected...
----------------------------------------------------------------------------
-

****
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/)
****

Reply via email to