2023-01-31 06:55:01 +00:00
|
|
|
|
NEW
|
|
|
|
|
AUTO 3,1
|
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
.OR $2000
|
|
|
|
|
.TF bin/gopher
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
* mirrors.apple2.org.za
|
|
|
|
|
* gopherpedia.com
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.INB inc/macros.i
|
|
|
|
|
.INB inc/a2osx.i
|
|
|
|
|
.INB inc/eth.i
|
|
|
|
|
.INB inc/net.tcpip.i
|
|
|
|
|
.INB inc/libtcpip.i
|
|
|
|
|
.INB inc/libtui.i
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
TIMEOUT.MAX .EQ 250 25 sec.
|
2023-01-31 06:55:01 +00:00
|
|
|
|
BUFSIZE .EQ 4096
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.DUMMY
|
|
|
|
|
.OR ZPBIN
|
|
|
|
|
ZS.START
|
|
|
|
|
ZPIPCfgPtr .BS 2
|
|
|
|
|
ZPBufPtr .BS 2
|
|
|
|
|
ZPLinePtr .BS 2
|
|
|
|
|
ZPFramePtr .BS 2
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
ZPnFrameLen .BS 2
|
|
|
|
|
|
|
|
|
|
hBuf .BS 1
|
|
|
|
|
hLine .BS 1
|
|
|
|
|
hSocket .BS 1
|
|
|
|
|
hFrame .BS 1
|
|
|
|
|
|
|
|
|
|
TimeOut .BS 1
|
|
|
|
|
|
|
|
|
|
hCTX .BS 1
|
|
|
|
|
hSCR .BS 1
|
|
|
|
|
hTBOX .BS 1
|
|
|
|
|
|
|
|
|
|
TargetHost .BS 2
|
|
|
|
|
TargetPort .BS 2
|
|
|
|
|
TargetSelector .BS 2
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ZPPtr1 .BS 2
|
2023-01-31 06:55:01 +00:00
|
|
|
|
ZS.END .ED
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
* File Header (16 Bytes)
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.START cld
|
|
|
|
|
jmp (.1,x)
|
|
|
|
|
.DA #$61 6502,Level 1 (65c02)
|
|
|
|
|
.DA #1 BIN Layout Version 1
|
|
|
|
|
.DA #S.PS.F.EVENT S.PS.F
|
|
|
|
|
.DA #0
|
|
|
|
|
.DA CS.END-CS.START Code Size (without Constants)
|
|
|
|
|
.DA DS.END-DS.START Data Segment Size
|
|
|
|
|
.DA #64 Stack Size
|
|
|
|
|
.DA #ZS.END-ZS.START Zero Page Size
|
|
|
|
|
.DA 0
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.1 .DA CS.INIT
|
|
|
|
|
.DA CS.RUN
|
|
|
|
|
.DA CS.DOEVENT
|
|
|
|
|
.DA CS.QUIT
|
|
|
|
|
L.LIBTCPIP .DA LIBTCPIP
|
|
|
|
|
L.LIBTUI .DA LIBTUI
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
L.MSG.ScrTitle0 .DA MSG.ScrTitle0
|
2023-01-31 06:55:01 +00:00
|
|
|
|
L.MSG.ScrTitle .DA MSG.ScrTitle
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
L.MSG.IPKO .DA MSG.IPKO
|
|
|
|
|
L.MSG.USAGE .DA MSG.USAGE
|
|
|
|
|
L.MSG.CRLF .DA MSG.CRLF
|
2023-03-26 17:42:38 +00:00
|
|
|
|
L.MSG.NULL .DA MSG.NULL
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
L.MSG.CONNECT .DA MSG.CONNECT
|
|
|
|
|
L.MSG.GETTING .DA MSG.GETTING
|
|
|
|
|
L.MSG.OK .DA MSG.OK
|
2023-01-31 06:55:01 +00:00
|
|
|
|
L.MSG.ERROR .DA MSG.ERROR
|
2023-03-26 17:42:38 +00:00
|
|
|
|
L.MSG.GOTO .DA MSG.GOTO
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
J.items2Buf .DA CS.Net.File2Buf
|
|
|
|
|
.DA CS.Net.Dir2Buf
|
|
|
|
|
.DA CS.Net.Search2Buf
|
|
|
|
|
.DA CS.Net.Info2Buf
|
|
|
|
|
|
|
|
|
|
J.items2HL .DA CS.Net.File2HL
|
|
|
|
|
.DA CS.Net.Dir2HL
|
|
|
|
|
.DA CS.Net.Search2HL
|
|
|
|
|
.DA CS.Net.Info2HL
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.DA 0
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.INIT >LDYA L.LIBTCPIP
|
|
|
|
|
>SYSCALL LoadLib
|
|
|
|
|
bcs .9
|
|
|
|
|
|
|
|
|
|
sta hLIBTCPIP
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LDYA L.LIBTUI
|
|
|
|
|
>SYSCALL LoadLib
|
|
|
|
|
bcs .9
|
|
|
|
|
|
|
|
|
|
sta hLIBTUI
|
|
|
|
|
|
|
|
|
|
.9
|
|
|
|
|
CS.INIT.RTS rts
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.RUN.USAGE >LDYA L.MSG.USAGE
|
|
|
|
|
>SYSCALL PutS
|
|
|
|
|
lda #E.SYN
|
|
|
|
|
sec
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
2023-01-31 06:55:01 +00:00
|
|
|
|
CS.RUN jsr CS.Net.Init
|
|
|
|
|
bcs CS.INIT.RTS
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
lda #1
|
|
|
|
|
>SYSCALL ArgV
|
|
|
|
|
bcs CS.RUN.USAGE
|
|
|
|
|
|
|
|
|
|
phy
|
|
|
|
|
pha
|
|
|
|
|
|
|
|
|
|
>PUSHEA.G NET.HyperLink+1
|
|
|
|
|
|
|
|
|
|
pla
|
|
|
|
|
>PUSHA
|
|
|
|
|
pla
|
|
|
|
|
>PUSHA
|
|
|
|
|
>SYSCALL strcpy
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
>LDYAI BUFSIZE
|
|
|
|
|
>SYSCALL GetMem
|
|
|
|
|
bcs CS.INIT.RTS
|
|
|
|
|
|
|
|
|
|
stx hBuf
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LDYAI 256
|
|
|
|
|
>SYSCALL GetMem
|
|
|
|
|
bcs CS.INIT.RTS
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>STYA ZPLinePtr
|
|
|
|
|
stx hLine
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
jsr CS.Scr.Init
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bcs CS.INIT.RTS
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.RUN.LOOP0 jsr CS.Scr.SetStatusConn
|
|
|
|
|
bcs CS.RUN.LOOP.9
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.ParseHL
|
|
|
|
|
jsr CS.Scr.SetStatusOkErr
|
|
|
|
|
bcs CS.RUN.LOOP
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.Connect
|
|
|
|
|
jsr CS.Scr.SetStatusOkErr
|
|
|
|
|
bcs CS.RUN.LOOP
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.Get
|
|
|
|
|
jsr CS.Scr.SetStatusOkErr
|
|
|
|
|
bcs CS.RUN.LOOP
|
|
|
|
|
|
|
|
|
|
jsr CS.Scr.SetTitle
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Scr.SetBuf
|
2023-03-26 17:42:38 +00:00
|
|
|
|
jsr CS.Scr.SetStatusOkErr
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
2023-04-22 18:58:37 +00:00
|
|
|
|
CS.RUN.LOOP >SLEEP
|
|
|
|
|
|
|
|
|
|
lda hSCR
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.Exec
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bcs CS.RUN.LOOP.9
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
tay
|
|
|
|
|
beq CS.RUN.LOOP No Event
|
|
|
|
|
|
|
|
|
|
cmp #3
|
2023-03-26 17:42:38 +00:00
|
|
|
|
beq CS.RUN.LOOP.9
|
|
|
|
|
|
|
|
|
|
cmp #EV.HL.SELECTED
|
|
|
|
|
bne .1
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
jsr CS.Scr.SetStatusGoto
|
|
|
|
|
bcc CS.RUN.LOOP
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.1 cmp #EV.HL.PRESSED
|
|
|
|
|
bne CS.RUN.LOOP
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.GetHL
|
|
|
|
|
bcc CS.RUN.LOOP0
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
tay
|
|
|
|
|
beq CS.RUN.LOOP
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.RUN.LOOP.9 rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.DOEVENT lda (pEvent)
|
|
|
|
|
bpl .9 is it a TIMER event?
|
|
|
|
|
|
|
|
|
|
lda TimeOut
|
|
|
|
|
beq .9
|
|
|
|
|
|
|
|
|
|
dec TimeOut
|
|
|
|
|
|
|
|
|
|
.9 sec do not discard TIMER event
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
2023-02-10 18:19:29 +00:00
|
|
|
|
CS.QUIT lda hCTX
|
|
|
|
|
beq .10
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.Close
|
|
|
|
|
|
|
|
|
|
.10 lda hLIBTUI
|
|
|
|
|
beq .1
|
|
|
|
|
|
|
|
|
|
>SYSCALL UnloadLib
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.1 lda hSocket
|
|
|
|
|
beq .2
|
|
|
|
|
|
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Shutdown
|
|
|
|
|
|
|
|
|
|
.2 lda hBuf
|
|
|
|
|
beq .3
|
|
|
|
|
|
|
|
|
|
>SYSCALL FreeMem
|
|
|
|
|
|
|
|
|
|
.3 lda hLine
|
|
|
|
|
beq .4
|
|
|
|
|
|
|
|
|
|
>SYSCALL FreeMem
|
|
|
|
|
|
|
|
|
|
.4 lda hLIBTCPIP
|
|
|
|
|
beq .8
|
|
|
|
|
|
|
|
|
|
>SYSCALL UnloadLib
|
|
|
|
|
|
|
|
|
|
.8 clc
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Init >LIBCALL hLIBTCPIP,LIBTCPIP.GETCFG is TCPIP loaded ?
|
|
|
|
|
>STYA ZPIPCfgPtr
|
|
|
|
|
lda (ZPIPCfgPtr) Configured ?
|
|
|
|
|
bpl .97
|
|
|
|
|
|
|
|
|
|
ldy #S.IPCFG.IP+3
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ldx #4
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
.1 lda (ZPIPCfgPtr),y
|
2023-03-26 17:42:38 +00:00
|
|
|
|
pha
|
2023-01-31 06:55:01 +00:00
|
|
|
|
dey
|
|
|
|
|
dex
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bne .1
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ldy #SA.LOCAL+S.SOCKADDR.ADDR
|
|
|
|
|
ldx #4
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.2 pla
|
|
|
|
|
sta (pData),y
|
|
|
|
|
iny
|
|
|
|
|
dex
|
|
|
|
|
bne .2
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
lda #AF.INET
|
2023-03-26 17:42:38 +00:00
|
|
|
|
>STA.G SA.LOCAL+S.SOCKADDR.AF
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>STA.G SA.REMOTE+S.SOCKADDR.AF
|
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.97 >LDYA L.MSG.IPKO
|
|
|
|
|
>SYSCALL PutS
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda #E.SYN
|
|
|
|
|
sec
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.99 rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.ParseHL >LEA.G NET.HyperLink+1
|
|
|
|
|
>STYA ZPPtr1
|
|
|
|
|
>STYA TargetHost
|
|
|
|
|
|
|
|
|
|
lda (ZPPtr1)
|
|
|
|
|
beq .9
|
|
|
|
|
|
|
|
|
|
cmp #'/'
|
|
|
|
|
beq .50
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ldy #$ff
|
|
|
|
|
|
|
|
|
|
.1 iny
|
|
|
|
|
lda (ZPPtr1),y
|
|
|
|
|
bne .2
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.Resolve host\0
|
|
|
|
|
bcs .99
|
|
|
|
|
|
|
|
|
|
>LDYAI 70
|
|
|
|
|
>STYA TargetPort
|
|
|
|
|
bra .7
|
|
|
|
|
|
|
|
|
|
.9 lda #E.SYN
|
|
|
|
|
sec
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.99 rts
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
.2 eor #':'
|
|
|
|
|
beq .3
|
|
|
|
|
|
|
|
|
|
eor #'/'
|
|
|
|
|
bne .1
|
|
|
|
|
|
|
|
|
|
lda #70
|
|
|
|
|
sta TargetPort Default PORT
|
|
|
|
|
lda /70
|
|
|
|
|
sta TargetPort+1
|
|
|
|
|
bra .5
|
|
|
|
|
|
|
|
|
|
.3 lda #0 host:Port, stop HOST here
|
|
|
|
|
sta (ZPPtr1),y
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.AddYp1Ptr1
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.Resolve
|
|
|
|
|
bcs .99
|
|
|
|
|
|
|
|
|
|
>LDYA ZPPtr1
|
|
|
|
|
>SYSCALL AToI
|
|
|
|
|
>STYA TargetPort
|
|
|
|
|
|
|
|
|
|
ldy #$ff
|
|
|
|
|
|
|
|
|
|
.4 iny
|
|
|
|
|
lda (ZPPtr1),y
|
|
|
|
|
beq .7
|
|
|
|
|
|
|
|
|
|
eor #'/'
|
|
|
|
|
bne .4
|
|
|
|
|
|
|
|
|
|
.5 jsr CS.Net.AddYp1Ptr1
|
|
|
|
|
bra .6
|
|
|
|
|
|
|
|
|
|
.50 >LDYA L.MSG.NULL
|
|
|
|
|
>STYA TargetHost
|
|
|
|
|
|
|
|
|
|
.6 >LDYA ZPPtr1
|
|
|
|
|
>STYA TargetSelector
|
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
.7 >LDYA L.MSG.NULL
|
|
|
|
|
>STYA TargetSelector
|
|
|
|
|
|
|
|
|
|
.8 clc
|
|
|
|
|
rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.Net.AddYp1Ptr1
|
|
|
|
|
tya
|
|
|
|
|
sec skip :
|
|
|
|
|
adc ZPPtr1
|
|
|
|
|
sta ZPPtr1
|
|
|
|
|
tay
|
|
|
|
|
lda ZPPtr1+1
|
|
|
|
|
clc
|
|
|
|
|
adc #0
|
|
|
|
|
sta ZPPtr1+1
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Resolve lda #TIMEOUT.MAX
|
2023-01-31 06:55:01 +00:00
|
|
|
|
sta TimeOut
|
|
|
|
|
|
|
|
|
|
.1 >SLEEP
|
|
|
|
|
|
|
|
|
|
>PUSHEA.G SA.REMOTE+S.SOCKADDR.ADDR
|
2023-03-26 17:42:38 +00:00
|
|
|
|
>PUSHEA.G NET.HyperLink+1
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.HST.GetByName
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bcc .9
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ldx TimeOut
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bne .1
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.9 rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Connect >PUSHBI S.SOCKET.T.SEQPKT
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>PUSHBI 0
|
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Socket
|
|
|
|
|
bcs .9
|
|
|
|
|
|
|
|
|
|
sta hSocket
|
|
|
|
|
|
|
|
|
|
>PUSHA
|
2023-03-26 17:42:38 +00:00
|
|
|
|
>PUSHEA.G SA.LOCAL
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Bind
|
|
|
|
|
bcs .9
|
|
|
|
|
|
|
|
|
|
>LDYA TargetPort
|
|
|
|
|
>STYA.G SA.REMOTE+S.SOCKADDR.PORT
|
|
|
|
|
|
|
|
|
|
lda #TIMEOUT.MAX
|
|
|
|
|
sta TimeOut
|
|
|
|
|
|
|
|
|
|
.1 >SLEEP
|
|
|
|
|
|
|
|
|
|
>PUSHB hSocket
|
|
|
|
|
>PUSHEA.G SA.REMOTE
|
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Connect
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bcc .9
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ldx TimeOut
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bne .1
|
|
|
|
|
|
|
|
|
|
.9 rts
|
2023-03-26 17:42:38 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Get >PUSHEA.G SCR.StatusBuf
|
|
|
|
|
>PUSHW L.MSG.GETTING
|
|
|
|
|
>PUSHW TargetSelector
|
|
|
|
|
>PUSHBI 2
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>SYSCALL SPrintF
|
|
|
|
|
jsr CS.Scr.SetStatus
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda hBuf
|
|
|
|
|
>SYSCALL GetMemPtr
|
|
|
|
|
>STYA ZPBufPtr
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
lda #0 Reset Buffer
|
2023-01-31 06:55:01 +00:00
|
|
|
|
sta (ZPBufPtr)
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>PUSHB hSocket
|
2023-03-26 17:42:38 +00:00
|
|
|
|
>PUSHW ZPLinePtr
|
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
ldy #$ff
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.1 iny
|
|
|
|
|
lda (TargetSelector),y
|
2023-03-26 17:42:38 +00:00
|
|
|
|
sta (ZPLinePtr),y
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bne .1
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
lda #C.CR
|
|
|
|
|
sta (ZPLinePtr),y
|
|
|
|
|
iny
|
|
|
|
|
|
|
|
|
|
lda #C.LF
|
|
|
|
|
sta (ZPLinePtr),y
|
|
|
|
|
iny
|
|
|
|
|
|
|
|
|
|
lda #0
|
|
|
|
|
sta (ZPLinePtr),y
|
|
|
|
|
iny
|
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>PUSHYA
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Send
|
|
|
|
|
bcs .9
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
lda #0
|
|
|
|
|
sta (ZPLinePtr)
|
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.2 >SLEEP
|
|
|
|
|
|
|
|
|
|
lda hSocket
|
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Recv
|
|
|
|
|
bcc .3
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
cmp #E.NODATA
|
|
|
|
|
beq .2
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
lda hSocket
|
|
|
|
|
>LIBCALL hLIBTCPIP,LIBTCPIP.Shutdown
|
|
|
|
|
|
|
|
|
|
stz hSocket
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
.3 jsr CS.Net.GetFrame
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.GetLines
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lda hFrame
|
|
|
|
|
>SYSCALL FreeMem
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bra .2
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.9 rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.GetFrame sta hFrame
|
|
|
|
|
>SYSCALL GetMemPtr
|
|
|
|
|
>STYA ZPFramePtr
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
ldy #S.IP.TOTAL.LENGTH+1
|
|
|
|
|
lda (ZPFramePtr),y
|
|
|
|
|
sec
|
|
|
|
|
sbc #S.TCP-S.ETH.EII
|
|
|
|
|
eor #$ff
|
|
|
|
|
sta ZPnFrameLen
|
|
|
|
|
|
|
|
|
|
dey
|
|
|
|
|
|
|
|
|
|
lda (ZPFramePtr),y
|
|
|
|
|
sbc /S.TCP-S.ETH.EII
|
|
|
|
|
eor #$ff
|
|
|
|
|
sta ZPnFrameLen+1
|
|
|
|
|
|
|
|
|
|
lda ZPFramePtr
|
|
|
|
|
clc
|
|
|
|
|
adc #S.TCP
|
|
|
|
|
sta ZPFramePtr
|
|
|
|
|
bcc .8
|
|
|
|
|
|
|
|
|
|
inc ZPFramePtr+1
|
|
|
|
|
|
|
|
|
|
.8 rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.GetLines ldy #$ff
|
|
|
|
|
|
|
|
|
|
.1 iny
|
|
|
|
|
lda (ZPLinePtr),y
|
|
|
|
|
bne .1
|
|
|
|
|
|
|
|
|
|
.2 jsr CS.Net.GetChar
|
|
|
|
|
bcs .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
cmp #C.LF
|
|
|
|
|
beq .3
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
sta (ZPLinePtr),y
|
|
|
|
|
iny
|
|
|
|
|
bra .2
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.3 lda #0
|
|
|
|
|
sta (ZPLinePtr),y
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.Line2Buf
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda #0
|
|
|
|
|
sta (ZPLinePtr)
|
|
|
|
|
tay
|
|
|
|
|
bra .2
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
.8 lda #0
|
|
|
|
|
sta (ZPLinePtr),y
|
|
|
|
|
clc
|
2023-01-31 06:55:01 +00:00
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Line2Buf lda (ZPLinePtr)
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
ldx #ITEMTYPES.L
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.1 cmp ITEMTYPES-1,x
|
2023-01-31 06:55:01 +00:00
|
|
|
|
beq .2
|
|
|
|
|
|
|
|
|
|
dex
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bne .1
|
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bra .6
|
|
|
|
|
|
|
|
|
|
.2 txa
|
|
|
|
|
asl
|
|
|
|
|
tax
|
2023-03-26 17:42:38 +00:00
|
|
|
|
jmp (J.items2Buf-2,x)
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
.6 ldy #$ff
|
|
|
|
|
|
|
|
|
|
.7 iny
|
|
|
|
|
lda (ZPLinePtr),y
|
|
|
|
|
sta (ZPBufPtr),y
|
|
|
|
|
bne .7
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
tya
|
|
|
|
|
clc
|
|
|
|
|
adc ZPBufPtr
|
|
|
|
|
sta ZPBufPtr
|
|
|
|
|
bcc .8
|
|
|
|
|
|
|
|
|
|
inc ZPBufPtr+1
|
|
|
|
|
|
|
|
|
|
.8 rts
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
* hyperlinks: [[text to show]targetUrl]
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.Net.File2Buf
|
|
|
|
|
CS.Net.Dir2Buf
|
|
|
|
|
CS.Net.Search2Buf
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda #'['
|
|
|
|
|
jsr CS.Net.Char2Buf
|
|
|
|
|
jsr CS.Net.Char2Buf
|
|
|
|
|
|
|
|
|
|
ldy #0
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.Token2Buf
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
lda #']'
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.Char2Buf
|
|
|
|
|
|
|
|
|
|
phy save Selector pos
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
txa
|
|
|
|
|
jsr CS.Net.Char2Buf Type
|
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.SkipToken
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.Token2Buf address
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda #':'
|
|
|
|
|
jsr CS.Net.Char2Buf
|
|
|
|
|
|
|
|
|
|
jsr CS.Net.Token2Buf port
|
|
|
|
|
|
|
|
|
|
ply
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.Token2Buf selector
|
|
|
|
|
|
|
|
|
|
lda #']'
|
|
|
|
|
jsr CS.Net.Char2Buf
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
lda #C.CR
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.Char2Buf
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda #0
|
|
|
|
|
sta (ZPBufPtr)
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.Net.Info2Buf ldy #0
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
jsr CS.Net.Token2Buf
|
|
|
|
|
|
|
|
|
|
lda #C.CR
|
|
|
|
|
jsr CS.Net.Char2Buf
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda #0
|
|
|
|
|
sta (ZPBufPtr)
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Token2Buf
|
|
|
|
|
iny
|
|
|
|
|
lda (ZPLinePtr),y
|
|
|
|
|
cmp #C.TAB
|
|
|
|
|
beq .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
cmp #C.CR
|
|
|
|
|
beq .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Net.Char2Buf
|
|
|
|
|
bra CS.Net.Token2Buf
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
.8 rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.SkipToken
|
|
|
|
|
iny
|
|
|
|
|
lda (ZPLinePtr),y
|
|
|
|
|
cmp #C.TAB
|
|
|
|
|
beq .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
cmp #C.CR
|
|
|
|
|
beq .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
bra CS.Net.SkipToken
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
.8 rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.Char2Buf sta (ZPBufPtr)
|
|
|
|
|
|
|
|
|
|
inc ZPBufPtr
|
|
|
|
|
bne .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
inc ZPBufPtr+1
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
.8 rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.GetChar inc ZPnFrameLen
|
|
|
|
|
bne .1
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
inc ZPnFrameLen+1
|
|
|
|
|
beq .9
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
.1 lda (ZPFramePtr)
|
|
|
|
|
inc ZPFramePtr
|
|
|
|
|
bne .8
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
inc ZPFramePtr+1
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
.8 clc
|
2023-01-31 06:55:01 +00:00
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
.9 sec
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.Net.GetHL >LDA.G NET.HyperLink
|
|
|
|
|
tax
|
|
|
|
|
jmp (J.items2HL-2,x)
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
|
|
|
|
|
CS.Net.Search2HL
|
|
|
|
|
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Net.File2HL
|
|
|
|
|
CS.Net.Dir2HL
|
|
|
|
|
CS.Net.Info2HL clc
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
2023-01-31 06:55:01 +00:00
|
|
|
|
CS.Scr.Init >LIBCALL hLIBTUI,LIBTUI.Init
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bcs .99
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
sta hCTX
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>PUSHA hCTX
|
|
|
|
|
>PUSHBI S.OBJ.F.bTitle+S.OBJ.F.bStatus
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.NewScrn
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bcs .99
|
2023-01-31 06:55:01 +00:00
|
|
|
|
|
|
|
|
|
sta hSCR
|
|
|
|
|
|
2023-03-26 17:42:38 +00:00
|
|
|
|
jsr CS.Scr.SetTitle0
|
2023-01-31 06:55:01 +00:00
|
|
|
|
jsr CS.Scr.SetStatus
|
|
|
|
|
|
|
|
|
|
>PUSHB hSCR
|
|
|
|
|
>PUSHBI 0 X1
|
|
|
|
|
>PUSHBI 0 Y1
|
|
|
|
|
>PUSHBI 80 W
|
|
|
|
|
>PUSHBI 22 H
|
2023-02-10 18:19:29 +00:00
|
|
|
|
>PUSHBI 0 F
|
2023-01-31 06:55:01 +00:00
|
|
|
|
lda hBuf
|
|
|
|
|
>SYSCALL GetMemPtr
|
|
|
|
|
>PUSHYA
|
|
|
|
|
>PUSHWI BUFSIZE
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.NewTBox
|
2023-03-26 17:42:38 +00:00
|
|
|
|
.99 bcs .9
|
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
sta hTBOX
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.Activate
|
2023-03-26 17:42:38 +00:00
|
|
|
|
bcs .9
|
|
|
|
|
|
|
|
|
|
>PUSHB hTBOX
|
|
|
|
|
>PUSHBI S.OBJ.pVar
|
|
|
|
|
>PUSHEA.G NET.HyperLink
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.SetProp
|
|
|
|
|
|
|
|
|
|
.9 rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Scr.SetTitle0
|
|
|
|
|
>PUSHB hSCR
|
|
|
|
|
>PUSHBI S.OBJ.pTITLE
|
|
|
|
|
>PUSHW L.MSG.ScrTitle0
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.SetProp
|
|
|
|
|
rts
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Scr.SetTitle >PUSHEA.G SCR.TitleBuf
|
|
|
|
|
>PUSHW L.MSG.ScrTitle
|
2023-03-26 17:42:38 +00:00
|
|
|
|
>PUSHW TargetHost
|
|
|
|
|
>PUSHW TargetPort
|
2023-01-31 06:55:01 +00:00
|
|
|
|
>PUSHW TargetSelector
|
|
|
|
|
>PUSHBI 6
|
|
|
|
|
>SYSCALL SPrintF
|
|
|
|
|
|
|
|
|
|
>PUSHB hSCR
|
|
|
|
|
>PUSHBI S.OBJ.pTITLE
|
|
|
|
|
>PUSHEA.G SCR.TitleBuf
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.SetProp
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Scr.SetBuf >PUSHB hTBOX
|
|
|
|
|
>PUSHBI S.OBJ.pBuf
|
|
|
|
|
lda hBuf
|
|
|
|
|
>SYSCALL GetMemPtr
|
|
|
|
|
>PUSHYA
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.SetProp
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
CS.Scr.SetStatusConn
|
|
|
|
|
>PUSHEA.G SCR.StatusBuf
|
|
|
|
|
>PUSHW L.MSG.CONNECT
|
|
|
|
|
>PUSHEA.G NET.HyperLink+1
|
|
|
|
|
>PUSHBI 2
|
|
|
|
|
>SYSCALL SPrintF
|
|
|
|
|
jmp CS.Scr.SetStatus
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Scr.SetStatusGoto
|
|
|
|
|
>PUSHEA.G SCR.StatusBuf skip type
|
|
|
|
|
>PUSHW L.MSG.GOTO
|
|
|
|
|
>PUSHEA.G NET.HyperLink+1
|
|
|
|
|
>PUSHBI 2
|
|
|
|
|
>SYSCALL SPrintF
|
|
|
|
|
bra CS.Scr.SetStatus
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.Scr.SetStatusOkErr
|
|
|
|
|
bcc .1
|
|
|
|
|
|
|
|
|
|
pha
|
|
|
|
|
>PUSHEA.G SCR.StatusBuf
|
|
|
|
|
>PUSHW L.MSG.ERROR
|
|
|
|
|
pla
|
|
|
|
|
pha
|
|
|
|
|
>PUSHA
|
|
|
|
|
>PUSHBI 1
|
|
|
|
|
>SYSCALL SPrintF
|
|
|
|
|
jsr CS.Scr.SetStatus
|
|
|
|
|
pla
|
|
|
|
|
sec
|
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
.1 >PUSHEA.G SCR.StatusBuf
|
|
|
|
|
>PUSHW L.MSG.OK
|
|
|
|
|
>PUSHBI 0
|
|
|
|
|
>SYSCALL SPrintF
|
|
|
|
|
*--------------------------------------
|
2023-01-31 06:55:01 +00:00
|
|
|
|
CS.Scr.SetStatus
|
|
|
|
|
>PUSHB hSCR
|
|
|
|
|
>PUSHBI S.OBJ.pSTATUS
|
|
|
|
|
>PUSHEA.G SCR.StatusBuf
|
|
|
|
|
>LIBCALL hLIBTUI,LIBTUI.SetProp
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.END
|
|
|
|
|
LIBTCPIP .AZ "libtcpip"
|
|
|
|
|
hLIBTCPIP .BS 1
|
|
|
|
|
LIBTUI .AZ "libtui"
|
|
|
|
|
hLIBTUI .BS 1
|
|
|
|
|
*--------------------------------------
|
2023-03-26 17:42:38 +00:00
|
|
|
|
MSG.ScrTitle0 .CZ "A2osX-GOPHER - <Ctrl-Q>uit"
|
|
|
|
|
MSG.ScrTitle .CZ "A2osX-GOPHER %s:%D/%s - <Ctrl-Q>uit"
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
MSG.IPKO .CZ "TCP/IP Not Loaded/Configured.\r\n"
|
2023-03-26 17:42:38 +00:00
|
|
|
|
MSG.USAGE .CS "Usage : GOPHER <ip|host[:port][/selector]"
|
2023-01-31 06:55:01 +00:00
|
|
|
|
MSG.CRLF .CS "\r\n"
|
|
|
|
|
MSG.NULL .HS 00
|
2023-03-26 17:42:38 +00:00
|
|
|
|
MSG.CONNECT .CZ "Connect: %s..."
|
|
|
|
|
MSG.GETTING .CZ "Getting: /%s..."
|
|
|
|
|
MSG.OK .CZ "Ok"
|
|
|
|
|
MSG.ERROR .CZ "Error: $%h"
|
|
|
|
|
MSG.GOTO .CZ "Goto: %s"
|
2023-01-31 06:55:01 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
ITEMTYPES .AS "017i"
|
|
|
|
|
ITEMTYPES.L .EQ *-ITEMTYPES
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.DUMMY
|
|
|
|
|
.OR 0
|
2023-03-26 17:42:38 +00:00
|
|
|
|
DS.START
|
|
|
|
|
SA.LOCAL .BS S.SOCKADDR
|
2023-01-31 06:55:01 +00:00
|
|
|
|
SA.REMOTE .BS S.SOCKADDR
|
|
|
|
|
|
|
|
|
|
SCR.TitleBuf .BS 80
|
|
|
|
|
SCR.StatusBuf .BS 80
|
2023-03-26 17:42:38 +00:00
|
|
|
|
|
|
|
|
|
NET.HyperLink .BS 80
|
2023-01-31 06:55:01 +00:00
|
|
|
|
DS.END .ED
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
|
|
|
|
SAVE usr/src/bin/gopher.s
|
|
|
|
|
ASM
|