mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-29 17:50:18 +00:00
Kernel version 0.9 : CONSOLE.DRV, fixed annoying TELNET chars printed on top of login:
This commit is contained in:
parent
5984f77ab0
commit
ad99363574
@ -177,8 +177,16 @@ READ jsr Char.Out.Get
|
|||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
WRITE bit bEscMode
|
WRITE bit bEscMode
|
||||||
bmi COUT.EscMode
|
bmi COUT.EscMode
|
||||||
|
bit bIACMode
|
||||||
|
bmi COUT.IACMode
|
||||||
|
|
||||||
pha
|
cmp #IAC
|
||||||
|
bne .1
|
||||||
|
sta bIACMode
|
||||||
|
clc
|
||||||
|
rts
|
||||||
|
|
||||||
|
.1 pha
|
||||||
jsr CUROFF
|
jsr CUROFF
|
||||||
pla
|
pla
|
||||||
cmp #32
|
cmp #32
|
||||||
@ -211,6 +219,17 @@ COUT.Ctrl ldx #CtrlChars.Cnt-1
|
|||||||
tax
|
tax
|
||||||
jmp (J.CtrlChars,x)
|
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
|
COUT.EscMode bit bEscModeCSI
|
||||||
bmi COUT.EscModeCSI
|
bmi COUT.EscModeCSI
|
||||||
cmp #'['
|
cmp #'['
|
||||||
@ -818,6 +837,7 @@ TelnetOpt .DA #IAC,#DO,#TELOPT.ECHO
|
|||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
CtrlChars.Cnt .EQ 6
|
CtrlChars.Cnt .EQ 6
|
||||||
CtrlChars .HS 05080A0C0D1B
|
CtrlChars .HS 05080A0C0D1B
|
||||||
|
bIACMode .BS 1
|
||||||
bEscMode .BS 1
|
bEscMode .BS 1
|
||||||
bEscModeCSI .BS 1
|
bEscModeCSI .BS 1
|
||||||
bEscSeqInNum .BS 1
|
bEscSeqInNum .BS 1
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user