Kernel version 0.9 : CONSOLE.DRV, fixed annoying TELNET chars printed on top of login:

This commit is contained in:
Rémy GIBERT 2017-06-14 11:51:59 +02:00
parent 5984f77ab0
commit ad99363574
4 changed files with 21 additions and 1 deletions

View File

@ -177,8 +177,16 @@ READ jsr Char.Out.Get
*--------------------------------------
WRITE bit bEscMode
bmi COUT.EscMode
bit bIACMode
bmi COUT.IACMode
pha
cmp #IAC
bne .1
sta bIACMode
clc
rts
.1 pha
jsr CUROFF
pla
cmp #32
@ -211,6 +219,17 @@ COUT.Ctrl ldx #CtrlChars.Cnt-1
tax
jmp (J.CtrlChars,x)
*--------------------------------------
COUT.IACMode tax
bmi .8 go store 2nd byte (WILL, WONT....)
* 3rd byte...option...
* ignore all for now
* reset bIACMode
.8 sta bIACMode
clc
rts
*--------------------------------------
COUT.EscMode bit bEscModeCSI
bmi COUT.EscModeCSI
cmp #'['
@ -818,6 +837,7 @@ TelnetOpt .DA #IAC,#DO,#TELOPT.ECHO
*--------------------------------------
CtrlChars.Cnt .EQ 6
CtrlChars .HS 05080A0C0D1B
bIACMode .BS 1
bEscMode .BS 1
bEscModeCSI .BS 1
bEscSeqInNum .BS 1

Binary file not shown.

Binary file not shown.

Binary file not shown.