Commit 66c83bb2 authored by John Ballance's avatar John Ballance
Browse files

Added hdr.options line to set up max RAMFS size.

Detail:
  s.NewReset line 1304 amended to use this variable. It was
  hard codede to 128MB as a compromise between address space reservation and size.
Admin:
  Tested OK to expand to 511MB in task manager. At 512MB the taskmanager window fails.
JB

Version 5.35, 4.79.2.234. Tagged as 'Kernel-5_35-4_79_2_234'
parent b7ce5419
......@@ -13,11 +13,11 @@
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.35"
Module_Version SETA 535
Module_MinorVersion SETS "4.79.2.233"
Module_Date SETS "31 Jul 2014"
Module_ApplicationDate SETS "31-Jul-14"
Module_MinorVersion SETS "4.79.2.234"
Module_Date SETS "17 Aug 2014"
Module_ApplicationDate SETS "17-Aug-14"
Module_ComponentName SETS "Kernel"
Module_ComponentPath SETS "castle/RiscOS/Sources/Kernel"
Module_FullVersion SETS "5.35 (4.79.2.233)"
Module_HelpVersion SETS "5.35 (31 Jul 2014) 4.79.2.233"
Module_FullVersion SETS "5.35 (4.79.2.234)"
Module_HelpVersion SETS "5.35 (17 Aug 2014) 4.79.2.234"
END
......@@ -5,19 +5,19 @@
*
*/
#define Module_MajorVersion_CMHG 5.35
#define Module_MinorVersion_CMHG 4.79.2.233
#define Module_Date_CMHG 31 Jul 2014
#define Module_MinorVersion_CMHG 4.79.2.234
#define Module_Date_CMHG 17 Aug 2014
#define Module_MajorVersion "5.35"
#define Module_Version 535
#define Module_MinorVersion "4.79.2.233"
#define Module_Date "31 Jul 2014"
#define Module_MinorVersion "4.79.2.234"
#define Module_Date "17 Aug 2014"
#define Module_ApplicationDate "31-Jul-14"
#define Module_ApplicationDate "17-Aug-14"
#define Module_ComponentName "Kernel"
#define Module_ComponentPath "castle/RiscOS/Sources/Kernel"
#define Module_FullVersion "5.35 (4.79.2.233)"
#define Module_HelpVersion "5.35 (31 Jul 2014) 4.79.2.233"
#define Module_FullVersion "5.35 (4.79.2.234)"
#define Module_HelpVersion "5.35 (17 Aug 2014) 4.79.2.234"
#define Module_LibraryVersionInfo "5:35"
......@@ -406,4 +406,10 @@ USR2632 * USR26_mode
SVC2632 * SVC26_mode
]
; Max size available for RAM Disc .. It has been 128 Megabytes for some time
GBLA MaxRAMFS_Size
MaxRAMFS_Size SETA 128
END
......@@ -1298,7 +1298,7 @@ WallopDuffOnes
[ {FALSE}
MOV r5, #16*1024*1024 ; Limit maximum size to 16MB while fiddling with FileCore
|
MOV r5, #128*1024*1024 ; A trade off between nice big disc and complete waste of address space
MOV r5, #MaxRAMFS_Size*1024*1024 ; A trade off between nice big disc and complete waste of address space
]
ADRL r6, DynAreaHandler_RAMDisc ; Pointer to handler
MOV r7, #-1 ; Use base address as workspace ptr
......
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