From dbd91f7752437a325f57be526206b59998a6c7fe Mon Sep 17 00:00:00 2001 From: "E. C. Masloch" Date: Thu, 16 Apr 2026 09:08:35 +0200 Subject: [PATCH 1/3] 21.42: link to 21.7142 --- .../INT 2142 DOS 2 LSEEK SET CURRENT FILE POSITION.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Interrupt List/INT 21 DOS Function Calls/INT 2142 DOS 2 LSEEK SET CURRENT FILE POSITION.txt b/source/Interrupt List/INT 21 DOS Function Calls/INT 2142 DOS 2 LSEEK SET CURRENT FILE POSITION.txt index 4a84c620c..8d5267501 100644 --- a/source/Interrupt List/INT 21 DOS Function Calls/INT 2142 DOS 2 LSEEK SET CURRENT FILE POSITION.txt +++ b/source/Interrupt List/INT 21 DOS Function Calls/INT 2142 DOS 2 LSEEK SET CURRENT FILE POSITION.txt @@ -26,5 +26,4 @@ Notes: for origins 01h and 02h, the pointer may be positioned before the BUG: using this method to grow a file from zero bytes to a very large size can corrupt the FAT in some versions of DOS; the file should first be grown from zero to one byte and then to the desired large size -SeeAlso: AH=24h,INT 2F/AX=1228h - +SeeAlso: AH=24h,AX=7142h,INT 2F/AX=1228h From ce48eadd87c62d196e5efd01b70b3f459e602387 Mon Sep 17 00:00:00 2001 From: "E. C. Masloch" Date: Thu, 16 Apr 2026 09:11:18 +0200 Subject: [PATCH 2/3] 21.40: link to 21.42 properly, specifying CX:DX outside the reference --- .../INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt index fae9ac97a..30dc25982 100644 --- a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt +++ b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt @@ -25,7 +25,7 @@ BUG: a write of zero bytes will appear to succeed when it actually failed if the write is extending the file and there is not enough disk space for the expanded file (DOS 5.0-6.0); one should therefore check whether the file was in fact extended by seeking to 0 bytes from - the end of the file (INT 21/AX=4202h/CX=0000h/DX=0000h) + the end of the file (INT 21/AX=4202h with CX:Dx=0000h:0000h) under the FlashTek X-32 DOS extender, the pointer is in DS:EDX SeeAlso: AH=28h,AH=3Fh"DOS",AH=93h,INT 2F/AX=1109h - + From 64aabda094322435537bb450906b0ea03532ccce Mon Sep 17 00:00:00 2001 From: "E. C. Masloch" Date: Thu, 16 Apr 2026 09:17:17 +0200 Subject: [PATCH 3/3] 21.40: use -sort-as- IDs to order DOS function first --- .../INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt | 2 +- .../INT 2140 PCTCP IPCUSTSYS WRITE CONFIGURATION DATA.txt | 4 ++-- .../INT 2140 Trusted Access NBSYS SET STATE.txt | 2 +- ...ARDWARE BREAKPOINTS SEND CMD TO HARDWARE BRKPNT DRIVER.txt | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt index 30dc25982..8fc1c4d06 100644 --- a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt +++ b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 DOS 2 WRITE WRITE TO FILE OR DEVICE.txt @@ -1,5 +1,5 @@ -------------------------------------------------------------------------------- - Unique ID: 2140 + Unique ID: 2140-sort-as-2140++ Category: D DOS kernel Flag: n/a -------------------------------------------------------------------------------- diff --git a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 PCTCP IPCUSTSYS WRITE CONFIGURATION DATA.txt b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 PCTCP IPCUSTSYS WRITE CONFIGURATION DATA.txt index 0480004e1..ccd94c890 100644 --- a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 PCTCP IPCUSTSYS WRITE CONFIGURATION DATA.txt +++ b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 PCTCP IPCUSTSYS WRITE CONFIGURATION DATA.txt @@ -1,5 +1,5 @@ -------------------------------------------------------------------------------- - Unique ID: 2140 + Unique ID: 2140-sort-as-2140PC/TCP Category: N network Flag: n/a -------------------------------------------------------------------------------- @@ -24,4 +24,4 @@ Notes: if less than the entire data is read or written, the next read/write of IPCUST.SYS for backward compatibility with other software which must read the PC/TCP configuration SeeAlso: AH=3Fh"IPCUST",AX=4402h"IPCUST" - + diff --git a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Trusted Access NBSYS SET STATE.txt b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Trusted Access NBSYS SET STATE.txt index 96b69bc21..36f79436a 100644 --- a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Trusted Access NBSYS SET STATE.txt +++ b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Trusted Access NBSYS SET STATE.txt @@ -1,5 +1,5 @@ -------------------------------------------------------------------------------- - Unique ID: 2140 + Unique ID: 2140-sort-as-2140TrustedAccess Category: y security Flag: U undocumented function -------------------------------------------------------------------------------- diff --git a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Turbo Debug HARDWARE BREAKPOINTS SEND CMD TO HARDWARE BRKPNT DRIVER.txt b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Turbo Debug HARDWARE BREAKPOINTS SEND CMD TO HARDWARE BRKPNT DRIVER.txt index a34be127e..f82473360 100644 --- a/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Turbo Debug HARDWARE BREAKPOINTS SEND CMD TO HARDWARE BRKPNT DRIVER.txt +++ b/source/Interrupt List/INT 21 DOS Function Calls/INT 2140 Turbo Debug HARDWARE BREAKPOINTS SEND CMD TO HARDWARE BRKPNT DRIVER.txt @@ -1,5 +1,5 @@ -------------------------------------------------------------------------------- - Unique ID: 2140 + Unique ID: 2140-sort-as-2140TurboDebug Category: G debuggers/debugging tools Flag: n/a -------------------------------------------------------------------------------- @@ -68,4 +68,4 @@ Values for Turbo Debugger address/data matching mode: 06h above or equal to test value 07h within inclusive range 08h outside specified range - +