home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
keyboard
/
ced10da.arc
/
CEDINS.DOC
< prev
Wrap
Text File
|
1986-06-05
|
2KB
|
54 lines
The following patches modify CED to default to insert (instead of
overtype) mode for each line, and to not reset the mode when
moving up or down the stack, which is more like typical text
editors. Note that the mode toggling function of the <Ins> key
is not affected, but that the block cursor now signifies overtype
(instead of insert) mode.
The first patch bypasses the automatic mode reset that
normally occurs whenever the up or down arrow keys are
pressed, leaving the mode unchanged instead.
The second patch reverses the mode byte (4CC) logic, so that
zero means insert mode and non-zero means overtype mode.
Of course, before the patches are applied the program should be
backed up! (Either DEBUG or SYMDEB may be used.)
C>copy ced.com ced.bak
1 File(s) copied
C>symdeb ced.com
Microsoft Symbolic Debug Utility
Version 3.01
(C)Copyright Microsoft Corp 1984, 1985
Processor is [8086]
-u 642 64a
2330:0642 C606CC0401 MOV Byte Ptr [04CC],01
2330:0647 E87A01 CALL 07C4
2330:064A 5E POP SI
-a 642
2330:0642 jmp 64a
2330:0644
-u 642 64a
2330:0642 EB06 JMP 064A
2330:0644 CC INT 3
2330:0645 0401 ADD AL,01
2330:0647 E87A01 CALL 07C4
2330:064A 5E POP SI
-u 7fa 7ff
2330:07FA F606CC04FF TEST Byte Ptr [04CC],FF
2330:07FF 750E JNZ 080F
-a 7ff
2330:07FF jz 80f
2330:0801
-u 7fa 7ff
2330:07FA F606CC04FF TEST Byte Ptr [04CC],FF
2330:07FF 740E JZ 080F
-w
Writing 1BF4 bytes
-q
C>