Extra USER variables

Common to all tasks

cell +User SocketErrorCode      \ -- addr
Last socket error.

cell +User my_hsocket   \ -- addr
Socket# owned by this task.

cell +User my_socket    \ -- addr
Socket address owned by this task

\ cell +user *emitBuff  \ -- addr
Start of the current emit buffer

\ cell +user *emitNext  \ -- addr
Pointer for next buffer location

\ cell +user *emitQueue \ -- addr
Pointer to interface emit queue

\ cell +user emitmode   \ -- addr
0=char, 1=block, 2=udp socket

\ cell +user *keyBuff   \ -- addr
Contains current key buffer address

\ cell +user *keyNext   \ -- addr
Pointer to next byte in buffer

\ cell +user keyCount   \ -- addr
count of bytes left in buffer

\ cell +user *keyQueue  \ -- addr
pointer to interface key queue

SLIP variables

cell +User portid       \ -- addr
SCC port identifier 01-0n

cell +User rxstate      \ -- addr
current rx packet state

cell +User *rxpbuf      \ -- addr
pointer to current rx pbuf

cell +User *rxnow       \ -- addr
pointer to next rx char

cell +User rxcount      \ -- addr
bytes entered into buffer

cell +User rxspace      \ -- addr
space left in buffer

cell +User *txpbuf      \ -- addr
pointer to current rx pbuf

cell +User *txnow       \ -- addr
pointer to next tx char

cell +User txcount      \ -- addr
bytes entered into buffer

cell +User txspace      \ -- addr
space left in buffer

cell +User RXExpSlip    \ -- addr
receive expiry time

cell +User *community   \ -- addr
pointer to community string

cell +User commlen      \ -- addr
length of community string

cell +User pdutype      \ -- addr
pdu type (Get etc.)

cell +User reqid        \ -- addr
pdu request identifier

cell +User errStatus    \ -- addr
pdu error status

cell +User errIndex     \ -- addr
pdu error index

cell +User numVars      \ -- addr
vars requested in pdu

cell +User *tagsIn      \ -- addr
pdu tags in pointer

cell +User *varsOut     \ -- addr
pdu vars out pointer

cell +User *nextVar     \ -- addr
pointer to next variable

cell +User *outPacket   \ -- addr
pointer to outgoing packet buffer

cell +User *replystart  \ -- addr
start of response

cell +User replylen     \ -- addr
length of response

cell +User *data        \ -- addr
current data pointer

cell +User spaceleft    \ -- addr
remaining length of data buffer

cell +User taddr        \ -- addr
temp data pointer

cell +User trapgen      \ -- addr
generic trap identifier

cell +User trapspec     \ -- addr
specific trap identifier