[Freedos-kernel] patch: intr.asm

2004-06-01 Thread Arkady V.Belousov
Hi! intr.asm - wrong prototypes fixed and syncronized with *.h headers. - small code cleanup (removed jumps) and optimizations, more comments. --- Begin Message --- diff -ruNp old/kernel/intr.asm new/kernel/intr.asm --- old/kernel/intr.asm 2004-05-23 13:02:00.0 + +++ new/kernel/intr.a

[Freedos-kernel] (no subject)

2004-06-01 Thread Arkady V.Belousov
Hi! (replaces previous patch) - 3 nested switch splitted into 2 switch (1st prepares parameters for 2nd, which calls execrh()). - device attribute word checked through table lookup. - CharReqHdr.r_command computed through table lookup. - removed all goto, except one. Result: DGROUP increased f

[Freedos-kernel] Q: ioctl.c

2004-06-01 Thread Arkady V.Belousov
Hi! DosDevIOctl() returns on SUCCESS for AL=9 (INT21/4409). RBIL says nothing about AX on return. Same for AL=0xA (there returned AX=0). Why? If there are some reasons, these reasons should be commented (especially for strange value S_DONE|S_BUSY). ---

Re: [Freedos-kernel] (no subject)

2004-06-01 Thread Arkady V.Belousov
Hi! 2-Июн-2004 07:47 Arkady V.Belousov wrote to [EMAIL PROTECTED]: AVB> Subject: [Freedos-kernel] (no subject) This was should be "patch: ioctl.c". AVB> (replaces previous patch) AVB> - 3 nested switch splitted into 2 switch (1st prepares parameters for AVB> 2nd, which calls execrh()). AV

[Freedos-kernel] patch: dsk.c

2004-06-01 Thread Arkady V.Belousov
Hi! - small source cleanup (expressions simplified, extraneous casts removed). - removed all references to PROTO macro name. - removed remained excerpt from history.txt at the end. - bugfix: getlogdev(): in case of no DF_CURLOG flag is set, in rp->r_unit now returned last+1 (equal to blk_dev.dh_

[Freedos-kernel] patch: dsk.c

2004-06-01 Thread Arkady V.Belousov
Hi! - small source cleanup (expressions simplified, extraneous casts removed). - removed all references to PROTO macro name. - removed remained excerpt from history.txt at the end. - bugfix: getlogdev(): in case of no DF_CURLOG flag is set, in rp->r_unit now returned last+1 (equal to blk_dev.dh_