?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. ;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  2. ;@                                                                            @
  3. ;@                    S y m b O S   -   C o n s t a n t s                     @
  4. ;@                                                                            @
  5. ;@             (c) 2000-2015 by Prodatron / SymbiosiS (JЎrn Mika)             @
  6. ;@                                                                            @
  7. ;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  8.  
  9.  
  10. ;P R O C E S S - I D S
  11. PRC_ID_KERNEL   equ 1   ;kernel process
  12. PRC_ID_DESKTOP  equ 2   ;desktop manager process
  13. PRC_ID_SYSTEM   equ 3   ;system manager process
  14.  
  15.  
  16. ;M E S S A G E S
  17. ;General
  18. MSC_GEN_QUIT    equ 0   ;application is beeing asked, to quit itself
  19. MSC_GEN_FOCUS   equ 255 ;application is beeing asked, to focus its window
  20.  
  21. ;Kernel Commands
  22. MSC_KRL_MTADDP  equ 1   ;add process (P1/2=stack, P3=priority (7 high - 1 low), P4=ram bank (0-8))
  23. MSC_KRL_MTDELP  equ 2   ;delete process (P1=ID)
  24. MSC_KRL_MTADDT  equ 3   ;add timer (P1/2=stack, P4=ram bank (0-8))
  25. MSC_KRL_MTDELT  equ 4   ;delete timer (P1=ID)
  26. MSC_KRL_MTSLPP  equ 5   ;set process to sleep mode
  27. MSC_KRL_MTWAKP  equ 6   ;wake up process
  28. MSC_KRL_TMADDT  equ 7   ;add counter service (P1/2=address, P3=ram bank, P4=process, P5=frequency)
  29. MSC_KRL_TMDELT  equ 8   ;delete counter service (P1/2=address, P3=ram bank)
  30. MSC_KRL_TMDELP  equ 9   ;delete all counter services of one process (P1=process ID)
  31. MSC_KRL_MTPRIO  equ 10  ;changes the priority of a process (P1=ID, P2=new priority)
  32.  
  33. ;Kernel Responses
  34. MSR_KRL_MTADDP  equ 129 ;process has been added (P1=0/1->ok/failed, P2=ID)
  35. MSR_KRL_MTDELP  equ 130 ;process has been deleted
  36. MSR_KRL_MTADDT  equ 131 ;timer process has been deleted (P1=0/1->ok/failed, P2=ID)
  37. MSR_KRL_MTDELT  equ 132 ;timer has been removed
  38. MSR_KRL_MTSLPP  equ 133 ;process is sleeping now
  39. MSR_KRL_MTWAKP  equ 134 ;process has been waked up
  40. MSR_KRL_TMADDT  equ 135 ;counter service has been added (P1=0/1->ok/failed)
  41. MSR_KRL_TMDELT  equ 136 ;counter service has been deleted
  42. MSR_KRL_TMDELP  equ 137 ;all counter services of a process have been deleted
  43. MSR_KRL_MTPRIO  equ 138 ;priority of a process has been changed
  44.  
  45. ;System Manager Commands
  46. MSC_SYS_PRGRUN  equ 16  ;load application or document (P1/2=address filename, P3=ram bank filename)
  47. MSC_SYS_PRGEND  equ 17  ;quit application (P1=ID)
  48. MSC_SYS_SYSWNX  equ 18  ;open dialogue to change current window (next) (-)
  49. MSC_SYS_SYSWPR  equ 19  ;open dialogue to change current window (previouse) (vorheriges) (-)
  50. MSC_SYS_PRGSTA  equ 20  ;open dialogue to load application or document (-)
  51. MSC_SYS_SYSSEC  equ 21  ;open system secuity dialogue (-)
  52. MSC_SYS_SYSQIT  equ 22  ;open shut shown dialogue (-)
  53. MSC_SYS_SYSOFF  equ 23  ;shut down (-)
  54. MSC_SYS_PRGSET  equ 24  ;start control panel (P1=submodul -> 0=main window, 1=display settings, 2=date/time)
  55. MSC_SYS_PRGTSK  equ 25  ;start taskmanager (-)
  56. MSC_SYS_SYSFIL  equ 26  ;call filemanager function (P1=number, P2-13=AF,BC,DE,HL,IX,IY)
  57. MSC_SYS_SYSHLP  equ 27  ;start help (-)
  58. MSC_SYS_SYSCFG  equ 28  ;call config function (P1=number, 0=load, 1=save, 2=reload background)
  59. MSC_SYS_SYSWRN  equ 29  ;open message/confirm window (P1/2=adresse, P3=ram bank, P4=number of buttons)
  60. MSC_SYS_PRGSRV  equ 30  ;shared service function (P4=type [0=search, 1=start, 2=release], P1/2=addresse 12char ID, P3=ram bank 12char ID or P3=program ID, if type=2)
  61. MSC_SYS_SELOPN  equ 31  ;open fileselect dialogue (P6=filename ram bank, P8/9=filename address, P7=forbidden attributes, P10=max entries, P12=max buffer size)
  62.  
  63. ;System Manager Responses
  64. MSR_SYS_PRGRUN  equ 144 ;application has been started (P1=result -> 0=ok, 1=file doesnt exist, 2=file is not executable, 3=error while loading  [P8=filemanager error code], 4=memory full, P8=app ID, P9=process ID)
  65. MSR_SYS_SYSFIL  equ 154 ;filemanager function returned (P1=number, P2-13=AF,BC,DE,HL,IX,IY)
  66. MSR_SYS_SYSWRN  equ 157 ;message/confirm window response (P1 -> 0=already in use, 1=opened [P2=number], 2=ok, 3=yes, 4=no, 5=cancel/close)
  67. MSR_SYS_PRGSRV  equ 158 ;shared service function response (P1=state [5=not found, other codes see MSR_SYS_PRGRUN], P8=app ID, P9=process ID)
  68. MSR_SYS_SELOPN  equ 159 ;message from fileselect dialogue (P1 -> 0=Ok, 1=cancel, 2=already in use, 3=no memory free, 4=no window free, -1=open ok, modal window has been opened [P2=number])
  69.  
  70. ;Desktop Manager Commands
  71. MSC_DSK_WINOPN  equ 32  ;open window (P1=ram bank, P2/3=address data record)
  72. MSC_DSK_WINMEN  equ 33  ;redraw menu bar (P1=window ID) [only if focus]
  73. MSC_DSK_WININH  equ 34  ;redraw window content (P1=window ID, P2=-1/-Num/Object, P3=Object) [only if focus]
  74. MSC_DSK_WINTOL  equ 35  ;redraw window toolbar (P1=window ID) [only if focus]
  75. MSC_DSK_WINTIT  equ 36  ;redraw window title (P1=window ID) [only if focus]
  76. MSC_DSK_WINSTA  equ 37  ;redraw window status lien (P1=window ID) [only if focus]
  77. MSC_DSK_WINMVX  equ 38  ;set content x offset (P1=window ID, P2/3=XPos) [only if focus]
  78. MSC_DSK_WINMVY  equ 39  ;set content y offset (P1=window ID, P2/3=XPos) [only if focus]
  79. MSC_DSK_WINTOP  equ 40  ;takes window to the front (P1=window ID) [always]
  80. MSC_DSK_WINMAX  equ 41  ;maximize window (P1=window ID) [always]
  81. MSC_DSK_WINMIN  equ 42  ;minimize window (P1=window ID) [always]
  82. MSC_DSK_WINMID  equ 43  ;restore window size (P1=window ID) [always]
  83. MSC_DSK_WINMOV  equ 44  ;moves window to a new position (P1=window ID, P2/3=XPos, P4/5=YPos) [always]
  84. MSC_DSK_WINSIZ  equ 45  ;resize the window (P1=window ID, P2/3=XPos, P4/5=YPos) [always]
  85. MSC_DSK_WINCLS  equ 46  ;closes and removes window (P1=window ID) [always]
  86. MSC_DSK_WINDIN  equ 47  ;redraw window content, even if it hasnt focus (P1=window ID, P2=-1/-Num/Objekt, P3=Object) [always]
  87. MSC_DSK_DSKSRV  equ 48  ;desktop service request (P1=type, P2-P5=parameters)
  88. MSC_DSK_WINSLD  equ 49  ;redraw window scrollbars (P1=window ID) [only if focus]
  89. MSC_DSK_WINPIN  equ 50  ;redraw window content part (P1=window ID, P2=-1/-Num/Object, P3=Object, P4/5=Xbeg, P6/7=Ybeg, P8/9=Xlen, P10/11=Ylen) [always]
  90. MSC_DSK_WINSIN  equ 51  ;redraw content of a super control (P1=window ID, P2=super control ID, P3=SubObject) [always]
  91. MSC_DSK_MENCTX  equ 52  ;opens context menu (P1=ram bank, P2/3=address data record, P4/5=Xbeg [-1=mouse position], P6/7=Ybeg) ##!!## doc+lib
  92. MSC_DSK_STIADD  equ 53  ;adds systray-icon (P1=ram bank, P2/3=address, P4=ID)
  93. MSC_DSK_STIREM  equ 54  ;removes systray-icon (P1=number)
  94. MSC_DSK_STIUPD  equ 55  ;updates systray-icon (P1=number)
  95. MSC_DSK_CONPOS  equ 56  ;move a virtual control to a new position (P2/3=xpos, P4/5=ypos, P6/7=xlen, P8/9=ylen)
  96.  
  97. ;Desktop Manager Responses
  98. MSR_DSK_WOPNER  equ 160 ;open window failed; the maximum of 32 windows has been reached
  99. MSR_DSK_WOPNOK  equ 161 ;open window successfull (P4=number)
  100. MSR_DSK_WCLICK  equ 162 ;window has been clicked (P1=window number, P2=action, P3=subspezification, P4/5,P6/7,P8/9=parameters)
  101. MSR_DSK_DSKSRV  equ 163 ;desktop service answer (P1=type, P2-P5=parameters)
  102. MSR_DSK_WFOCUS  equ 164 ;window got/lost focus (P1=window number, P2=type [0=blur, 1=focus])
  103. MSR_DSK_CFOCUS  equ 165 ;control focus changed (P1=window number, P2=control number, P3=reason [0=mouse click/wheel, 1=tab key])
  104. MSR_DSK_WRESIZ  equ 166 ;window has been resized (P1=window number)
  105. MSR_DSK_WSCROL  equ 167 ;window content has been scrolled (P1=window number)
  106. MSR_DSK_MENCTX  equ 168 ;menu has been clicked or canceled (P1=1 ok, P2/3=value, P4=type [0=normal, 1=check]) ##!!## doc+lib
  107. MSR_DSK_STIADD  equ 169 ;result of adding systray-icon (P1=1 ok, P2=number)
  108. MSR_DSK_EVTCLK  equ 170 ;defined event click (P1=event, P2=mouse key)
  109. MSR_DSK_CONPOS  equ 171 ;virtual control has been moved or canceled (P1=1 ok, P2/3=new xpos, P4/5=new ypos) ##!!## doc+lib
  110.  
  111. MSR_DSK_EXTDSK  equ 191 ;command for extended desktop (used internally; P1=command, P2-x=parameters)
  112.  
  113. FNC_DXT_DSKBGR  equ 001 ;background has been updated
  114. FNC_DXT_FILRUN  equ 002 ;file has been opened via prgrun (P2/3=address, P4=bank)
  115. FNC_DXT_FILBRW  equ 003 ;file has been selected via file browser (P2/3=address, P4=bank)
  116. FNC_DXT_MENCLK  equ 004 ;startmenu has been clicked (P2/3=value)
  117. FNC_DXT_DSKCLK  equ 005 ;desktop window has been clicked (P2=action, P3=subspezification, P4/5,P6/7,P8/9=parameters)
  118. FNC_DXT_CFGLOD  equ 006 ;load configuration
  119. FNC_DXT_CFGSAV  equ 007 ;save configuration
  120. FNC_DXT_WDGOKY  equ 008 ;widget is prepared and (re)sized (P2/3=data record address, P4=bank)
  121. FNC_DXT_STMDAT  equ 009 ;askes for data area (answer -> P2/3=address behind 256 byte header)
  122. FNC_DXT_STMCOP  equ 010 ;memory should be copied
  123. FNC_DXT_STMIIN  equ 011 ;icons should be reinitialized
  124.  
  125. ;Shell Commands
  126. MSC_SHL_CHRINP  equ 64  ;char is requested (P1=channel [0=standard, 1=keyboard])
  127. MSC_SHL_STRINP  equ 65  ;line is requested (P1=channel [0=standard, 1=keyboard], P2=ram bank, P3/4=address)
  128. MSC_SHL_CHROUT  equ 66  ;char should be writtten (P1=channel [0=standard, 1=screen], P2=char)
  129. MSC_SHL_STROUT  equ 67  ;line should be writtten (P1=channel [0=standard, 1=screen], P2=ram bank, P3/4=address, P5=length)
  130. MSC_SHL_EXIT    equ 68  ;application released focus or quit itself (P1 -> 0=quit, 1=blur)
  131. MSC_SHL_PTHADD  equ 69  ;add additional path to current one (P1=base path, P3=addition path, P5=final path, P7=ram bank)
  132.  
  133. ;Shell Responses
  134. MSR_SHL_CHRINP  equ 192 ;char has been received (P1=EOF-flag [0=no EOF], P2=char, P3=error status)
  135. MSR_SHL_STRINP  equ 193 ;line has been received (P1=EOF-flag [0=no EOF], P3=error status)
  136. MSR_SHL_CHROUT  equ 194 ;char has been written (P3=error status)
  137. MSR_SHL_STROUT  equ 195 ;line has been written (P3=error status)
  138. MSR_SHL_PTHADD  equ 197 ;path has been combined (P1=total end address, P3=directory end address, P5=flags)
  139.  
  140. ;Screensaver Messages
  141. MSC_SAV_INIT    equ 1   ;initialises the screen saver (P1=bank of config data, P2/3=address of config data [64bytes])
  142. MSC_SAV_START   equ 2   ;start screen saver
  143. MSC_SAV_CONFIG  equ 3   ;open screen savers own config window (at the end the screen saver has to send the result back to the sender)
  144. MSR_SAV_CONFIG  equ 4   ;returns user adjusted screen saver config data (P1=bank of config data, P2/3=address of config data [64bytes])
  145.  
  146. ;Widget Messages
  147. MSC_WDG_SIZE    equ 188 ;widget must prepare and (re)size (P1=desktop window ID, P2=control collection ID, P3=size)
  148. MSC_WDG_CLICK   equ 189 ;widget has been clicked (P1=desktop window ID, P2=action, P3=subspezification, P4/5,P6/7,P8/9=parameters)
  149. MSC_WDG_PROP    equ 190 ;widget should open property dialogue
  150.  
  151.  
  152. ;D E S K T O P - A C T I O N S
  153. DSK_ACT_CLOSE   equ 5   ;close button has been clicked or ALT+F4 has been pressed
  154. DSK_ACT_MENU    equ 6   ;menu entry has been clicked (P8/9=menu entry value)
  155. DSK_ACT_CONTENT equ 14  ;a control of the content has been clicked (P3=sub spec [see dsk_sub...], P4=key or P4/5=Xpos within the window, P6/7=Ypos, P8/9=control value)
  156. DSK_ACT_TOOLBAR equ 15  ;a control of the toolbar has been clicked (see DSK_ACT_CONTENT)
  157. DSK_ACT_KEY     equ 16  ;key has been pressed without touching/modifying a control (P4=Ascii Code)
  158.  
  159. DSK_SUB_MLCLICK equ 0   ;left mouse button has been clicked
  160. DSK_SUB_MRCLICK equ 1   ;right mouse button has been clicked
  161. DSK_SUB_MDCLICK equ 2   ;double click with the left mouse button
  162. DSK_SUB_MMCLICK equ 3   ;middle mouse button has been clicked
  163. DSK_SUB_KEY     equ 7   ;keyboard has been clicked and did modify/click a control (P4=Ascii Code)
  164. DSK_SUB_MWHEEL  equ 8   ;mouse wheel has been moved (P4=Offset)
  165.  
  166.  
  167. ;D E S K T O P - S E R V I C E S
  168. DSK_SRV_MODGET  equ 1   ;get screen mode (output P2=mode, P3=virtual desktop)
  169. DSK_SRV_MODSET  equ 2   ;set screen mode (input P2=mode, P3=virtual desktop)
  170. DSK_SRV_COLGET  equ 3   ;get colour      (input P2=number, output P2=number, P3/4=RGB value)
  171. DSK_SRV_COLSET  equ 4   ;set colour      (input P2=number, P3/4=RGB value)
  172. DSK_SRV_DSKSTP  equ 5   ;freeze desktop  (input P2=type [0=Pen0, 1=Raster, 2=background, 255=no screen modification, switch off mouse])
  173. DSK_SRV_DSKCNT  equ 6   ;continue desktop
  174. DSK_SRV_DSKPNT  equ 7   ;clear desktop   (Eingabe P2=Typ [0=Pen0, 1=Raster, 2=background])
  175. DSK_SRV_DSKBGR  equ 8   ;initialize and redraw desktop background
  176. DSK_SRV_DSKPLT  equ 9   ;redraw the complete desktop
  177. DSK_SRV_DSKOPN  equ 11  ;open desktop background window
  178. DSK_SRC_SCRCNV  equ 12  ;converts 4 colour graphics to 4/16 indexed graphics (input P2/3=table address, P4=banknumber)
  179. DSK_SRC_DSKBIN  equ 13  ;initialize desktop background (no redraw)
  180.  
  181. ;C L I P B O A R D - T Y P E S
  182. CLPTYP_TEXT     equ 1   ;plain text
  183. CLPTYP_GRAPHIC  equ 2   ;graphic with extended header
  184. CLPTYP_ITEMS    equ 3   ;item list (*not defined yet*)
  185. CLPTYP_ICON     equ 4   ;desktop icon shortcut
  186.  
  187.  
  188. ;J U M P S
  189. jmp_memsum  equ #8100 ;MEMSUM
  190. jmp_sysinf  equ #8103 ;SYSINF
  191. jmp_clcnum  equ #8106 ;CLCNUM
  192. jmp_mtgcnt  equ #8109 ;MTGCNT
  193. jmp_timget  equ #810C ;TIMGET
  194. jmp_timset  equ #810F ;TIMSET
  195. jmp_memget  equ #8118 ;MEMGET
  196. jmp_memfre  equ #811B ;MEMFRE
  197. jmp_memsiz  equ #811E ;MEMSIZ
  198. jmp_meminf  equ #8121 ;MEMINF
  199. jmp_bnkrwd  equ #8124 ;BNKRWD
  200. jmp_bnkwwd  equ #8127 ;BNKWWD
  201. jmp_bnkrbt  equ #812A ;BNKRBT
  202. jmp_bnkwbt  equ #812D ;BNKWBT
  203. jmp_bnkcop  equ #8130 ;BNKCOP
  204. jmp_bnkget  equ #8133 ;BNKGET
  205. jmp_scrset  equ #8136 ;SCRSET (cpc only)
  206. jmp_scrget  equ #8139 ;SCRGET
  207. jmp_mosget  equ #813C ;MOSGET
  208. jmp_moskey  equ #813F ;MOSKEY
  209. jmp_bnk16c  equ #8142 ;BNK16C
  210. jmp_keytst  equ #8145 ;KEYTST
  211. jmp_keysta  equ #8148 ;KEYSTA
  212. jmp_keyput  equ #814B ;KEYPUT
  213. jmp_bufput  equ #814E ;BUFPUT
  214. jmp_bufget  equ #8151 ;BUFGET
  215. jmp_bufsta  equ #8154 ;BUFSTA
  216. jmp_iominp  equ #8157 ;IOMINP (cpc only)
  217. jmp_iomout  equ #815A ;IOMOUT (cpc only)
  218. jmp_txtlen  equ #815D ;TXTLEN
  219.  
  220. jmp_bnkcll  equ #ff03 ;BNKCLL
  221. jmp_bnkret  equ #ff00 ;BNKRET
  222.  
  223.  
  224. ;Filemanager Functions (call via MSC_SYS_SYSFIL)
  225. FNC_FIL_STOINI  equ 000 ;Storage Init (Removes all mass storage devices)
  226. FNC_FIL_STONEW  equ 001 ;Storage New (Adds a new mass storage device)
  227. FNC_FIL_STORLD  equ 002 ;Storage Reload (Reloads a mass storage device, if its "removeable media" status is activated)
  228. FNC_FIL_STODEL  equ 003 ;Storage Delete (Removes an existing mass storage device)
  229. FNC_FIL_STOINP  equ 004 ;Storage ReadSector (Reads a sector from a mass storage device (no memory banking))
  230. FNC_FIL_STOOUT  equ 005 ;Storage WriteSector (Write a sector to a mass storage device (no memory banking))
  231. FNC_FIL_STOACT  equ 006 ;Storage Activate (Loads the format and the file system type of a mass storage device)
  232. FNC_FIL_STOINF  equ 007 ;Storage Information (Returns information about a mass storage device)
  233. FNC_FIL_STOTRN  equ 008 ;Storage DataTransfer (Reads or writes a number of sectors (512 bytes) from/to the mass storage device)
  234.  
  235. FNC_FIL_DEVDIR  equ 013 ;
  236. FNC_FIL_DEVINI  equ 014 ;
  237. FNC_FIL_DEVSET  equ 015 ;
  238.  
  239. FNC_FIL_FILINI  equ 016 ;File Init (Initialises the whole file manager)
  240. FNC_FIL_FILNEW  equ 017 ;File New (Creates a new file and opens it for read/write access)
  241. FNC_FIL_FILOPN  equ 018 ;File Open (Opens an existing file for read/write access)
  242. FNC_FIL_FILCLO  equ 019 ;File Close (Closes an opened file)
  243. FNC_FIL_FILINP  equ 020 ;File Input (Reads a specified amount of bytes out of an opened file)
  244. FNC_FIL_FILOUT  equ 021 ;File Output (Writes a specified amount of bytes into an opened file)
  245. FNC_FIL_FILPOI  equ 022 ;File Pointer (Moves the file pointer to another position)
  246. FNC_FIL_FILF2T  equ 023 ;File Decode Timestamp (Decodes the file timestamp, which is used for the file system)
  247. FNC_FIL_FILT2F  equ 024 ;File Encode Timestamp (Encodes the file timestamp, which is used for the file system)
  248. FNC_FIL_FILLIN  equ 025 ;File LineInput (Reads one text line out of an opened file)
  249.  
  250. FNC_FIL_DIRDEV  equ 032 ;Directory Device (Selects the current drive)
  251. FNC_FIL_DIRPTH  equ 033 ;Directory Path (Selects the current path for the current or a different drive)
  252. FNC_FIL_DIRPRS  equ 034 ;Directory Property Set (Changes a property of a file or a directory)
  253. FNC_FIL_DIRPRR  equ 035 ;Directory Property Get (Reads a property of a file or a directory)
  254. FNC_FIL_DIRREN  equ 036 ;Directory Rename (Renames a file or a directory)
  255. FNC_FIL_DIRNEW  equ 037 ;Directory New (Creates a new directory)
  256. FNC_FIL_DIRINP  equ 038 ;Directory Input (Reads the content of a directory)
  257. FNC_FIL_DIRDEL  equ 039 ;Directory Delete (Deletes one or more files)
  258. FNC_FIL_DIRRMD  equ 040 ;Directory Delete Directory (Deletes a sub directory)
  259. FNC_FIL_DIRMOV  equ 041 ;Directory Move (Moves a file or sub directory into another directory of the same drive)
  260. FNC_FIL_DIRINF  equ 042 ;Directory Drive Information (Returns information about one drive)
  261.  
  262. ;Network Daemon Functions
  263. FNC_NET_CFGGET  equ 001 ;config information
  264. FNC_NET_CFGSET  equ 002 ;config setting
  265. FNC_NET_CFGSCK  equ 003 ;config socket status
  266.  
  267. FNC_NET_TCPOPN  equ 016 ;TCP open
  268. FNC_NET_TCPCLO  equ 017 ;TCP close
  269. FNC_NET_TCPSTA  equ 018 ;TCP status
  270. FNC_NET_TCPRCV  equ 019 ;TCP receive
  271. FNC_NET_TCPSND  equ 020 ;TCP send
  272. FNC_NET_TCPSKP  equ 021 ;TCP skip received data
  273. FNC_NET_TCPFLS  equ 022 ;TCP flush send buffer
  274. FNC_NET_TCPDIS  equ 023 ;TCP disconnect
  275. FNC_NET_TCPRLN  equ 024 ;TCP receive line
  276. MSR_NET_TCPEVT  equ 159 ;TCP event
  277.  
  278. FNC_NET_UDPOPN  equ 032 ;UDP open
  279. FNC_NET_UDPCLO  equ 033 ;UDP close
  280. FNC_NET_UDPSTA  equ 034 ;UDP status
  281. FNC_NET_UDPRCV  equ 035 ;UDP receive
  282. FNC_NET_UDPSND  equ 036 ;UDP send
  283. FNC_NET_UDPSKP  equ 037 ;UDP skip received data
  284. MSR_NET_UDPEVT  equ 175 ;UDP event
  285.  
  286. FNC_NET_DNSRSV  equ 112 ;DNS resolve
  287. FNC_NET_DNSVFY  equ 113 ;DNS verify
  288.