Kernel 0.92

This commit is contained in:
Rémy GIBERT 2018-11-17 18:17:13 +01:00
parent b94642a262
commit 4ddc13d968
205 changed files with 749 additions and 664 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -172,6 +172,6 @@ MSG.INIT1OK >PSTR "A2osX[Stage1]:Complete."
.EP
*--------------------------------------
MAN
SAVE /A2OSX.SRC/A2OSX.S.QC
LOAD /A2OSX.SRC/A2OSX.S
SAVE USR/SRC/BIN/A2OSX.S.QC
LOAD USR/SRC/BIN/A2OSX.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -365,7 +365,7 @@ LoadKM ldx Boot.Prefix
.DA MLICLOSE02
.99 rts
*--------------------------------------
.INB /A2OSX.SRC/X.PRINTF.S
.INB USR/SRC/BIN/X.PRINTF.S
*--------------------------------------
MSG.INIT0 .AZ "A2osX[Stage0]:Init\n"
MSG.SYSMEM .AZ "Checking System Memory..."
@ -427,8 +427,8 @@ KM.PREFIX >PSTR "KM."
.EP
*--------------------------------------
A2osX.QC.B.Start
.INB /A2OSX.SRC/A2OSX.S.QC
.INB USR/SRC/BIN/A2OSX.S.QC
*--------------------------------------
MAN
SAVE /A2OSX.SRC/A2OSX.S
SAVE USR/SRC/BIN/A2OSX.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
ECHO *** A2osX Startup Script ***
SET PS1='$PWD'

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -256,5 +256,5 @@ TimeOut .BS 1
DS.END
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/ARP.S
SAVE USR/SRC/BIN/BIN/ARP.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
DIR.Reset lda #$80

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
* EXP.Modifiers:

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
FIO.Init >LDYA L.ASM.6502

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
MAC.Init >SYSCALL SListNew

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
OUT.Init lda #20

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
SRC.ParseLine jsr OUT.Reset

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
* Global Symbol Record: (6+ bytes)

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.ADDR.MODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OR $0

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.ADDR.MODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OR $0

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.ADDR.MODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OR $0

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.ADDR.MODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OR $0

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.ADDR.MODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OR $0

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.ADDR.MODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OR $0

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -163,5 +163,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/ATBROWSE.S
SAVE USR/SRC/BIN/BIN/ATBROWSE.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -76,5 +76,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/ATLOGON.S
SAVE USR/SRC/BIN/BIN/ATLOGON.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -347,5 +347,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/CAT.S
SAVE USR/SRC/BIN/BIN/CAT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -135,8 +135,21 @@ CS.RUN >SYSCALL GetChar
>LDA.G hFilter
beq .4 No filter....
pha
ldy #S.STAT.FSID
lda (ZPFileStat),y
bne .11 not prodos...
pla
>SYSCALL GetMemPtr
>PUSHYA
>SYSCALL strupr
bra .12
.11 pla
>SYSCALL GetMemPtr
.12 >PUSHYA
>LDYA ZPFileName
>SYSCALL StrMatch
bcs .8 no match, skip....
@ -334,7 +347,7 @@ GetHexFileType ldy #$ff
.9 sec
rts
*--------------------------------------
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
.INB USR/SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -377,5 +390,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/CHTYP.S
SAVE USR/SRC/BIN/CHTYP.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -13,8 +13,8 @@ AUTO 4,1
X.COPY.TO.DEST .EQ 1
X.DELETE.SOURCE .EQ 0
*--------------------------------------
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
.INB USR/SRC/BIN/X.CPMVRM.S
.INB USR/SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -36,11 +36,11 @@ bContinue .BS 1
bRecurse .BS 1
bNoConfirm .BS 1
bQuiet .BS 1
.INB /A2OSX.SRC/BIN/X.CPMVRM.G
.INB /A2OSX.SRC/BIN/X.FILEENUM.G
.INB USR/SRC/BIN/X.CPMVRM.G
.INB USR/SRC/BIN/X.FILEENUM.G
DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/CP.S
SAVE USR/SRC/BIN/CP.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -174,5 +174,5 @@ EntryCount .BS 1
DS.END
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/DNSINFO.S
SAVE USR/SRC/BIN/BIN/DNSINFO.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -515,6 +515,6 @@ BUF.GetSelLen ldy #SelEnd
rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/EDIT.S.BUF
LOAD /A2OSX.SRC/BIN/EDIT.S
SAVE USR/SRC/BIN/BIN/EDIT.S.BUF
LOAD USR/SRC/BIN/BIN/EDIT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -679,6 +679,6 @@ Prompt.Save cmp #3 Ctrl-C
.9 jmp Ctrl.Q
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/EDIT.S.CTRL
LOAD /A2OSX.SRC/BIN/EDIT.S
SAVE USR/SRC/BIN/BIN/EDIT.S.CTRL
LOAD USR/SRC/BIN/BIN/EDIT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -561,6 +561,6 @@ SCRN.scrollDn ldy #CurX
.9 jmp Ctrl.Q
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/EDIT.S.SCRN
LOAD /A2OSX.SRC/BIN/EDIT.S
SAVE USR/SRC/BIN/BIN/EDIT.S.SCRN
LOAD USR/SRC/BIN/BIN/EDIT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -438,9 +438,9 @@ DecTmpCount lda TmpCount
ora #$ff make sure NZ
.9 rts
*--------------------------------------
.INB /A2OSX.SRC/BIN/EDIT.S.BUF
.INB /A2OSX.SRC/BIN/EDIT.S.CTRL
.INB /A2OSX.SRC/BIN/EDIT.S.SCRN
.INB USR/SRC/BIN/BIN/EDIT.S.BUF
.INB USR/SRC/BIN/BIN/EDIT.S.CTRL
.INB USR/SRC/BIN/BIN/EDIT.S.SCRN
*--------------------------------------
CS.END
SEQ.DETECT .AZ "Querying terminal capabilities...\e[999;999H\e[6n"
@ -535,5 +535,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/EDIT.S
SAVE USR/SRC/BIN/BIN/EDIT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -344,5 +344,5 @@ DIB .BS S.DIB
DS.END .ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/FORMAT.S
SAVE USR/SRC/BIN/BIN/FORMAT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -321,5 +321,5 @@ DCB.NIC .BS S.DCB.NIC
DS.END .ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/IPCONFIG.S
SAVE USR/SRC/BIN/BIN/IPCONFIG.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -92,12 +92,7 @@ CS.INIT
jsr InitSrcDirYA
bcs .9
.8
* lda (pPs)
* ora #S.PS.F.EVENT Now accept events
* sta (pPs)
clc
.8 clc
.9 rts
*--------------------------------------
CS.RUN >SYSCALL GetChar
@ -122,9 +117,21 @@ CS.RUN >SYSCALL GetChar
>LDA.G hFilter
beq .4 No filter....
pha
ldy #S.STAT.FSID
lda (ZPFileStat),y
bne .11 not prodos...
pla
>SYSCALL GetMemPtr
>PUSHYA
>SYSCALL strupr
bra .12
.11 pla
>SYSCALL GetMemPtr
.12 >PUSHYA
>LDYA ZPFileName
>SYSCALL StrMatch
bcs .8 no match, skip....
@ -504,7 +511,7 @@ Mod2CSTR ldy #S.STAT.MODE+1
rts
*--------------------------------------
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
.INB USR/SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -551,10 +558,10 @@ bRecurse .BS 1
ColCount .BS 1
.INB /A2OSX.SRC/BIN/X.FILEENUM.G
.INB USR/SRC/BIN/X.FILEENUM.G
DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/LS.S
SAVE USR/SRC/BIN/LS.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -163,8 +163,8 @@ CS.QUIT clc
rts
*--------------------------------------
CS.END
MSG0 .AZ "ID FD Name Addr. Status Typ/Sub IDString Version Size (BLK)"
MSG1 .AZ "%03d %03d %7s $%H "
MSG0 .AZ "ID hFD Name Addr. Status Typ/Sub IDString Version Size (BLK)"
MSG1 .AZ "%03d $%h %7s $%H "
MSG2.ERR .AZ "Device Error : $%h\r\n"
MSG2 .AZ "%s $%h/$%h %16S %03d.%03d "
MSG2.B .AZ "%10u\r\n"
@ -182,5 +182,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/LSDEV.S
SAVE USR/SRC/BIN/LSDEV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -114,5 +114,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/LSOF.S
SAVE USR/SRC/BIN/BIN/LSOF.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -201,5 +201,5 @@ MD5Buf .BS 33
DS.END .ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/MD5.S
SAVE USR/SRC/BIN/BIN/MD5.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -132,5 +132,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/MEM.S
SAVE USR/SRC/BIN/BIN/MEM.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -293,5 +293,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.BUILD/BIN/DEV/MEMDUMP.S
SAVE USR/SRC/SRC/BIN/DEV/MEMDUMP.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -63,5 +63,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/MKDIR.S
SAVE USR/SRC/BIN/BIN/MKDIR.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -258,5 +258,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/MORE.S
SAVE USR/SRC/BIN/BIN/MORE.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -13,8 +13,8 @@ AUTO 4,1
X.COPY.TO.DEST .EQ 1
X.DELETE.SOURCE .EQ 1
*--------------------------------------
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
.INB USR/SRC/BIN/X.CPMVRM.S
.INB USR/SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -36,12 +36,12 @@ bContinue .BS 1
bRecurse .BS 1
bNoConfirm .BS 1
bQuiet .BS 1
.INB /A2OSX.SRC/BIN/X.CPMVRM.G
.INB /A2OSX.SRC/BIN/X.FILEENUM.G
.INB USR/SRC/BIN/X.CPMVRM.G
.INB USR/SRC/BIN/X.FILEENUM.G
DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/MV.S
SAVE USR/SRC/BIN/MV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -207,5 +207,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/NETSTAT.S
SAVE USR/SRC/BIN/BIN/NETSTAT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -103,5 +103,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/NFSMOUNT.S
SAVE USR/SRC/BIN/BIN/NFSMOUNT.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -377,5 +377,5 @@ DS.START
DS.END
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/NSCUTIL.S
SAVE USR/SRC/BIN/BIN/NSCUTIL.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -392,5 +392,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/PING.S
SAVE USR/SRC/BIN/BIN/PING.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -141,5 +141,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/PS.S
SAVE USR/SRC/BIN/BIN/PS.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -13,8 +13,8 @@ AUTO 4,1
X.COPY.TO.DEST .EQ 0
X.DELETE.SOURCE .EQ 1
*--------------------------------------
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
.INB USR/SRC/BIN/X.CPMVRM.S
.INB USR/SRC/BIN/X.FILEENUM.S
*--------------------------------------
CS.END
*--------------------------------------
@ -35,11 +35,11 @@ bContinue .BS 1
bRecurse .BS 1
bNoConfirm .BS 1
bQuiet .BS 1
.INB /A2OSX.SRC/BIN/X.CPMVRM.G
.INB /A2OSX.SRC/BIN/X.FILEENUM.G
.INB USR/SRC/BIN/X.CPMVRM.G
.INB USR/SRC/BIN/X.FILEENUM.G
DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/RM.S
SAVE USR/SRC/BIN/RM.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -279,5 +279,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.BUILD/BIN/DEV/RPCDUMP.S
SAVE USR/SRC/SRC/BIN/DEV/RPCDUMP.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -319,5 +319,5 @@ DS.END
.ED
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/TELNET.S
SAVE USR/SRC/BIN/BIN/TELNET.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -30,4 +30,4 @@ hToDelete .BS 1
.FIN
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/X.CPMVRM.G
SAVE USR/SRC/BIN/BIN/X.CPMVRM.G

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -132,7 +132,7 @@ CS.INIT
rts
*--------------------------------------
CS.RUN >SYSCALL GetChar
bcs .11 no char
bcs .15 no char
cmp #$03 Ctrl-C
bne .10
@ -140,14 +140,14 @@ CS.RUN >SYSCALL GetChar
rts Abort....
.10 cmp #$13 Ctrl-S
bne .11
bne .15
ldy #bPause
lda (pData),y
eor #$ff
sta (pData),y
.11 ldy #bPause
.15 ldy #bPause
lda (pData),y
bpl .1
.8 clc
@ -218,8 +218,21 @@ CS.RUN >SYSCALL GetChar
>LDA.G hFilter
beq .4 No filter....
pha
ldy #S.STAT.FSID
lda (ZPFileStat),y
bne .11 not prodos...
pla
>SYSCALL GetMemPtr
>PUSHYA
>SYSCALL strupr
bra .12
.11 pla
>SYSCALL GetMemPtr
.12 >PUSHYA
>LDYA ZPFileName
>SYSCALL StrMatch
bcs CS.RUN.NEXT no match, skip....
@ -764,6 +777,6 @@ CS.QUIT.FREE lda (pData),y
.9 rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/X.CPMVRM.S
LOAD /A2OSX.SRC/BIN/CP.S
SAVE USR/SRC/BIN/X.CPMVRM.S
LOAD USR/SRC/BIN/CP.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -18,4 +18,4 @@ hDstBasePath .BS 1
.FIN
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/X.FILEENUM.G
SAVE USR/SRC/BIN/BIN/X.FILEENUM.G

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -562,6 +562,6 @@ BasePath..1 lda (pData),y
rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/BIN/X.FILEENUM.S
LOAD /A2OSX.SRC/BIN/LS.S
SAVE USR/SRC/BIN/BIN/X.FILEENUM.S
LOAD USR/SRC/BIN/BIN/LS.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -1148,5 +1148,5 @@ DIB .DA #S.DIB.S.WRITE+S.DIB.S.READ
*--------------------------------------
DRV.END
MAN
SAVE /A2OSX.SRC/DRV/CONSOLE.DRV.S
SAVE USR/SRC/BIN/DRV/CONSOLE.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -350,6 +350,6 @@ BASEH .HS 20.24.28.2C.30.34.38.3C
.HS 23.27.2B.2F.33.37.3B.3F
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.G
LOAD /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.G
LOAD USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -402,6 +402,6 @@ BLT.Get7BMBits1 lda (ZPBMDataPtr)
Kernel.JMP jmp (SYS.Kernel.JMP,x)
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.S.RECT
LOAD /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.S.RECT
LOAD USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -312,6 +312,6 @@ LBUF.DrawAtY.AND.ORA
.8 rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.S.LBUF
LOAD /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.S.LBUF
LOAD USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -241,6 +241,6 @@ VLINE.C16 lda CB.Cache+S.CB.X1
.13 rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.S.LINE
LOAD /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.S.LINE
LOAD USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -157,6 +157,6 @@ SETPIXEL.C16 lda CB.Cache+S.CB.X1
GETPIXEL rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.S.PIX
LOAD /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.S.PIX
LOAD USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -59,6 +59,6 @@ GETRECTBUFSIZE >LDYA CB.Cache+S.CB.X1
rts
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.S.BLT
LOAD /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.S.BLT
LOAD USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -320,15 +320,15 @@ YAMultX stx ZPTmpByte
rts
*--------------------------------------
.INB /A2OSX.SRC/DRV/DHGR.DRV.S.BLT
.INB /A2OSX.SRC/DRV/DHGR.DRV.S.LBUF
.INB /A2OSX.SRC/DRV/DHGR.DRV.S.LINE
.INB /A2OSX.SRC/DRV/DHGR.DRV.S.PIX
.INB /A2OSX.SRC/DRV/DHGR.DRV.S.RECT
.INB USR/SRC/BIN/DRV/DHGR.DRV.S.BLT
.INB USR/SRC/BIN/DRV/DHGR.DRV.S.LBUF
.INB USR/SRC/BIN/DRV/DHGR.DRV.S.LINE
.INB USR/SRC/BIN/DRV/DHGR.DRV.S.PIX
.INB USR/SRC/BIN/DRV/DHGR.DRV.S.RECT
*--------------------------------------
DRV.CS.END
*--------------------------------------
.INB /A2OSX.SRC/DRV/DHGR.DRV.G
.INB USR/SRC/BIN/DRV/DHGR.DRV.G
*--------------------------------------
CONTROL.SWTCHES
* sta CLRTEXT
@ -435,5 +435,5 @@ DSTAT .DA #0
.DA 192 H
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/DHGR.DRV.S
SAVE USR/SRC/BIN/DRV/DHGR.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -561,5 +561,5 @@ DCB .DA #S.DCB.T.NIC
*--------------------------------------
DRV.END
MAN
SAVE /A2OSX.SRC/DRV/LANCEGS.DRV.S
SAVE USR/SRC/BIN/DRV/LANCEGS.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -320,5 +320,5 @@ DEVSTAT .DA #0
.DA #91
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/MOUSE.DRV.S
SAVE USR/SRC/BIN/DRV/MOUSE.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -10,8 +10,8 @@ SSCIRQ .EQ 0
.INB INC/MLI.E.I
.INB INC/COM.I
.INB INC/COM.6551.I
.INB /A2OSX.SRC/DRV/X.SSC.DRV.S
.INB USR/SRC/BIN/DRV/X.SSC.DRV.S
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/SSC.DRV.S
SAVE USR/SRC/BIN/DRV/SSC.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -10,8 +10,8 @@ SSCIRQ .EQ 1
.INB INC/MLI.E.I
.INB INC/COM.I
.INB INC/COM.6551.I
.INB /A2OSX.SRC/DRV/X.SSC.DRV.S
.INB USR/SRC/BIN/DRV/X.SSC.DRV.S
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/SSC.I.DRV.S
SAVE USR/SRC/BIN/DRV/SSC.I.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -12,8 +12,8 @@ U2AI .EQ 1
.INB INC/NIC.W5100.I
.INB INC/ETH.I
.INB INC/LIBTCPIP.I
.INB /A2OSX.SRC/DRV/X.U2.DRV.S
.INB USR/SRC/BIN/DRV/X.U2.DRV.S
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/UTHER2.AI.DRV.S
SAVE USR/SRC/BIN/DRV/UTHER2.AI.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -552,5 +552,5 @@ DCB .DA #S.DCB.T.NIC
*--------------------------------------
DRV.END
MAN
SAVE /A2OSX.SRC/DRV/UTHERNET.DRV.S
SAVE USR/SRC/BIN/DRV/UTHERNET.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -11,8 +11,8 @@ U2AI .EQ 0
.INB INC/NIC.I
.INB INC/NIC.W5100.I
.INB INC/ETH.I
.INB /A2OSX.SRC/DRV/X.U2.DRV.S
.INB USR/SRC/BIN/DRV/X.U2.DRV.S
*--------------------------------------
MAN
SAVE /A2OSX.SRC/DRV/UTHERNET2.DRV.S
SAVE USR/SRC/BIN/DRV/UTHERNET2.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.OP 65C02
.OR $2000
@ -593,6 +593,6 @@ DCB .DA #S.DCB.T.COM
*--------------------------------------
DRV.END
MAN
SAVE /A2OSX.SRC/DRV/X.SSC.DRV.S
LOAD /A2OSX.SRC/DRV/SSC.I.DRV.S
SAVE USR/SRC/BIN/DRV/X.SSC.DRV.S
LOAD USR/SRC/BIN/DRV/SSC.I.DRV.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.OP 65C02
.OR $2000
@ -677,6 +677,6 @@ DCB .DA #S.DCB.T.NIC
*--------------------------------------
DRV.END
MAN
SAVE /A2OSX.SRC/DRV/X.U2.DRV.S
LOAD /A2OSX.SRC/DRV/UTHER2.AI.DRV.S
SAVE USR/SRC/BIN/DRV/X.U2.DRV.S
LOAD USR/SRC/BIN/DRV/UTHER2.AI.DRV.S
ASM

