Kernel version 0.9 : MEDIA reorganisation

This commit is contained in:
Rémy GIBERT 2017-03-29 17:48:15 +02:00
parent b190cfe5c9
commit c33f940a8b
155 changed files with 797 additions and 765 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,5 @@
PR#3
PREFIX /A2OSX.BOOT
DELETE A2OSX.SYSTEM
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 8
@ -233,6 +231,6 @@ MSG.INIT1OK >PSTR "A2osX[Stage1]:Complete."
.EP
*--------------------------------------
MAN
SAVE A2OSX.S.QC
LOAD A2OSX.S
SAVE /A2OSX.SRC/A2OSX.S.QC
LOAD /A2OSX.SRC/A2OSX.S
ASM

View File

@ -1,20 +1,19 @@
PR#3
PREFIX /A2OSX.BOOT
DELETE A2OSX.SYSTEM
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 8
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/A2OSX.SYSTEM,TSYS
.TF /A2OSX.BUILD/A2OSX.SYSTEM,TSYS
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/IO.I
.INB /A2OSX.DEV/INC/MONITOR.I
.INB /A2OSX.DEV/INC/PRODOS.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/IO.I
.INB /A2OSX.BUILD/INC/MONITOR.I
.INB /A2OSX.BUILD/INC/PRODOS.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
TmpPtr1 .EQ $0 main & aux ZP
TmpPtr2 .EQ $2 main & aux ZP
@ -359,7 +358,7 @@ LoadKM ldx Boot.Prefix
.DA MLICLOSE02
.99 rts
*--------------------------------------
.INB X.PRINTF.S
.INB /A2OSX.SRC/X.PRINTF.S
*--------------------------------------
MSG.INIT0 >CSTR "A2osX[Stage0]:Init\n"
MSG.SYSMEM >CSTR "Checking System Memory..."
@ -421,8 +420,8 @@ KM.PREFIX >PSTR "KM."
.EP
*--------------------------------------
A2osX.QC.B.Start
.INB A2OSX.S.QC
.INB /A2OSX.SRC/A2OSX.S.QC
*--------------------------------------
MAN
SAVE A2OSX.S
SAVE /A2OSX.SRC/A2OSX.S
ASM

View File

@ -1,11 +1,10 @@
PR#3
PREFIX /A2OSX.BOOT
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
ECHO *** A2osX Startup Script ***
echo Working Directory:$CD
SET PATH=${PATH};/A2OSX.DEV/BIN/
SET PS1='$PWD'
# Main Screen
INSDRV CONSOLE.DRV

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/ARP
.TF /A2OSX.BUILD/BIN/ARP
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
TIMEOUT.MAX .EQ 40 40*100ms = 4 sec.
*--------------------------------------
@ -197,5 +197,5 @@ TimeOut .BS 1
DS.END
*--------------------------------------
MAN
SAVE BIN/ARP.S
SAVE /A2OSX.SRC/BIN/ARP.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -403,6 +403,6 @@ DIR.US clc
rts
*---------------------------------------
MAN
SAVE BIN/ASM.S.DIR
SAVE /A2OSX.SRC/BIN/ASM.S.DIR
LOAD BIN/ASM.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -274,6 +274,6 @@ EXP.OP.DIV
rts
*---------------------------------------
MAN
SAVE BIN/ASM.S.EXP
SAVE /A2OSX.SRC/BIN/ASM.S.EXP
LOAD BIN/ASM.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -285,6 +285,6 @@ FIO.EmitByte clc
rts
*---------------------------------------
MAN
SAVE BIN/ASM.S.FIO
SAVE /A2OSX.SRC/BIN/ASM.S.FIO
LOAD BIN/ASM.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -928,6 +928,6 @@ SRC.ACC10 lda SRC.ACC ACC*2-> ACC & ACCTMP
*---------------------------------------
MAN
SAVE BIN/ASM.S.SRC
SAVE /A2OSX.SRC/BIN/ASM.S.SRC
LOAD BIN/ASM.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -360,6 +360,6 @@ SYM.NewGBlock2 >PUSHWI 256
rts
*---------------------------------------
MAN
SAVE BIN/ASM.S.SYM
SAVE /A2OSX.SRC/BIN/ASM.S.SYM
LOAD BIN/ASM.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $C00
INC 1
AUTO 6
@ -8,8 +8,8 @@ AUTO 6
.OR $2000
.TF /A2OSX.DEV/BIN/ASM
*---------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*---------------------------------------
ZPPtr1 .EQ ZPBIN
ZPPtr2 .EQ ZPBIN+2
@ -537,5 +537,5 @@ DS.END .ED
.FIN
*---------------------------------------
MAN
SAVE BIN/ASM.S
SAVE /A2OSX.SRC/BIN/ASM.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -382,6 +382,6 @@ TYA .DA TYA.E+1
TYA.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.6502.O
SAVE /A2OSX.SRC/BIN/ASM.T.6502.O
LOAD BIN/ASM.T.6502.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -39,5 +39,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.6502.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.6502.S
SAVE /A2OSX.SRC/BIN/ASM.T.6502.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -623,6 +623,6 @@ XCE .DA XCE.E+1
XCE.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.65816.O
SAVE /A2OSX.SRC/BIN/ASM.T.65816.O
LOAD BIN/ASM.T.65816.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -51,5 +51,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.65816.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.65816.S
SAVE /A2OSX.SRC/BIN/ASM.T.65816.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -441,6 +441,6 @@ TYA .DA TYA.E+1
TYA.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.65C02.O
SAVE /A2OSX.SRC/BIN/ASM.T.65C02.O
LOAD BIN/ASM.T.65C02.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -41,5 +41,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.65C02.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.65C02.S
SAVE /A2OSX.SRC/BIN/ASM.T.65C02.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -601,6 +601,6 @@ TYA .DA TYA.E+1
TYA.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.65R02.O
SAVE /A2OSX.SRC/BIN/ASM.T.65R02.O
LOAD BIN/ASM.T.65R02.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -42,5 +42,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.65R02.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.65R02.S
SAVE /A2OSX.SRC/BIN/ASM.T.65R02.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -611,6 +611,6 @@ WAI .DA WAI.E+1
WAI.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.65W02.O
SAVE /A2OSX.SRC/BIN/ASM.T.65W02.O
LOAD BIN/ASM.T.65W02.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -42,5 +42,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.65W02.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.65W02.S
SAVE /A2OSX.SRC/BIN/ASM.T.65W02.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -364,6 +364,6 @@ SUB .DA SUB.E+1
SUB.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.SW16.O
SAVE /A2OSX.SRC/BIN/ASM.T.SW16.O
LOAD BIN/ASM.T.SW16.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -75,5 +75,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.SW16.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.SW16.S
SAVE /A2OSX.SRC/BIN/ASM.T.SW16.S
ASM

