Commit 63afe076 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

The docs say if you DeviceFS_Register with your file handle limits set to...

The docs say if you DeviceFS_Register with your file handle limits set to minus one then there's no limit,however this was never being checked for.

Now it does.

Version 0.63. Tagged as 'DeviceFS-0_63'
parent 6073da33
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.62"
Module_Version SETA 62
Module_MajorVersion SETS "0.63"
Module_Version SETA 63
Module_MinorVersion SETS ""
Module_Date SETS "26 Nov 2002"
Module_ApplicationDate SETS "26-Nov-02"
Module_Date SETS "14 Jan 2003"
Module_ApplicationDate SETS "14-Jan-03"
Module_ComponentName SETS "DeviceFS"
Module_ComponentPath SETS "RiscOS/Sources/HWSupport/DeviceFS"
Module_FullVersion SETS "0.62"
Module_HelpVersion SETS "0.62 (26 Nov 2002)"
Module_FullVersion SETS "0.63"
Module_HelpVersion SETS "0.63 (14 Jan 2003)"
END
/* (0.62)
/* (0.63)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 0.62
#define Module_MajorVersion_CMHG 0.63
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 26 Nov 2002
#define Module_Date_CMHG 14 Jan 2003
#define Module_MajorVersion "0.62"
#define Module_Version 62
#define Module_MajorVersion "0.63"
#define Module_Version 63
#define Module_MinorVersion ""
#define Module_Date "26 Nov 2002"
#define Module_Date "14 Jan 2003"
#define Module_ApplicationDate "26-Nov-02"
#define Module_ApplicationDate "14-Jan-03"
#define Module_ComponentName "DeviceFS"
#define Module_ComponentPath "RiscOS/Sources/HWSupport/DeviceFS"
#define Module_FullVersion "0.62"
#define Module_HelpVersion "0.62 (26 Nov 2002)"
#define Module_LibraryVersionInfo "0:62"
#define Module_FullVersion "0.63"
#define Module_HelpVersion "0.63 (14 Jan 2003)"
#define Module_LibraryVersionInfo "0:63"
......@@ -443,6 +443,9 @@ open_input
Debug open, "max RX streams",r5
Debug open, "used RX streams",r6
CMP r5, #-1
BEQ %FT10 ; no limit on number of inputs
CMP r6, r5 ; are all the inputs used yet?
BLT %FT10 ; no, so OK to continue
......@@ -505,6 +508,9 @@ open_output
Debug open, "max TX streams", r5
Debug open, "used TX streams", r6
CMP r5, #-1
BEQ %FT20 ; no limit on number of outputs
CMP r6, r5 ; are all the outputs used yet?
BLT %FT20 ; no, so OK to continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment