stack 1
interrupts 1
data 1 150
code auto

; this program keeps TCP/IP services running

; hide console
mov ax 23
mov bx 0
mov cx 128
sys


; set priority to 7 (length of loop)
;mov ax 26
;mov bx 0
;mov cx 7
;sys


str devname "sock0"
str args_service "\0"


mov bx $devname
mov cx $args_service
jmp service_loop

:service_loop_nosleep
;nop
;nop
:service_loop
mov ax 29
sys

cmp ax 0
jne service_loop_nosleep

mov ax 46
sys

jmp service_loop