View File

@ -1,5 +1,5 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -1203,6 +1203,6 @@ XOR .DA XOR.E+1
XOR.E .HS 00
.HS 0000
MAN
SAVE BIN/ASM.T.Z80.O
SAVE /A2OSX.SRC/BIN/ASM.T.Z80.O
LOAD BIN/ASM.T.Z80.S
ASM

View File

@ -1,11 +1,11 @@
PR# 3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OR $0
.TF /A2OSX.BOOT/BIN/ASM.T.Z80
.TF /A2OSX.BUILD/BIN/ASM.T.Z80
*---------------------------------------
.MA ST
.DA #:1-*-1
@ -228,5 +228,5 @@ T.REGISTERS .EQ *
.INB BIN/ASM.T.Z80.O
*---------------------------------------
MAN
SAVE BIN/ASM.T.Z80.S
SAVE /A2OSX.SRC/BIN/ASM.T.Z80.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/CAT
.TF /A2OSX.BUILD/BIN/CAT
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
*--------------------------------------
@ -391,5 +391,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/CAT.S
SAVE /A2OSX.SRC/BIN/CAT.S
ASM

View File

@ -1,12 +1,12 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/CHTYP
.TF /A2OSX.BUILD/BIN/CHTYP
*--------------------------------------
.INB INC/MACROS.I
.INB INC/A2OSX.I
@ -349,5 +349,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/CHTYP.S
SAVE /A2OSX.SRC/BIN/CHTYP.S
ASM

View File

@ -1,22 +1,22 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/CP
.TF /A2OSX.BUILD/BIN/CP
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
X.COPY.TO.DEST .EQ 1
X.DELETE.SOURCE .EQ 0
*--------------------------------------
.INB BIN/X.CPMVRM.S
.INB BIN/X.FILEENUM.S
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -58,5 +58,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/CP.S
SAVE /A2OSX.SRC/BIN/CP.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.DEV/BIN/DEVDUMP
.TF /A2OSX.BUILD/BIN/DEVDUMP
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
*--------------------------------------
@ -117,5 +117,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE SBIN/DEVDUMP.S
SAVE /A2OSX.SRC/SBIN/DEVDUMP.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/DNSINFO
.TF /A2OSX.BUILD/BIN/DNSINFO
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
ZPPTR2 .EQ ZPBIN+2
@ -152,5 +152,5 @@ hLIBTCPIP .BS 1
IP .BS 4
EntryCount .BS 1
MAN
SAVE BIN/DNSINFO.S
SAVE /A2OSX.SRC/BIN/DNSINFO.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -528,6 +528,6 @@ BUF.GetSelLen ldy #SelEnd
rts
*--------------------------------------
MAN
SAVE BIN/EDIT.S.BUF
LOAD BIN/EDIT.S
SAVE /A2OSX.SRC/BIN/EDIT.S.BUF
LOAD /A2OSX.SRC/BIN/EDIT.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -681,6 +681,6 @@ Prompt.Save cmp #3
.9 jmp Ctrl.Q
*--------------------------------------
MAN
SAVE BIN/EDIT.S.CTRL
LOAD BIN/EDIT.S
SAVE /A2OSX.SRC/BIN/EDIT.S.CTRL
LOAD /A2OSX.SRC/BIN/EDIT.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -526,6 +526,6 @@ SCRN.scrollDn ldy #CurX
.9 jmp Ctrl.Q
*--------------------------------------
MAN
SAVE BIN/EDIT.S.SCRN
LOAD BIN/EDIT.S
SAVE /A2OSX.SRC/BIN/EDIT.S.SCRN
LOAD /A2OSX.SRC/BIN/EDIT.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/EDIT
.TF /A2OSX.BUILD/BIN/EDIT
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
ZPPTR2 .EQ ZPBIN+2
@ -446,9 +446,9 @@ DecTmpCount lda TmpCount
ora #$ff make sure NZ
.9 rts
*--------------------------------------
.INB BIN/EDIT.S.BUF
.INB BIN/EDIT.S.CTRL
.INB BIN/EDIT.S.SCRN
.INB /A2OSX.SRC/BIN/EDIT.S.BUF
.INB /A2OSX.SRC/BIN/EDIT.S.CTRL
.INB /A2OSX.SRC/BIN/EDIT.S.SCRN
*--------------------------------------
CS.END
SEQ.DETECT >CSTR "Querying terminal capabilities...\e[999;999H\e[6n"
@ -541,5 +541,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/EDIT.S
SAVE /A2OSX.SRC/BIN/EDIT.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/FORMAT
.TF /A2OSX.BUILD/BIN/FORMAT
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBBLKDEV.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBBLKDEV.I
*--------------------------------------
ZPPtr1 .EQ ZPBIN
ZPPtr2 .EQ ZPBIN+2
@ -171,5 +171,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/FORMAT.S
SAVE /A2OSX.SRC/BIN/FORMAT.S
ASM

