diff --git a/DRV/CONSOLE.DRV.S.txt b/DRV/CONSOLE.DRV.S.txt index 218457f7..29417d93 100644 --- a/DRV/CONSOLE.DRV.S.txt +++ b/DRV/CONSOLE.DRV.S.txt @@ -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 diff --git a/Floppies/A2OSX.BOOT.po b/Floppies/A2OSX.BOOT.po index b48d249c..1b6deb6f 100644 Binary files a/Floppies/A2OSX.BOOT.po and b/Floppies/A2OSX.BOOT.po differ diff --git a/Floppies/A2OSX.BUILD.po b/Floppies/A2OSX.BUILD.po index 3c1d681e..918848d9 100644 Binary files a/Floppies/A2OSX.BUILD.po and b/Floppies/A2OSX.BUILD.po differ diff --git a/Floppies/A2OSX.SRC.po b/Floppies/A2OSX.SRC.po index 8ffef538..a262a51e 100644 Binary files a/Floppies/A2OSX.SRC.po and b/Floppies/A2OSX.SRC.po differ