Kernel 0.93

This commit is contained in:
Rémy GIBERT 2019-05-22 23:02:37 +02:00
parent 3e0f2e5bb1
commit b2f8dc8f91
3 changed files with 13 additions and 15 deletions

Binary file not shown.

View File

@ -1,6 +1,5 @@
NEW
PREFIX
AUTO 4,1
AUTO 3,1
.LIST OFF
.OP 65C02
.OR $2000
@ -28,7 +27,7 @@ CS.START cld
.DA 0
.DA CS.END-CS.START Code Size (without Constants)
.DA DS.END-DS.START Data SegmentSize
.DA #32 Stack Size
.DA #64 Stack Size
.DA #ZS.END-ZS.START Zero Page Size
.DA 0
*--------------------------------------
@ -82,11 +81,12 @@ CS.RUN >LDYA L.MSG0
.1 lda (ZPPTR1),y
beq .7
>SYSCALL GetMemPtr
>STYA ZPPTR2
lda (ZPPTR2)
ldy #S.SOCKET.AF
lda (ZPPTR2),y
cmp #AF.INET
bne .7
@ -107,7 +107,6 @@ CS.RUN >LDYA L.MSG0
>PUSHBI 19
>LDYA L.MSG1
>DEBUG
>SYSCALL printf
bcs .9

View File

@ -1,16 +1,15 @@
NEW
PREFIX
AUTO 4,1
AUTO 3,1
.LIST OFF
*--------------------------------------
S.ETH.DSTMAC .EQ 0
S.ETH.SRCMAC .EQ 6
S.ETH.DSTMAC .EQ 0
S.ETH.SRCMAC .EQ 6
*--------------------------------------
S.ETH.EII.TYPE .EQ 12
S.ETH.EII.TYPE.IP .EQ $800
S.ETH.EII.TYPE.ARP .EQ $806
S.ETH.EII.TYPE .EQ 12
S.ETH.EII.TYPE.IP .EQ $800
S.ETH.EII.TYPE.ARP .EQ $806
*
S.ETH.EII .EQ 14
S.ETH.EII .EQ 14
*--------------------------------------
S.ETH.802.3.LENGTH .EQ 12
S.ETH.802.2.DSTSAP .EQ 14
@ -21,7 +20,7 @@ S.ETH.SNAP.PROTO .EQ 20
S.ETH.SNAP.PROTO.AARP .EQ $80F3
S.ETH.SNAP.PROTO.DDP .EQ $809B
*
S.ETH.SNAP .EQ 22
S.ETH.SNAP .EQ 22
*--------------------------------------
MAN
SAVE INC/ETH.I