View File

@ -1,17 +1,17 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/IPCONFIG
.TF /A2OSX.BUILD/BIN/IPCONFIG
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/NET.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/NET.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPIPCfgPtr .EQ ZPBIN
ZPDevPtr .EQ ZPBIN+2
@ -287,5 +287,5 @@ hLIBTCPIP .BS 1
DevID .BS 1
DevName .BS 5
MAN
SAVE BIN/IPCONFIG.S
SAVE /A2OSX.SRC/BIN/IPCONFIG.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/LS
.TF /A2OSX.BUILD/BIN/LS
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
X.COPY.TO.DEST .EQ 0
X.DELETE.SOURCE .EQ 0
@ -463,7 +463,7 @@ FileType2PSTR ldy #0
adc #0
rts
*--------------------------------------
.INB BIN/X.FILEENUM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -512,5 +512,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/LS.S
SAVE /A2OSX.SRC/BIN/LS.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/LSDEV
.TF /A2OSX.BUILD/BIN/LSDEV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/PRODOS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/PRODOS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
ZPPTR2 .EQ ZPBIN+2
@ -174,5 +174,5 @@ DEV.ID .BS 1
DEV.S .BS 1
DEV.SIZE .BS 4
MAN
SAVE BIN/LSDEV.S
SAVE /A2OSX.SRC/BIN/LSDEV.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/MD
.TF /A2OSX.BUILD/BIN/MD
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
*--------------------------------------
@ -71,5 +71,5 @@ CS.END
hFullPath .BS 1
*--------------------------------------
MAN
SAVE BIN/MD.S
SAVE /A2OSX.SRC/BIN/MD.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/MEM
.TF /A2OSX.BUILD/BIN/MEM
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
PAGELEN .EQ 22
FOOTERLEN .EQ 8
@ -130,5 +130,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/MEM.S
SAVE /A2OSX.SRC/BIN/MEM.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.DEV/BIN/MEMDUMP
.TF /A2OSX.BUILD/BIN/MEMDUMP
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
PAGELEN .EQ 22
FOOTERLEN .EQ 8
@ -293,5 +293,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/MEMDUMP.S
SAVE /A2OSX.SRC/BIN/MEMDUMP.S
ASM

View File

@ -1,22 +1,22 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/MV
.TF /A2OSX.BUILD/BIN/MV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
X.COPY.TO.DEST .EQ 1
X.DELETE.SOURCE .EQ 1
*--------------------------------------
.INB BIN/X.CPMVRM.S
.INB BIN/X.FILEENUM.S
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -58,5 +58,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/MV.S
SAVE /A2OSX.SRC/BIN/MV.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/NETSTAT
.TF /A2OSX.BUILD/BIN/NETSTAT
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
*--------------------------------------
@ -150,5 +150,5 @@ MSG1.S.10 >CSTR "TIME-WAIT"
hLIBTCPIP .BS 1
SocketCount .BS 1
MAN
SAVE BIN/NETSTAT.S
SAVE /A2OSX.SRC/BIN/NETSTAT.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/NFSMOUNT
.TF /A2OSX.BUILD/BIN/NFSMOUNT
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
TIMEOUT.MAX .EQ 40 40*100ms = 4 sec.
*--------------------------------------
@ -105,5 +105,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/NFSMOUNT.S
SAVE /A2OSX.SRC/BIN/NFSMOUNT.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/NSCUTIL
.TF /A2OSX.BUILD/BIN/NSCUTIL
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
ZPPtr1 .EQ ZPBIN
*--------------------------------------
@ -379,5 +379,5 @@ DS.START
DS.END
*--------------------------------------
MAN
SAVE BIN/NSCUTIL.S
SAVE /A2OSX.SRC/BIN/NSCUTIL.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/PING
.TF /A2OSX.BUILD/BIN/PING
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
TIMEOUT.MAX .EQ 20 2 sec.
*--------------------------------------
@ -362,5 +362,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/PING.S
SAVE /A2OSX.SRC/BIN/PING.S
ASM

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/PS
.TF /A2OSX.BUILD/BIN/PS
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
ZPPTR1 .EQ ZPBIN
ZPPTR2 .EQ ZPBIN+2
@ -95,5 +95,5 @@ PS.COUNT .BS 1
MSG0 >CSTR "ID Flags PID Command Line\r\n"
MSG1 >CSTR "%03d %b %03d %S\r\n"
MAN
SAVE BIN/PS.S
SAVE /A2OSX.SRC/BIN/PS.S
ASM

View File

