From 1d0be01d265af1933c6dd9da1e94f918388ec047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GIBERT?= Date: Wed, 12 Sep 2018 22:48:12 +0200 Subject: [PATCH] Kernel 0.9.2 --- .Floppies/A2OSX.BUILD.po | Bin 819200 -> 819200 bytes .Floppies/A2OSX.SRC.po | Bin 819200 -> 819200 bytes SBIN/GETTY.S.txt | 44 +++++++++++++++++++++++++++++---------- 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/.Floppies/A2OSX.BUILD.po b/.Floppies/A2OSX.BUILD.po index fd37d9780ffcfe0ed14951717f6ab68d347a15a6..b3dba048ffb6c2927c8846f8037357b53947d66a 100644 GIT binary patch delta 374 zcmZo@FluNp+7Qpmq$##Jk@XcD6NAQPU!JN3s;cg;At8|raKIMF#LS?|#89gwC!oym zm_b2DRa30_&6@3R)-cL!l{&}h%HRN0tfG*o(4{z2@tootMQ$YpB{rq$3Q0@_jNa2H zCNas?>nJQ!R1ny^NKJuZ?*`tJ|3AnsQUWq3ur~-PtW})wWF^z0O+fylML;4!B0*sr zLiJ}LXMw}STX5~)Kmv{vZ!K`xcNZ87okAW9{-4-* z>%#AhiMLLyWSDrX;Vz2C>8i<0#*AC1M z0(0AB0jA1j&Mb_}_OUQ=rNk7)K> zGwIGshUo@gOrrH01Qf~?S28Wyq`Ifkh$U80*8sWka&(0Z!K`x zc6%GmcrDQ!n`bnC1SBb3)8ZFEKJjO wu>>$KnjW}|jq?JH*y@h`sF)N82IJwnJRY4sq`T0KD6SH~;_u diff --git a/.Floppies/A2OSX.SRC.po b/.Floppies/A2OSX.SRC.po index 9d0bb10ca94daaecfd29e9dd71eb8119085a8066..d8e5b012684ff9cd74d1511509b5f941913df928 100644 GIT binary patch delta 2748 zcmZWrd2|zH5TD)6CfnV##Zqb$RJ__1 z4JfrD`239L^Pt`*D&BxTZ=d&#h>G`p-`9M5gb?#b-tK&J{AT7i^X#|c{w>Ue z4GjD1C2z9=W7nVFVaFy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179f9 100644 --- a/SBIN/GETTY.S.txt +++ b/SBIN/GETTY.S.txt @@ -35,6 +35,7 @@ L.MSG.USAGE .DA MSG.USAGE L.MSG.GREETINGS .DA MSG.GREETINGS L.TELNETOPTS .DA TELNETOPTS L.ENV.TERM .DA ENV.TERM +L.MSG.DEBUG .DA MSG.DEBUG .DA 0 End Of Reloc Table *-------------------------------------- CS.INIT ldy #S.PS.ARGC @@ -93,19 +94,21 @@ CS.RUN >PUSHWI TELNETOPTS.LEN jsr Init.Timeout CS.RUN.LOOP -* >SLEEP + >SLEEP -*.1 >SYSCALL GetChar -* bcs .2 - -* cmp #IAC -* beq CS.RUN.IACMODE - -*.2 jsr Wait.Timeout -* bcc .1 +.1 >SYSCALL GetChar + bcs .2 + cmp #IAC + beq CS.RUN.IACMODE + >SYSCALL PutChar + bcc .8 + bra CS.RUN.8 + +.2 jsr Wait.Timeout + bcc CS.RUN.LOOP - lda #2 +.8 lda #2 >SYSCALL GetArg >SYSCALL ExecPS @@ -114,15 +117,21 @@ CS.RUN.LOOP CS.RUN.8 clc rts *-------------------------------------- -CS.RUN.IACMODE >SLEEP Wait for IAC VERB (or SB) +CS.RUN.IACMODE jsr PrintHEX + + >SLEEP Wait for IAC VERB (or SB) >SYSCALL GetChar bcs CS.RUN.IACMODE + jsr PrintHEX + >STA.G IAC.VERB .1 >SLEEP Wait for IAC OPT >SYSCALL GetChar bcs .1 + + jsr PrintHEX >STA.G IAC.OPT @@ -139,6 +148,7 @@ CS.RUN.IACSB >SYSCALL GetChar bcs .1 + jsr PrintHEX >STA.G IAC.SB lda #0 @@ -148,6 +158,7 @@ CS.RUN.IACSB >SYSCALL GetChar bcs .2 + jsr PrintHEX cmp #IAC beq .4 end of DATA, go wait SE @@ -170,6 +181,8 @@ CS.RUN.IACSB >SYSCALL GetChar bcs .4 + jsr PrintHEX + cmp #SE bne .8 @@ -217,9 +230,18 @@ Wait.TimeOut sec clc .9 rts *-------------------------------------- +PrintHEX pha + >PUSHA + >PUSHBI 1 + >LDYA L.MSG.DEBUG + >SYSCALL printf + pla + rts +*-------------------------------------- CS.END MSG.USAGE .AZ "Usage : GETTY " MSG.GREETINGS .AZ "\r\nA2osX-GeTTY %d.%d\r\n" +MSG.DEBUG .AZ "{%h}" *-------------------------------------- TELNETOPTS .DA #IAC,#WILL,#TELOPT.BINARY .DA #IAC,#WILL,#TELOPT.ECHO