misc bug fix

This commit is contained in:
Rémy GIBERT 2016-05-01 23:12:22 +02:00
parent 4fabb9ff04
commit 8bb9ad0cd0
3 changed files with 25 additions and 9 deletions

View File

@ -109,7 +109,7 @@ pDevJmp .EQ $BE10
pCodeJmp .EQ $BE13
pLibJmp .EQ $BE16
*--------------------------------------
* $11 bytes min !!!!
* $12 bytes min !!!!
*--------------------------------------
MLICALL.PARAMS .EQ $BEC0
*--------------------------------------
@ -170,6 +170,9 @@ SYS.PStrCat .EQ $14
SYS.PStrCmp .EQ $16
SYS.PStrGetTkn .EQ $18
SYS.GetArgCount .EQ $1C
SYS.GetArgA .EQ $1E
*--------------------------------------
SYS.LoadBinA .EQ $20
SYS.LoadLibYA .EQ $22
@ -248,8 +251,9 @@ SYS.LoadFileA .EQ $A4
SYS.LoadFileYA .EQ $A6
SYS.ListDirInitA .EQ $A8
SYS.ListDirNextA .EQ $AA
SYS.ListDirCloseA .EQ $AC
SYS.ListDirInitYA .EQ $AA
SYS.ListDirNextA .EQ $AC
SYS.ListDirCloseA .EQ $AE
*--------------------------------------
SYS.AddNetCfg .EQ $B0
SYS.SetNetCfg .EQ $B2
@ -267,6 +271,17 @@ SYS.HexOutYA .EQ $DA
SYS.DecOutA .EQ $DC
SYS.DecOutYA .EQ $DE
*--------------------------------------
S.FINFO.ACCESS .EQ $00
S.FINFO.TYPE .EQ $01
S.FINFO.AUXTYPE .EQ $02
S.FINFO.STORETYPE .EQ $04
S.FINFO.BLOCKSUSED .EQ $05
S.FINFO.MODDATE .EQ $07
S.FINFO.MODTIME .EQ $09
S.FINFO.CREATEDATE .EQ $0B
S.FINFO.CREATETIME .EQ $0D
S.FINFO .EQ $0F
*--------------------------------------
* ProDOS ERROR CODES : $00->$5F
* Lib ERROR CODES : $80->$BF
* Kernel ERROR CODES : $C0->$FF
@ -464,7 +479,7 @@ S.LISTDIR.EPB .EQ 7 entry_per_block
S.LISTDIR.BLKPTR .EQ 8 entry PTR in block
S.LISTDIR.FI .EQ 10 FILE_INDEX in DIR
S.LISTDIR.FC .EQ 12 file_count
S.LISTDIR.hPATH .EQ 14 Pattern for file filtering
S.LISTDIR.hPATH .EQ 14 Base path for file filtering
S.LISTDIR.hPATTERN .EQ 15 Pattern for file filtering
*
S.LISTDIR.SIZE .EQ 16

View File

@ -133,9 +133,7 @@ S.DNSCACHE .EQ 12
S.SOCKET.SOCK .EQ 0
S.SOCKET.SOCK.DGRAM .EQ 1
S.SOCKET.SOCK.STREAM .EQ 2
*S.SOCKET.SOCK.RAW .EQ 3
*S.SOCKET.SOCK.RDM .EQ 4
*S.SOCKET.SOCK.SEQPACKET .EQ 5
S.SOCKET.SO .EQ 1
S.SOCKET.SO.DEBUG .EQ $01
S.SOCKET.SO.ACCEPTCONN .EQ $02
@ -145,6 +143,7 @@ S.SOCKET.SO.DONTROUTE .EQ $10
S.SOCKET.SO.BROADCAST .EQ $20
S.SOCKET.SO.USELOOPBACK .EQ $40
S.SOCKET.SO.LINGER .EQ $80
S.SOCKET.STATUS .EQ 2
S.SOCKET.STATUS.CLOSED .EQ 0
S.SOCKET.STATUS.LISTEN .EQ 1
@ -157,7 +156,8 @@ S.SOCKET.STATUS.FINWT1 .EQ 7
S.SOCKET.STATUS.FINWT2 .EQ 8
S.SOCKET.STATUS.CLOSING .EQ 9
S.SOCKET.STATUS.TIMEWT .EQ 10
S.SOCKET.PARENT .EQ 3
*S.SOCKET.PARENT .EQ 3
S.SOCKET.SRC.ADDR .EQ 4
S.SOCKET.SRC.PORT .EQ 8
S.SOCKET.DST.ADDR .EQ 10

View File

@ -2,7 +2,7 @@ PR#3
PREFIX /A2OSX.SRC
NEW
INC 1
AUTO 1000
AUTO 6
.LIST OFF
*--------------------------------------
* PRODOS Constants
@ -128,5 +128,6 @@ IBAKVER .EQ $BFFC
IVERSION .EQ $BFFD
KBAKVER .EQ $BFFE
KVERSION .EQ $BFFF
*--------------------------------------
MAN
SAVE INC/PRODOS.I