@ -1,22 +1,22 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/BIN/RM
.TF /A2OSX.BUILD/BIN/RM
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
X.COPY.TO.DEST .EQ 0
X.DELETE.SOURCE .EQ 1
*--------------------------------------
.INB BIN/X.CPMVRM.S
.INB BIN/X.FILEENUM.S
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -57,5 +57,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/RM.S
SAVE /A2OSX.SRC/BIN/RM.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.DEV/BIN/RPCDUMP
.TF /A2OSX.BUILD/BIN/RPCDUMP
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
TIMEOUT.MAX .EQ 40 40*100ms = 4 sec.
*--------------------------------------
@ -280,5 +280,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE BIN/RPCDUMP.S
SAVE /A2OSX.SRC/BIN/RPCDUMP.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -634,4 +634,4 @@ CS.QUIT jsr LeaveSubDir
rts
*--------------------------------------
MAN
SAVE BIN/X.CPMVRM.S
SAVE /A2OSX.SRC/BIN/X.CPMVRM.S

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -489,4 +489,4 @@ BasePath..1 lda (pData),y
rts
*--------------------------------------
MAN
SAVE BIN/X.FILEENUM.S
SAVE /A2OSX.SRC/BIN/X.FILEENUM.S

View File

@ -1,18 +1,18 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/CONSOLE.DRV
.TF /A2OSX.BUILD/DRV/CONSOLE.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/IO.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.DEV/INC/NET.TELNET.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/IO.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/NET.TELNET.I
*--------------------------------------
CURSOR.BLINK.SPEED .EQ 8
ESCSEQ.MAXLEN .EQ 16
@ -835,5 +835,5 @@ STAT .DA #S.DEVSTAT.S.WRITE+S.DEVSTAT.S.READ
ENQ.String >CSTR "A2osXTERM"
*--------------------------------------
MAN
SAVE DRV/CONSOLE.DRV.S
SAVE /A2OSX.SRC/DRV/CONSOLE.DRV.S
ASM

View File

@ -1,18 +1,18 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/DHGR.DRV
.TF /A2OSX.BUILD/DRV/DHGR.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/PRODOS.I
.INB /A2OSX.DEV/INC/IO.I
.INB /A2OSX.DEV/INC/LIBGFX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/PRODOS.I
.INB /A2OSX.BUILD/INC/IO.I
.INB /A2OSX.BUILD/INC/LIBGFX.I
*--------------------------------------
ZPBase .EQ ZPDRV
ZPShiftLo .EQ ZPDRV+2

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/LANCEGS.DRV
.TF /A2OSX.BUILD/DRV/LANCEGS.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPTmpPTR .EQ ZPDRV
*--------------------------------------

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/MOUSE.DRV
.TF /A2OSX.BUILD/DRV/MOUSE.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
*--------------------------------------
ZPGoMouse .EQ ZPDRV
ZPTmpPtr1 .EQ ZPDRV+2

View File

@ -1,15 +1,15 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/PIC.DRV
.TF /A2OSX.BUILD/DRV/PIC.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
ZPTmpPtr1 .EQ ZPDRV
*--------------------------------------

View File

@ -1,17 +1,17 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/SSC.DRV
.TF /A2OSX.BUILD/DRV/SSC.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.DEV/INC/COM.6551.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/COM.6551.I
*--------------------------------------
ZPTmpPtr1 .EQ ZPDRV
*--------------------------------------
@ -199,5 +199,5 @@ STAT .DA #S.DEVSTAT.S.WRITE+S.DEVSTAT.S.READ
.DA $0900
*--------------------------------------
MAN
SAVE DRV/SSC.DRV.S
SAVE /A2OSX.SRC/DRV/SSC.DRV.S
ASM

View File

@ -1,17 +1,17 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/SSC.I.DRV
.TF /A2OSX.BUILD/DRV/SSC.I.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.DEV/INC/COM.6551.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/COM.6551.I
*--------------------------------------
BUF.SIZE .EQ $40
BUF.MASK .EQ $3F
@ -319,5 +319,5 @@ STAT .DA #S.DEVSTAT.S.WRITE+S.DEVSTAT.S.READ+S.DEV.S.IRQ
.DA $0900
*--------------------------------------
MAN
SAVE DRV/SSC.DRV.I.S
SAVE /A2OSX.SRC/DRV/SSC.DRV.I.S
ASM

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/UTHER2.AI.DRV
.TF /A2OSX.BUILD/DRV/UTHER2.AI.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPTmpPTR .EQ ZPDRV
*--------------------------------------

View File

@ -1,19 +1,19 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/UTHERNET.DRV
.TF /A2OSX.BUILD/DRV/UTHERNET.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.DEV/INC/NET.I
.INB /A2OSX.DEV/INC/NET.8900A.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/NET.I
.INB /A2OSX.BUILD/INC/NET.8900A.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPTmpPTR .EQ ZPDRV
Size .EQ ZPDRV+2
@ -134,7 +134,7 @@ Dev.Detect >STYA ARGS
clc
rts
*--------------------------------------
.INB DRV/X.NET.DRV.S
.INB /A2OSX.SRC/DRV/X.NET.DRV.S
*--------------------------------------
CS.END
MSG.DETECT >CSTR "UtherNet/CS8900A Driver.\r\n"
@ -467,5 +467,5 @@ FLAGS .DA #0
LINK.STATUS .BS 1 OK/DUPLEX/SPEED
MAC .BS 6
MAN
SAVE DRV/UTHERNET.DRV.S
SAVE /A2OSX.SRC/DRV/UTHERNET.DRV.S
ASM

View File

@ -1,18 +1,18 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/DRV/UTHERNET2.DRV
.TF /A2OSX.BUILD/DRV/UTHERNET2.DRV
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/NET.I
.INB /A2OSX.DEV/INC/NET.W5100.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/NET.I
.INB /A2OSX.BUILD/INC/NET.W5100.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPTmpPTR .EQ ZPDRV
*--------------------------------------
@ -135,7 +135,7 @@ Dev.Detect >STYA Args
clc
rts
*--------------------------------------
.INB DRV/X.NET.DRV.S
.INB /A2OSX.SRC/DRV/X.NET.DRV.S
*--------------------------------------
CS.END
MSG.DETECT >CSTR "UtherNet2/W5100 Driver.\r\n"
@ -410,5 +410,5 @@ FLAGS .DA #0
LINK.STATUS .DA #S.DEVSTAT.NET.STATUS.OK+S.DEVSTAT.NET.STATUS.FD+S.DEVSTAT.NET.STATUS.100
MAC .BS 6
MAN
SAVE DRV/UTHERNET2.DRV.S
SAVE /A2OSX.SRC/DRV/UTHERNET2.DRV.S
ASM

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -58,4 +58,4 @@ Asc2NibbleA cmp #$30
rts
*--------------------------------------
MAN
SAVE DRV/X.NET.DRV.S
SAVE /A2OSX.SRC/DRV/X.NET.DRV.S

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6
@ -590,4 +590,4 @@ S.NODE.FIFO.Head .EQ 5
S.NODE.FIFO .EQ 6
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/A2OSX.I
SAVE /A2OSX.BUILD/INC/A2OSX.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -78,4 +78,4 @@ ATN .EQ $F09E
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/APPLESOFT.I
SAVE /A2OSX.BUILD/INC/APPLESOFT.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -61,4 +61,4 @@ SSC.CTL.B115200 .EQ %00000000
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/COM.6551.I
SAVE /A2OSX.BUILD/INC/COM.6551.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -94,4 +94,4 @@ RRAMWRAMBNK1 .EQ $C08B RR
*--------------------------------------
*CLRC8ROM .EQ $CFFF R, Release C800-CFFF Rom Space for all cards
MAN
SAVE /A2OSX.DEV/INC/IO.I
SAVE /A2OSX.BUILD/INC/IO.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -12,4 +12,4 @@ LIBBLKDEV.GetProDOSCatSize .EQ 4
LIBBLKDEV.BuildProDOSCat .EQ 6
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/LIBBLKDEV.I
SAVE /A2OSX.BUILD/INC/LIBBLKDEV.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -25,4 +25,4 @@ S.MD5.FINALIZED .EQ 25
S.MD5.SIZE .EQ 26
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/LIBCRYPT.I
SAVE /A2OSX.BUILD/INC/LIBCRYPT.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -30,4 +30,4 @@ LIBGFX.HideCursor .EQ 10
LIBGFX.ShowCursor .EQ 12
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/LIBGFX.I
SAVE /A2OSX.BUILD/INC/LIBGFX.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -292,4 +292,4 @@ S.DNS.QTYPE.ANY .EQ 255
S.DNS.QCLASS.IN .EQ 1
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/LIBTCPIP.I
SAVE /A2OSX.BUILD/INC/LIBTCPIP.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -290,4 +290,4 @@ AUTO 6
:1 .EQ *
.EM
MAN
SAVE /A2OSX.DEV/INC/MACROS.I
SAVE /A2OSX.BUILD/INC/MACROS.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -37,4 +37,4 @@ MLI.ERR.OPEN .EQ $50 File Already Open
*$5A - File Structure Damaged
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/MLI.ERR.I
SAVE /A2OSX.BUILD/INC/MLI.ERR.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 1000
@ -89,4 +89,4 @@ MONZ .EQ $FF69 ENTER MONITOR QUIETLY
GETNUM .EQ $FFA7 ASCII TO HEX IN 3E & 3F
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/MONITOR.I
SAVE /A2OSX.BUILD/INC/MONITOR.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $C00
INC 1
AUTO 6
@ -98,4 +98,4 @@ PP.RxFrame .EQ $0404
PP.TxFrame .EQ $0A00
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/NET.8900A.I
SAVE /A2OSX.BUILD/INC/NET.8900A.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -63,4 +63,4 @@ L91C96.3.RCV .EQ $C08C
L91C96.BSR .EQ $C08E
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/NET.91C96.I
SAVE /A2OSX.BUILD/INC/NET.91C96.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -48,4 +48,4 @@ S.DHCP.OPTIONS.END .EQ 255
S.DHCP .EQ S.UDP+240
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/NET.DHCP.I
SAVE /A2OSX.BUILD/INC/NET.DHCP.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -20,4 +20,4 @@ S.DEVSTAT.NET.MAC .EQ S.DEVSTAT+2
S.DEVSTAT.NET .EQ S.DEVSTAT+8
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/NET.I
SAVE /A2OSX.BUILD/INC/NET.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -61,4 +61,4 @@ TELOPT.NEWENVIRON .EQ 39 New - Environment variables
TELOPT.EXOPL .EQ 255 extended-options-list
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/NET.TELNET.I
SAVE /A2OSX.BUILD/INC/NET.TELNET.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -68,4 +68,4 @@ RX.BASE .EQ $6000
RXTX.MASK .EQ $1FFF
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/NET.W5100.I
SAVE /A2OSX.BUILD/INC/NET.W5100.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -134,4 +134,4 @@ MACHID.CLK .EQ %00000001
*KVERSION .EQ $BFFF
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/PRODOS.I
SAVE /A2OSX.BUILD/INC/PRODOS.I

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
@ -29,4 +29,4 @@ RNDL .EQ $4E RANDOM NUMBER LOW
RNDH .EQ $4F RANDOM NUMBER HIGH
*--------------------------------------
MAN
SAVE /A2OSX.DEV/INC/ZP.I
SAVE /A2OSX.BUILD/INC/ZP.I

View File

@ -1,17 +1,17 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/LIB/LIBBLKDEV.O
.TF /A2OSX.BUILD/LIB/LIBBLKDEV.O
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/PRODOS.I
.INB /A2OSX.DEV/INC/LIBBLKDEV.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/PRODOS.I
.INB /A2OSX.BUILD/INC/LIBBLKDEV.I
*--------------------------------------
* NIBBLE track len = $1A00 (6656) bytes:
*

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/LIB/LIBCRYPT.O
.TF /A2OSX.BUILD/LIB/LIBCRYPT.O
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBCRYPT.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBCRYPT.I
*--------------------------------------
ZPTmpPtr1 .EQ ZPLIB
ZPTmpPtr2 .EQ ZPLIB+2

View File

@ -1,16 +1,16 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/LIB/LIBGFX.O
.TF /A2OSX.BUILD/LIB/LIBGFX.O
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/LIBGFX.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/LIBGFX.I
*--------------------------------------
ZPPtr1 .EQ ZPLIB
*--------------------------------------
@ -66,7 +66,7 @@ ShowCursor
clc
rts
*--------------------------------------
.INB LIB/LIBGFX.S.CUR
* .INB LIB/LIBGFX.S.CUR
*--------------------------------------
CS.END
hDev .BS 1

View File

@ -1,17 +1,17 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/LIB/LIBMATH.O
.TF /A2OSX.BUILD/LIB/LIBMATH.O
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/APPLESOFT.I
* .INB /A2OSX.DEV/INC/LIBMATH.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/APPLESOFT.I
* .INB /A2OSX.BUILD/INC/LIBMATH.I
*--------------------------------------
ZPPtr1 .EQ ZPLIB
*--------------------------------------

View File

