2016-10-17 15:47:50 +00:00
|
|
|
|
PR#3
|
2017-03-29 15:48:15 +00:00
|
|
|
|
PREFIX /A2OSX.BUILD
|
2016-10-17 15:47:50 +00:00
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
|
|
|
|
.LIST OFF
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
* WIZnet W5100 IO Registers
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.MA AR.SELECT
|
|
|
|
|
lda /W5100.AR.]1
|
|
|
|
|
sta W5100.AR,x
|
|
|
|
|
lda #W5100.AR.]1
|
|
|
|
|
sta W5100.AR+1,x
|
|
|
|
|
.EM
|
|
|
|
|
*--------------------------------------
|
2017-04-24 21:32:57 +00:00
|
|
|
|
W5100.MR .EQ $C084-$88 Mode Register
|
2016-10-17 15:47:50 +00:00
|
|
|
|
W5100.MR.RST .EQ %10000000
|
|
|
|
|
W5100.MR.PB .EQ %00010000
|
|
|
|
|
W5100.MR.PPPOE .EQ %00001000
|
|
|
|
|
W5100.MR.AI .EQ %00000010
|
|
|
|
|
W5100.MR.IND .EQ %00000001
|
2017-04-24 21:32:57 +00:00
|
|
|
|
W5100.AR .EQ $C085-$88 Memory Pointer
|
2016-10-17 15:47:50 +00:00
|
|
|
|
W5100.AR.GAR .EQ $0001
|
|
|
|
|
W5100.AR.SUBR .EQ $0005
|
|
|
|
|
W5100.AR.SHAR .EQ $0009
|
|
|
|
|
W5100.AR.SIPR .EQ $000F
|
|
|
|
|
W5100.AR.IR .EQ $0015
|
|
|
|
|
W5100.AR.IMR .EQ $0016
|
|
|
|
|
W5100.AR.RTR .EQ $0017
|
|
|
|
|
W5100.AR.RCR .EQ $0019
|
|
|
|
|
W5100.AR.RMSR .EQ $001A
|
|
|
|
|
W5100.AR.TMSR .EQ $001B
|
|
|
|
|
W5100.AR.PATR .EQ $001C
|
|
|
|
|
W5100.AR.PTIMER .EQ $0028
|
|
|
|
|
W5100.AR.PMAGIC .EQ $0029
|
|
|
|
|
W5100.AR.UIPR .EQ $002A
|
|
|
|
|
W5100.AR.UPORT .EQ $002E
|
|
|
|
|
W5100.AR.S0.MR .EQ $0400
|
|
|
|
|
W5100.AR.S0.MR.MULTI .EQ $80
|
|
|
|
|
W5100.AR.S0.MR.MF .EQ $40
|
|
|
|
|
W5100.AR.S0.MR.NDMC .EQ $20
|
|
|
|
|
W5100.AR.S0.MR.TCP .EQ $01
|
|
|
|
|
W5100.AR.S0.MR.UDP .EQ $02
|
|
|
|
|
W5100.AR.S0.MR.IPRAW .EQ $03
|
|
|
|
|
W5100.AR.S0.MR.MACRAW .EQ $04
|
|
|
|
|
W5100.AR.S0.MR.PPPOE .EQ $05
|
|
|
|
|
W5100.AR.S0.CR .EQ $0401
|
2017-04-04 15:39:09 +00:00
|
|
|
|
W5100.AR.S0.CR.OPEN .EQ $01
|
|
|
|
|
W5100.AR.S0.CR.LISTEN .EQ $02
|
|
|
|
|
W5100.AR.S0.CR.CONNECT .EQ $04
|
|
|
|
|
W5100.AR.S0.CR.DISCON .EQ $08
|
|
|
|
|
W5100.AR.S0.CR.CLOSE .EQ $10
|
|
|
|
|
W5100.AR.S0.CR.SEND .EQ $20
|
|
|
|
|
W5100.AR.S0.CR.SENDMAC .EQ $21
|
|
|
|
|
W5100.AR.S0.CR.SENDKEEP .EQ $22
|
|
|
|
|
W5100.AR.S0.CR.RCVD .EQ $40
|
2016-10-17 15:47:50 +00:00
|
|
|
|
W5100.AR.S0.IR .EQ $0402
|
|
|
|
|
W5100.AR.S0.SR .EQ $0403
|
|
|
|
|
W5100.AR.S0.PORT .EQ $0404
|
|
|
|
|
W5100.AR.S0.DHAR .EQ $0406
|
|
|
|
|
W5100.AR.S0.DIPR .EQ $040C
|
|
|
|
|
W5100.AR.S0.DPORT .EQ $0410
|
|
|
|
|
W5100.AR.S0.MSSR .EQ $0412
|
|
|
|
|
W5100.AR.S0.PROTO .EQ $0414
|
|
|
|
|
W5100.AR.S0.TOS .EQ $0415
|
|
|
|
|
W5100.AR.S0.TTL .EQ $0416
|
|
|
|
|
W5100.AR.S0.TX.FSR .EQ $0420
|
|
|
|
|
W5100.AR.S0.TX.RD .EQ $0422
|
|
|
|
|
W5100.AR.S0.TX.WR .EQ $0424
|
|
|
|
|
W5100.AR.S0.RX.RSR .EQ $0426
|
|
|
|
|
W5100.AR.S0.RX.RD .EQ $0428
|
2017-04-24 21:32:57 +00:00
|
|
|
|
W5100.DR .EQ $C087-$88
|
2016-10-17 15:47:50 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
TX.BASE .EQ $4000
|
|
|
|
|
RX.BASE .EQ $6000
|
|
|
|
|
RXTX.MASK .EQ $1FFF
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
2017-11-20 16:45:12 +00:00
|
|
|
|
SAVE /A2OSX.BUILD/INC/NIC.W5100.I
|