29
ETC/INIT Normal file
View File

@ -0,0 +1,29 @@
NEW
PREFIX
AUTO 4,1
ECHO *** A2osX INIT Script ***
SET PS1='$PWD'
# Main Screen
INSDRV CONSOLE.DRV
STARTPROC GETTY /DEV/CON ${ROOT}SBIN/LOGIN
# Serial Login
#INSDRV SSC.DRV 9600,N,8,1,X
#INSDRV SSC.I.DRV 9600,N,8,1,X
#STARTPROC GETTY /DEV/COM2 ${ROOT}SBIN/LOGIN
#INSDRV PIC.DRV
# Network Section
#INSDRV UTHERNET.DRV 00:0E:3A:12:34:56
#INSDRV LANCEGS.DRV
#INSDRV UTHER2.AI.DRV 00:08:DC:12:34:56
#INSDRV UTHERNET2.DRV 00:08:DC:12:34:56
#STARTPROC TCPIPD
#STARTPROC DHCPCLNT
#STARTPROC TELNETD
#STARTPROC HTTPD
# GUI Section
#INSDRV MOUSE.DRV
#INSDRV DHGR.DRV
#STARTPROC DESKTOP
ECHO *** End INIT ***
MAN
TEXT ETC/INIT

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*--------------------------------------
K.VER .EQ $5C00 92.0
@ -198,12 +198,12 @@ SYS.StrToF .EQ $76
SYS.StrToL .EQ $78
* .EQ $7A
SYS.RealPath .EQ $7C
* .EQ $7E
SYS.StrMatch .EQ $7E
*--------------------------------------
SYS.StrLen .EQ $80
SYS.StrCpy .EQ $82
SYS.StrCat .EQ $84
SYS.StrMatch .EQ $86
* .EQ $86
SYS.StrUpr .EQ $88
SYS.StrLwr .EQ $8A
SYS.StrCmp .EQ $8C
@ -599,10 +599,22 @@ S.STAT.P.AUXTYPE .EQ 53 WORD
S.STAT.P.SLOT .EQ 55 BYTE
S.STAT.P.DRIVE .EQ 56 BYTE
S.STAT.P.DEVSTATUS .EQ 57 BYTE
*S.STAT.P.DEVCNFLCT .EQ 58 BYTE
S.STAT.P.DEVBLOCKS .EQ 59 BYTE
S.STAT.P.DEVCNFLCT .EQ 58 BYTE
S.STAT.P.DEVBLOCKS .EQ 59 WORD
S.STAT.FSID .EQ 61 BYTE
S.STAT.FSID.PRODOS .EQ 0
*
S.STAT .EQ 64
*--------------------------------------
S.PW.NAME .EQ 0 16+1
S.PW.PASSWD .EQ 17 32+1
S.PW.UID .EQ 50
S.PW.GID .EQ 51
S.PW.GECOS .EQ 52 32+1
S.PW.DIR .EQ 85 64+1
S.PW.SHELL .EQ 150 64+1
*
S.PW .EQ 215
*--------------------------------------
MAN
SAVE INC/A2OSX.I

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
@ -165,5 +165,5 @@ H.BIN.DRV.REL.TABLE .EQ 2 Including main jmp
*--------------------------------------
MAN
SAVE INC/KERNEL.I
LOAD /A2OSX.SRC/SYS/KERNEL.S
LOAD USR/SRC/SYS/KERNEL.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
.LIST OFF
.OP 65C02
@ -15,5 +15,5 @@ LIBGUI.GetScreenGC .EQ 22
*--------------------------------------
MAN
SAVE /A2OSX.BUILD/INC/LIBGUI.I
LOAD /A2OSX.SRC/LIB/LIBGUI.S
LOAD USR/SRC/LIB/LIBGUI.S
ASM

View File

@ -1,5 +1,5 @@
NEW
PREFIX /A2OSX.BUILD
PREFIX
AUTO 4,1
*--------------------------------------
* File Header :

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