@ -1,15 +1,64 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
NEW
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/LIB/LIBPAK.O
.TF /A2OSX.BUILD/LIB/LIBPAK.O
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
* File Header :
* SFX :
* - BIN must begin with CLD (QCODE)
* - BIN must be relocatable
* - BIN must overwrite itself
* (well, best way is moving CODE to $200)
*--------------------------------------
* Shunk Header :
* WORD : !Target Length
* USED TO STOP UNPACK
* !!!NO EOF TOKEN!!!
* Short4 : [0..15]
* Short3 : [0..7]
*--------------------------------------
S.PAKHDR.LEN .EQ 0
S.PAKHDR.SHORT4 .EQ 2
S.PAKHDR.SHORT3 .EQ 18
*
S.PAKHDR .EQ 26
*--------------------------------------
S.PAKSTAT.BL .EQ 0
S.PAKSTAT.REP .EQ 2
S.PAKSTAT.S3 .EQ 4
S.PAKSTAT.S4 .EQ 6
S.PAKSTAT.STORE .EQ 8
*
S.PAKSTAT .EQ 10
*--------------------------------------
PIPELEN .EQ 18
*--------------------------------------
* BITSTREAM :
* 0 = STORE : 1 byte follow (9 bits)
*--------------
* 1 = CMD :
*---SHORT4 --- (3)+4=7 bits --------
* 100 : SHORT4
* xxxx = index in Short4 Table
*---SHORT3 --- (3)+3=6 bits --------
* 101 : SHORT3
* xxx = index in Short3 Table
*--- BACKLINK : (3)+9+4=16 bits ----
* 110 : BackLink
* 9 bits : Offset (LO8,HI1)
* 4 bits : 3 + n (4 bits count) (18 max)
*--- REP : (3)+1, (3)+1+4 =4/8 bits ----
* 111 : REP
* 0 : repeat last byte
* 1 : repeat 2 + n (4 bits count)
*--------------------------------------
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
*--------------------------------------
Pak.SrcPtr .EQ ZPLIB
Pak.SrcBlPtr .EQ ZPLIB+2
@ -40,61 +89,11 @@ LIB.LOAD
LIB.UNLOAD clc
rts
*--------------------------------------
* UNPACK code as short as possible
* For Self Extract
*--------------------------------------
* File Header :
* SFX :
* - BIN must begin with CLD (QCODE)
* - BIN must be relocatable
* - BIN must overwrite itself
* (well, best way is moving CODE to $200)
*--------------------------------------
* Shunk Header :
* WORD : !Target Length
* USED TO STOP UNPACK
* !!!NO EOF TOKEN!!!
* Short4 : [0..15]
* Short3 : [0..7]
*--------------------------------------
S.PAK.LEN .EQ 0
S.PAK.SHORT4 .EQ 2
S.PAK.SHORT3 .EQ 18
S.PAK .EQ 26
*--------------------------------------
* BITSTREAM :
* 0 = STORE :
* 00 : 1 byte follow (10 bits)
* 01 = 2 + n (4 bits count)
*--------------
* 1 = CMD :
*---SHORT4 --- (3)+4=7 bits --------
* 100 : SHORT4
* xxxx = index in Short4 Table
*---SHORT3 --- (3)+3=6 bits --------
* 101 : SHORT3
* xxx = index in Short3 Table
*--- BACKLINK : (3)+8+5=16 bits ----
* 110 : BackLink
* 9 bits : Offset (LO8,HI1)
* 4 bits : 3 + n (4 bits count) (18 max)
*--- REP : (3)+1, (3)+1+4 =4/8 bits ----
* 111 : REP
* 0 : repeat last byte
* 1 : repeat 2 + n (4 bits count)
*--------------------------------------
* In :
* PULLW = Src PTR
* PULLW = Src LEN
* PULLW = Dst PTR Compressed Buffer
*--------------------------------------
PIPELEN .EQ 18
STATS.SIZE .EQ 0
STATS.BL .EQ 2
STATS.REP .EQ 4
STATS.S3 .EQ 6
STATS.S4 .EQ 8
*--------------------------------------
Pak >PULLYA
>STYA Pak.Src Init for pass #1
>STYA Pak.SrcPtr
@ -116,8 +115,8 @@ Pak >PULLYA
tya
jsr Pak.PutByte
ldx #9
.1 stz Pak.Stat.Size,x Reset Stats
ldx #S.PAKSTAT-1
.1 stz PakStat,x Reset Stats
dex
bpl .1
@ -171,7 +170,7 @@ Pak.1 ldx #0
bne .7
lda Pak.Byte
sta Pak.Short,y
sta PakHdr+S.PAKHDR.SHORT4,y
stz Pak.CntL,x Discard this entry
stz Pak.CntH,x
dey
@ -179,20 +178,20 @@ Pak.1 ldx #0
ldx #15
.9 lda Pak.Short4,x Store SHORT4 in reverse order
.9 lda PakHdr+S.PAKHDR.SHORT4,x Store SHORT4 in reverse order
jsr Pak.PutByte
dex
bpl .9
ldx #7
.10 lda Pak.Short3,x Store SHORT3 in reverse order
.10 lda PakHdr+S.PAKHDR.SHORT3,x Store SHORT3 in reverse order
jsr Pak.PutByte
dex
bpl .10
>LDYAI S.PAK Total Header Size
>STYA Pak.Stat.Size
>LDYAI S.PAKHDR Total Header Size
>STYA PakHdr+S.PAKHDR.LEN
* PASS #2 :
Pak.2 >LDYA Pak.Src Init for pass #2
>STYA Pak.SrcPtr
@ -215,21 +214,24 @@ Pak.2.LOOP ldx Pak.PipeLen Always fill Bytes in the PIPE until full
inx
cpx #PIPELEN PIPE Full ?
bne .1
clc
.2 stx Pak.PipeLen
txa PIPE empty ....exit
beq .99
txa
beq Pak.2.EXIT PIPE empty ....exit
dex
bne Pak.2.REP more than one char in PIPE...REP?
jmp Pak.2.Store only one....store it
Pak.2.EXIT clc
rts
* try finding REPeating same bytes.....
Pak.2.REP dex
beq Pak.2.SHORT Only one char in PIPE...
Pak.2.REP ldx #0
lda Pak.Pipe
ldx #0
.1 lda Pak.Pipe,x
cmp Pak.Pipe+1,x
.1 cmp Pak.Pipe+1,x
bne .2
inx
cpx Pak.PipeLen
@ -240,14 +242,16 @@ Pak.2.REP dex
dex if 2, -> REP ONE (not 2)
phx REP 1 + 0 or more....save REP count for later....
jsr Pak.2.STORE1 a = byte to store
jsr Pak.PutA a = byte to store
lda #%11100000
plx
phx
beq .3
ora #%00010000
ldy #4
.3 ldy #4
jsr Pak.PutYBits
txa
beq .4 if not REP 2 or more no extra count
@ -260,7 +264,7 @@ Pak.2.REP dex
tay
jsr Pak.StripPipe Remove REP bytes from PIPE
ldx #STATS.REP
ldx #S.PAKSTAT.REP
jsr Pak.UpdateStats
jmp Pak.2.LOOP
Pak.2.BL
@ -334,7 +338,7 @@ Pak.2.BL
asl
ldy #4 store 4 bits len
jsr Pak.PutYBits
ldx #STATS.BL
ldx #S.PAKSTAT.BL
jsr Pak.UpdateStats
jmp Pak.2.LOOP
@ -348,28 +352,49 @@ Pak.2.BL
bne .40 and start over from BLPtr
* NO Bl Found, STORE
Pak.STORE lda Pak.Pipe
jsr Pak.2.STORE1
Pak.2.Store lda Pak.Pipe
ldx #23
.1 cmp PakHdr+S.PAKHDR.SHORT4,x
beq .2
dex
bpl .1
lda #0
ldy #1
jsr Pak.PutYBits write 0
lda Pak.Pipe ...and byte
jsr Pak.PutA
ldy #1
jsr Pak.StripPipe
jmp Pak.2.LOOP
.2 cpx #16 16-23 -> SHORT3
bcs .3
txa 0-15, SHORT4
asl move to BIT 000xxxx0
ora #10000000 SHORT4
ldy #7
bra .8
.3 txa
and #7 make it xxx
asl
asl and 000xxx00
ora #10100000 SHORT3
ldy #6
.8 jsr Pak.PutYBits write 100xxxx
ldy #1
jsr Pak.StripPipe
jmp Pak.2.LOOP
*--------------------------------------
Pak.2.STORE1
rts
*--------------------------------------
Pak.GetByte inc UnPak.Cnt
bne .1
inc UnPak.Cnt+1
.1 beq .9
lda (Pak.SrcPtr)
pha
inc Pak.SrcPtr
bne .2
inc Pak.SrcPtr+1
.2 clc
rts
.9 sec
rts
Pak.PutA ldy #8
*--------------------------------------
Pak.PutYBits asl
jsr Pak.PutBit
@ -402,9 +427,9 @@ Pak.PutByte sta (Pak.DstPtr)
bne .1
inc Pak.DstPtr+1
.1 inc Pak.Stat.Size
.1 inc PakHdr+S.PAKHDR.LEN
bne .2
inc Pak.Stat.Size+1
inc PakHdr+S.PAKHDR.LEN+1
.2
rts
*--------------------------------------
@ -426,29 +451,30 @@ Pak.StripPipe ldx Pak.PipeLen
.9 rts
*--------------------------------------
Pak.UpdateStats inc Pak.Stat.Size,x
Pak.UpdateStats inc PakStat,x
bne .8
inc Pak.Stat.Size+1,x
inc PakStat+1,x
.8 rts
*--------------------------------------
Pak.BitMask .HS 0102040810204080
Pak.Src .BS 2
Pak.SrcCnt .BS 2
Pak.Cnt .BS 2
Pak.CntL .BS 256
Pak.CntH .BS 256
Pak.Short4 .BS 16
Pak.Short3 .BS 8
Pak.Byte .BS 1
Pak.Limit .BS 2
Pak.PipeLen .BS 1
Pak.Pipe .BS 18
Pak.GetByte inc UnPak.Cnt
bne .1
inc UnPak.Cnt+1
beq .9
.1 lda (Pak.SrcPtr)
inc Pak.SrcPtr
bne .2
inc Pak.SrcPtr+1
.2 clc
rts
.9 sec
rts
*--------------------------------------
Pak.Stat.Size .BS 2
Pak.Stat.BL .BS 2
Pak.Stat.REP .BS 2
Pak.Stat.S3 .BS 2
Pak.Stat.S4 .BS 2
* UNPACK code as short as possible
* For Self Extract
*--------------------------------------
* UnPak
* In :
@ -606,6 +632,21 @@ UnPak.PutByte inc UnPak.DstPtr
.8 sta (UnPak.DstPtr)
rts
*--------------------------------------
CS.END
Pak.Src .BS 2
Pak.SrcCnt .BS 2
Pak.Cnt .BS 2
Pak.CntL .BS 256
Pak.CntH .BS 256
Pak.Byte .BS 1
Pak.Limit .BS 2
Pak.PipeLen .BS 1
Pak.Pipe .BS 18
Pak.BitMask .HS 0102040810204080
*--------------------------------------
PakHdr .BS S.PAKHDR
PakStat .BS S.PAKSTAT
*--------------------------------------
UnPak.BitMask .HS 8040201008040201
MAN
SAVE LIB/LIBPAK.S

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $900
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $900
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $900
INC 1
AUTO 6

