At 11:51 AM 11/24/01 +0100, you wrote:
>Your method is good, but I propose an alternative one: if bit 7=1, DE-HL
>contains sector number, and data is transferred to DTA area;
I'm not sure this is such a good idea: DTA is only used by DOS, not by the
diskROM. If you start using the DTA for the diskROM, you will mix up two
systems that were seperated until now.
>>So, I propose to extend DOS function calls
>>2Fh & 30h (absolute disk read/write) as follows:
>>
>>If bit 7 of drive number (in L register) = 0: all parameters as usual
>>If bit 7 of drive number = 1:
>>
>> DE = low 16 bit of sector number (was: sector number)
>> IX = high 16 bit of sector number (was: unused)
>
>This is the best solution I think.
Please, no!
To read/write sectors using 32-bit sector numbers, use new function numbers.
Reason: old programs, used to <=32MB partitions, should not be allowed to
read sectors on partitions >32MB, because they can only mess things up.
Imagine the damage IMPROVE.COM could do on a FAT16 drive!
Bye,
Maarten
****
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/)
****