From 6c3cea75ae92bd76171db321db1cc11187228b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GIBERT?= Date: Tue, 23 Jun 2020 08:19:11 +0200 Subject: [PATCH] Kernel 0.94 --- .Floppies/A2OSX.BUILD.po | Bin 33553920 -> 33553920 bytes BIN/IRC.S.txt | 155 +++++++++++++++++++++------------------ 2 files changed, 84 insertions(+), 71 deletions(-) diff --git a/.Floppies/A2OSX.BUILD.po b/.Floppies/A2OSX.BUILD.po index 533f8ca3bbcf07426eba64dc084cb1c5fd8aa6d2..2d5ad4c76c200955d941756b6b23aa4f3f56f4ae 100644 GIT binary patch delta 10997 zcmbuFd014{`@qk=z%()}1GBOSBkO=Vv8q(g$flwQ#DM0KLWqI_BH;O|E#s6N&3#Ev zv=~yDloV>InWlX+Q!CT#$M1Q*kI%=s_uTiq=RN0r&w0`2wVVkUGVn)%-l!0{jzt409Q)o_5{VzK0@I3Ujx@4RJZm)ADSaHJ?I=VNn#s5 zeJM~9d!*?6qN4KxAOc=Hi_Uxhd0cw3sA!iDpa5Kok%S!~n5C91stffdn8C=no741_Bn~b|48z z22z03okhFSwx(%}XxsqkcwbF4I@d9Rjmjx14EDZEy3vh2=e6c~c4hF8~AuH?76Ff^g4w6P&;&a|SYh83(Z1qFqp zDqbd6(no+)esx_X7hBB5f+JCtT)2#D3+jhTD(5zVCb?qYpeU&%zp_p)364hhE|l`b$Y?tU zyG!#*P?(jLFRBg|Y;@Ih-%w!~J#(ZiOiaq8Doe0MjLxEgJ%0Vfuxz@~rU(^s=$Y3P z;X*F``!$707)~R1DeqKj*eH~58Dk$|Dagwny@c8AxC?YhLxnN)_)A_9LIIsTMG-BA71BSUbZ`;W%PY>dxa+xYP}tq_ zqfv!<1(Hhkh~1!m#dORyt4Xlax@*?Z&=L@|=iY6}$}C>Wtdg%$bSZ7SW{ny;R(@V` zPf2!u@nV+rj|RSb1nAq1xQ&7tyWebWgTi^Ek)GR zBhM-N#?R(b=K3Og!hm^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OOP >SLEEP - >PUSHW MSGSIZE + >PUSHWI MSGSIZE >PUSHW ZPMsgPtr - lda hSocket + lda hFile >SYSCALL fgets bcc .1 tay @@ -273,6 +276,30 @@ CS.RUN.ERR php plp rts *-------------------------------------- +CS.RUN.MkNod >PUSHEA.G NodBuf + >PUSHW L.NOD.Template + >PUSHB hSocket + >PUSHBI 1 + >SYSCALL sprintf + bcs .9 + + >PUSHEA.G NodBuf + >PUSHW 0 + >PUSHB hSocket + >SYSCALL mknod + bcs .9 + + >PUSHEA.G NodBuf + >PUSHBI O.RDWR+O.TEXT + >PUSHBI S.FI.T.TXT + >PUSHWZ Aux type + >SYSCALL FOpen + bcs .9 + + sta hFile + +.9 rts +*-------------------------------------- CS.RUN.GETBUF >LDYAI MSGSIZE >SYSCALL GetMem bcs .9 @@ -381,27 +408,21 @@ CS.RUN.TXTCLR lda #0 CS.RUN.NICK >LDYA L.MSG.NICK >SYSCALL PutS - >PUSHW ZPMsgPtr + >PUSHB hFile >PUSHW L.IRC.NICK lda #3 nickname >SYSCALL ArgV >PUSHYA >PUSHBI 2 - >SYSCALL SPrintF - bcs .9 - - >PUSHW ZPMsgPtr - lda hSocket - >SYSCALL fputs - >DEBUG + >SYSCALL FPrintF bcs .9 .1 >SLEEP - >PUSHW MSGSIZE + >PUSHWI MSGSIZE >PUSHW ZPMsgPtr - lda hSocket + lda hFile >SYSCALL fgets bcc .2 tay @@ -409,7 +430,10 @@ CS.RUN.NICK >LDYA L.MSG.NICK .9 rts -.2 jsr CS.RUN.SKIPPFX +.2 + >LDYA ZPMsgPtr + >SYSCALL puts + jsr CS.RUN.SKIPPFX ldx #$ff dey @@ -419,21 +443,19 @@ CS.RUN.NICK >LDYA L.MSG.NICK lda IRC.REP.NOIDENT,x beq .8 - cmp (ZPRepPtr),y + cmp (ZPMsgPtr),y beq .3 - jsr .8 - bra .1 - -.8 -* clc + +.8 clc rts *-------------------------------------- CS.RUN.USER >LDYA L.MSG.USER >SYSCALL PutS - >PUSHW ZPMsgPtr + >PUSHB hFile + >PUSHW L.IRC.USER lda #3 nickname @@ -443,19 +465,14 @@ CS.RUN.USER >LDYA L.MSG.USER >SYSCALL ArgV >PUSHYA >PUSHBI 4 - >SYSCALL SPrintF - bcs .9 - - >PUSHW ZPMsgPtr - lda hSocket - >SYSCALL fgets + >SYSCALL FPrintF bcs .9 .1 >SLEEP - >PUSHW MSGSIZE + >PUSHWI MSGSIZE >PUSHW ZPMsgPtr - lda hSocket + lda hFile >SYSCALL fgets bcc .2 tay @@ -463,7 +480,10 @@ CS.RUN.USER >LDYA L.MSG.USER .9 rts -.2 jsr CS.RUN.SKIPPFX +.2 + >LDYA ZPMsgPtr + >SYSCALL puts + jsr CS.RUN.SKIPPFX ldx #$ff dey @@ -473,22 +493,18 @@ CS.RUN.USER >LDYA L.MSG.USER lda IRC.REP.001,x beq .8 - cmp (ZPRepPtr),y + cmp (ZPMsgPtr),y beq .3 - jsr .8 - bra .1 - -.8 lda hRep - >SYSCALL FreeMem -* clc + +.8 clc rts *-------------------------------------- CS.RUN.JOIN >LDYA L.MSG.JOIN >SYSCALL PutS - >PUSHW ZPMsgPtr + >PUSHB hFile lda #5 key >SYSCALL ArgV @@ -513,18 +529,14 @@ CS.RUN.JOIN >LDYA L.MSG.JOIN >PUSHYA >PUSHBI 2 -.2 >SYSCALL SPrintF +.2 >SYSCALL FPrintF bcs .9 - - >PUSHW ZPMsgPtr - lda hSocket - >SYSCALL fputs - bcs .9 .3 >SLEEP + >PUSHWI MSGSIZE >PUSHW ZPMsgPtr - lda hSocket + lda hFile >SYSCALL fgets bcc .4 tay @@ -532,12 +544,8 @@ CS.RUN.JOIN >LDYA L.MSG.JOIN .9 rts -.4 - - - bra .8 - - +.4 >LDYA ZPMsgPtr + >SYSCALL puts jsr CS.RUN.SKIPPFX ldx #$ff @@ -548,16 +556,12 @@ CS.RUN.JOIN >LDYA L.MSG.JOIN lda IRC.REP.JOIN,x beq .8 - cmp (ZPRepPtr),y + cmp (ZPMsgPtr),y beq .5 - jsr .8 + bra .3 - bra .4 - -.8 lda hRep - >SYSCALL FreeMem -* clc +.8 clc rts *-------------------------------------- CS.RUN.REQ @@ -565,14 +569,14 @@ CS.RUN.REQ clc rts *-------------------------------------- -CS.RUN.SKIPPFX ldy #S.TCP - - lda (ZPRepPtr),y +CS.RUN.SKIPPFX ldy #0 + + lda (ZPMsgPtr) cmp #':' bne .8 .1 iny - lda (ZPRepPtr),y + lda (ZPMsgPtr),y cmp #C.SPACE bne .1 @@ -671,17 +675,22 @@ CS.DOEVENT lda (pEvent) .9 sec do not discard TIMER event rts *-------------------------------------- -CS.QUIT lda hSocket +CS.QUIT lda hFile beq .1 + + >SYSCALL fclose + +.1 lda hSocket + beq .2 >LIBCALL hLIBTCPIP,LIBTCPIP.Shutdown -.1 lda hMsg - beq .2 +.2 lda hMsg + beq .3 >SYSCALL FreeMem -.2 lda hLIBTCPIP +.3 lda hLIBTCPIP beq .8 >SYSCALL UnloadLib @@ -718,6 +727,7 @@ IRC.NICK .AZ "NICK %s\r\n" IRC.USER .AZ "USER %s 0 * :%s\r\n" IRC.JOIN .AZ "JOIN %s\r\n" IRC.JOINKEY .AZ "JOIN %s %s\r\n" +IRC.PONG .AZ "PONG %s\r\n" IRC.PRIVMSG .AZ "PRIVMSG %s :%s\r\n" *-------------------------------------- SEQ.INIT .AZ "\ec\e(B\e)0\e[?7l\e[2;19r" @@ -735,11 +745,14 @@ SA.REMOTE .DA #AF.INET S.SOCKADDR.AF .BS 1 .BS 4 S.SOCKADDR.ADDR .BS 2 +*-------------------------------------- +NOD.Template .AZ "/dev/irc%h" *-------------------------------------- .DUMMY .OR 0 DS.START TxtBuf .BS 240 +NodBuf .BS 11 DS.END .ED *--------------------------------------