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