This is an old version from the tos.hyp. The new is on GitHub!

HomeGEMDOSMemory managementSystem functions

5.13 Network functions

Nversion Network identifier determine

5.13.1 Nversion

Name: »Nversion« - Network identifier determine
Opcode: 96
Syntax: int32_t Nversion( void );
Description: Returns the identifier of the connected network
Return value:

ID Name
1 Bionet
2 A-Net
3 Elan
4 TSE-Net
5 Atlanet
6 PAMs-Net
7 Transnet
Availability:
Group: Network functions
See also: Binding

5.13.1.1 Bindings for Nversion

C: int32_t Nversion( void );
Assembler:
move.w    #96,-(sp)    ; Offset 0
trap      #1           ; GEMDOS
addq.l    #2,sp        ; correct stack

HomeGEMDOSMemory managementSystem functions