View File

@ -1,5 +1,5 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $A00
INC 1
AUTO 6

View File

@ -1,18 +1,18 @@
PR#3
PREFIX /A2OSX.SRC
PREFIX /A2OSX.BUILD
LOMEM $900
INC 1
AUTO 6
.LIST OFF
.OP 65C02
.OR $2000
.TF /A2OSX.BOOT/LIB/LIBTCPIP.O
.TF /A2OSX.BUILD/LIB/LIBTCPIP.O
*--------------------------------------
.INB /A2OSX.DEV/INC/MACROS.I
.INB /A2OSX.DEV/INC/A2OSX.I
.INB /A2OSX.DEV/INC/MLI.ERR.I
.INB /A2OSX.DEV/INC/NET.I
.INB /A2OSX.DEV/INC/LIBTCPIP.I
.INB /A2OSX.BUILD/INC/MACROS.I
.INB /A2OSX.BUILD/INC/A2OSX.I
.INB /A2OSX.BUILD/INC/MLI.ERR.I
.INB /A2OSX.BUILD/INC/NET.I
.INB /A2OSX.BUILD/INC/LIBTCPIP.I
*--------------------------------------
ZPFrameInPtr .EQ ZPLIB
ZPFrameInLen .EQ ZPLIB+2
@ -213,16 +213,16 @@ DecDataInLen lda ZPDataInLen
*--------------------------------------
NetDevJmp jmp *
*--------------------------------------
.INB LIB/LIBTCPIP.S.ARP
.INB LIB/LIBTCPIP.S.CFG
.INB LIB/LIBTCPIP.S.DNS
.INB LIB/LIBTCPIP.S.FRM
.INB LIB/LIBTCPIP.S.HST
.INB LIB/LIBTCPIP.S.ICMP
.INB LIB/LIBTCPIP.S.IP
.INB LIB/LIBTCPIP.S.SKT
.INB LIB/LIBTCPIP.S.TCP
.INB LIB/LIBTCPIP.S.UDP
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.ARP
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.CFG
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.DNS
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.FRM
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.HST
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.ICMP
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.IP
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.SKT
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.TCP
.INB /A2OSX.SRC/LIB/LIBTCPIP.S.UDP
*--------------------------------------
CS.END
*--------------------------------------

Some files were not shown because too many files have changed in this diff Show More