mirror of
https://github.com/A2osX/A2osX.git
synced 2024-07-13 13:29:04 +00:00
Kernel 0.92
This commit is contained in:
parent
1c9fbd7f10
commit
a39eb17109
Binary file not shown.
@ -7,22 +7,15 @@ DHCP.INIT lda (pIPCFG)
|
|||||||
and #S.IPCFG.STATUS.OK
|
and #S.IPCFG.STATUS.OK
|
||||||
bne .99 Already Configured, exit
|
bne .99 Already Configured, exit
|
||||||
|
|
||||||
ldy #S.IPCFG-1
|
|
||||||
|
|
||||||
.1 lda (pIPCFG),y
|
|
||||||
sta IPCFG,y
|
|
||||||
dey
|
|
||||||
bne .1
|
|
||||||
|
|
||||||
stz IPCFG+S.IPCFG.STATUS
|
stz IPCFG+S.IPCFG.STATUS
|
||||||
|
|
||||||
ldx #3
|
ldx #3
|
||||||
|
|
||||||
.11 lda A2osX.TIMER16,x
|
.1 lda A2osX.TIMER16,x
|
||||||
sta DHCP.DISC.XID,x
|
sta DHCP.DISC.XID,x
|
||||||
sta DHCP.REQ.XID,x
|
sta DHCP.REQ.XID,x
|
||||||
dex
|
dex
|
||||||
bpl .11
|
bpl .1
|
||||||
|
|
||||||
ldx #5
|
ldx #5
|
||||||
|
|
||||||
|
@ -368,8 +368,11 @@ CFG.Read.GetS >PUSHWI 255
|
|||||||
>PUSHW ZPTmpPtr1
|
>PUSHW ZPTmpPtr1
|
||||||
lda CFG.hCfgFile
|
lda CFG.hCfgFile
|
||||||
>SYSCALL fgets
|
>SYSCALL fgets
|
||||||
|
bcs .9
|
||||||
rts
|
>LDYA ZPTmpPtr1
|
||||||
|
>SYSCALL puts
|
||||||
|
|
||||||
|
.9 rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
MAN
|
MAN
|
||||||
SAVE USR/SRC/SBIN/IPCONFIG.S.ETC
|
SAVE USR/SRC/SBIN/IPCONFIG.S.ETC
|
||||||
|
@ -166,13 +166,15 @@ CS.RUN >LIBCALL hLIBTCPIP,LIBTCPIP.GETCFG
|
|||||||
|
|
||||||
jsr CFG.EtcFiles
|
jsr CFG.EtcFiles
|
||||||
|
|
||||||
jsr DHCP.INIT
|
* jsr DHCP.INIT
|
||||||
bcs .8
|
* bcs .8
|
||||||
|
|
||||||
jsr DHCP.RUN
|
* jsr DHCP.RUN
|
||||||
jsr DHCP.QUIT
|
|
||||||
|
* jsr DHCP.QUIT
|
||||||
|
|
||||||
.8 >PUSHW L.IPCFG
|
.8 >PUSHW L.IPCFG
|
||||||
|
>DEBUG
|
||||||
>LIBCALL hLIBTCPIP,LIBTCPIP.SETCFG
|
>LIBCALL hLIBTCPIP,LIBTCPIP.SETCFG
|
||||||
|
|
||||||
* lda #0
|
* lda #0
|
||||||
|
Loading…
Reference in New Issue
Block a user