HI ARKADY! No need to shout. Sorry that I did not read all patches well enough.

So: f_dmod bug in LFN API to be fixed by Bart, l_diroff already 16 bit but
documentation erroneously still lists it as 32 bit, file offsets generally
already are unsigned 32 bit.

I was wondering what O_LEGACY does... looks like "influences DosOpenSft
network behaviour, as does O_CREAT" - in some way, which is, it seems,
used by FCB open and by DosMkTmp and by DosExec, as well as int 21.0f,
21.16, 21.3c, 21.3d, 21.5b, I guess by ALL DosOpenSft except int 21.6c ??
(DosOpen/FcbOpen themselves do not set it either, but DosOpen itself is
always called with O_LEGACY outside int 21.6c, it seems. FcbOpen is even
ALWAYS called with O_LEGACY, so it would be an idea to set that O_LEGACY
flag inside FcbOpen before calling DosOpenSft, but that might even REDUCE
readability and increase code size...).

How hard would adding O_LARGEFILE to the various seek/write calls be?

> EA> LBA_Transfer should call the appropriate int 2f.xx function before
> EA>   calling play_dj - or play_dj should call it itself: This allows
> EA>   GUIs to return "okay, notified, please suppress DJ text message".

INT 2F CU - DOS 5+ - FLOPPY-DISK LOGICAL DRIVE CHANGE NOTIFICATION
        AX = 4A00h
        CX = 0000h
        DH = new drive number
        DL = current drive number
Return: CX = FFFFh to skip "Insert diskette for drive X:" message
Note:   called by MS-DOS 5.0+ IO.SYS just before displaying the message
          "Insert diskette for drive X:" on single-floppy systems

I think GUIs can use this: They install an handler for this function,
display a nice graphical something "please change disks", and return
to DOS with "no need to display the text message anymore" as soon as
the user has confirmed the disk change. Sounds "quite useful".

Eric



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to