Skip to content

Commit f1b59fc

Browse files
committed
comments for NLS
1 parent 720ec32 commit f1b59fc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

kernel/int2f.asm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ Check4Share:
153153
jne Int2f?iret ; yes, do installation check
154154
Int2f?14: ;; MUX-14 -- NLSFUNC API
155155
;; all functions are passed to syscall_MUX14
156+
;; Note: this is the kernel's default NLS handlers, if made it
157+
;; here then no other program (e.g. NLSFUNC) hooked int 2F/14
158+
;; and handled request (either none loaded or choose not to)
156159
push bp ; Preserve BP later on
157160
Protect386Registers
158161
PUSH$ALL

kernel/nls.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "globals.h"
3838
#include "pcb.h"
3939
#include "nls.h"
40+
#include "debug.h"
4041

4142
#ifdef VERSION_STRINGS
4243
static BYTE *RcsId =
@@ -656,7 +657,12 @@ VOID FAR *DosGetDBCS(void)
656657
***** MUX-14 API ***************************************************
657658
********************************************************************/
658659

659-
/* Registers:
660+
/* This is the kernel's default NLSFUNC multiplex int 2F/14 (MUX-14)
661+
handling. If made it here then no other program has hooked MUX-14
662+
and handled request -- either none loaded or choose to pass request
663+
on.
664+
665+
Registers:
660666
AH == 14
661667
AL == subfunction
662668
BX == codepage

0 commit comments

Comments
 (0)