NEW PREFIX AUTO 4,1 .LIST OFF *-------------------------------------- * PULLW = PTR to S.IPCFG *-------------------------------------- DEV.Bind >PUSHBI 0 >LDYA L.DEVNAME >SYSCALL open bcc .1 inc DEVNAME+8 lda DEVNAME+8 cmp #'8' bne DEV.Bind >LDYA L.MSG.DEV.KO >SYSCALL puts lda #MLI.E.NODEV sec rts .1 sta IPCFG+S.IPCFG.hFD >PUSHW L.DEVNAME >PUSHBI 2 >LDYA L.MSG.DEV.OK >SYSCALL printf clc rts *-------------------------------------- MAN SAVE USR/SRC/SBIN/IPCONFIG.S.DEV LOAD USR/SRC/SBIN/IPCONFIG.S ASM