- 18 Jan, 2020 1 commit
-
-
Jeffrey Lee authored
This updates the Tasks window and related code so that memory amounts are tracked in units of KB instead of bytes, allowing the code to support machines with more than 2GB of RAM. Where relevant, newer page-based OS APIs are used instead of older byte-based ones, which should future-proof the code for operation on machines with over 4GB of RAM (potentially up to the 1TB limit supported by the ARMv7 large physical address extension). Use definitions from Hdr:OSMem. Version 1.52. Tagged as 'Switcher-1_52'
-
- 26 Oct, 2018 1 commit
-
-
Ben Avison authored
Version 1.51. Tagged as 'Switcher-1_51'
-
- 19 Aug, 2017 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - If the page zero compatibility page is present, add it to the system workspace total size Admin: Tested on BB-xM Version 1.50. Tagged as 'Switcher-1_50'
-
- 08 May, 2016 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - Avoid unnecessary remainder calculations in DivRem macro Admin: Tested on Cortex-A15 Version 1.49. Tagged as 'Switcher-1_49'
-
- 12 Feb, 2016 1 commit
-
-
Robert Sprowson authored
Saving the desktop boot file results in some conflicting settings. Since to be able to save it you must have a writable medium, you also have <Choices$Write> so you should be using !Configure. Remove the ChangeDynamicArea lines from being written * FontSize - this was specifically mentioned as conflicting in the RISC OS 3.60 User Guide, in the memory dialogue of old !Configure or Font setup plugin now. * SpriteSize - deprecated in the RISC OS 3.10 PRM, so don't encourage it to be non zero on boot up * RamFsSize - likewise in the memory dialogue of old !Configure or Disc setup plugin now. Still writes the WimpSlot size, since there's no corresponding !Configure item for that and it can be resized before every app starts anyway. Version 1.48. Tagged as 'Switcher-1_48'
-
- 26 Sep, 2015 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - Fix ReadDynamicArea routine to use OS_ReadDynamicArea when reading the details of application space (since OS_DynamicArea doesn't recognise the fake application space DA) Admin: Tested on imx6 Fixes inability to increase size of (e.g.) filer action wimpslot, and fixes 'next' slot size not being clamped to 512MB Version 1.47. Tagged as 'Switcher-1_47'
-
- 31 Aug, 2015 1 commit
-
-
Jeffrey Lee authored
Detail: For physical memory pools, the max size returned by OS_ReadDynamicArea/OS_DynamicArea 2 might be a lie - although the maximum logical size of a PMP is fixed, the maximum physical size can be updated dynamically, so that a PMP can avoid wasting memory for a page list which is mostly unused. So whenever we want to resize a PMP, we ignore the max size indicated by the OS and instead treat it as if it has a max of 4GB s/Switcher - Implement the above, by replacing calls to OS_ReadDynamicArea with calls to OS_DynamicArea 2 (so DA flags can be read). Also fix some bits of code to do unsigned comparisons on size values, and to cope with the fact that OS_ChangeDynamicArea essentially limits us to +/-2GB at a time (although currently we just clamp the request, rather than make multiple requests) Admin: Tested on Pandaboard Version 1.46. Tagged as 'Switcher-1_46'
-
- 17 Jul, 2015 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - Calculate system workspace as the sum of ZeroPage, ScratchSpace and DebuggerSpace sizes. This fixes the value being 4KB smaller than it should be when high processor vectors are in use (since the debugger is currently given a page of its own for that case). Also include processor vector page (if any) in hardware/system total (currently not needed, but may be in future) Admin: Tested on Raspberry Pi Values listed in system memory section now total up correctly Version 1.45. Tagged as 'Switcher-1_45'
-
- 27 Jan, 2015 1 commit
-
-
Robert Sprowson authored
Switcher took it upon itself to open its menus at x-width/2,y-12 rather than x-64,y+0 like the Style Guide says. Version 1.44. Tagged as 'Switcher-1_44'
-
- 21 Dec, 2014 1 commit
-
-
Robert Sprowson authored
Change $ => $$ to reduce substitution warnings. Be consistent about NULL (being 0) not -1, otherwise the total memory bar vanishes on systems with >= 2GB of RAM. Version 1.43. Tagged as 'Switcher-1_43'
-
- 22 Jul, 2014 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - Treat memory sizes as unsigned values. We don't deal with negative sizes, so there's no reason to be using signed arithmetic. Admin: Tested on BB-xM Version 1.42. Tagged as 'Switcher-1_42'
-
- 17 Nov, 2012 1 commit
-
-
Ben Avison authored
Detail: There were actually two problems: * No account was taken of the fact that the menu item indexes were different in the shortened menu. * The static variable "menu_userblk" was needed for decoding help messages, but its initialisation in the icon bar menu case was accidentally chopped out along with the code that customised the third menu item (the one that said "Task display" on the icon bar menu and says "Task '<taskname>'" on the task display menu). This bug does not seem to have been reproducible on all platforms due to the nature of uninitialised variables. Admin: Tested on Raspberry Pi. Joint work by Willi Theiss and Ben Avison. Version 1.41. Tagged as 'Switcher-1_41'
-
- 31 Oct, 2012 1 commit
-
-
Steve Revill authored
Data abort from interactive help on Switcher menu items has been clobbered by disabling menu item help in s.Switcher (see FIXME). This needs sorting out properly when time permits. Version 1.40. Tagged as 'Switcher-1_40'
-
- 12 Sep, 2012 1 commit
-
-
Ben Avison authored
Detail: * Simplified the icon bar menu (all the old options are still available from the menu on the "task display" window). * Fixed the heroes list code - it looks like this broke when the ROM moved to a top-bit-set address, and nobody bothered fixing it until now. * Made the code to reset the machine manually conditional on NoARMv3, since all ARMv3+ machines have OSes that implement OS_Reset. This makes the module build cleanly for all current ROM builds. Admin: Tested in a Raspberry Pi build Version 1.39. Tagged as 'Switcher-1_39'
-
- 12 Aug, 2012 1 commit
-
-
Robert Sprowson authored
Resolves 'FIXME'. Version 1.38. Tagged as 'Switcher-1_38'
-
- 29 Jul, 2012 1 commit
-
-
Robert Sprowson authored
Useful for small clearup activities on each shutdown. As we're trying to shut down the range of things looked for is very small compared with the PreDesk directory: no sprites, no apps (or directories), no utilities, no BASIC, no modules. Keep it simple and fast! * If Choices:Boot.PostDesk is present, any obey files within it are obey'd * Swap false/true to {FALSE} and {TRUE} * TaskManager_Shutdown flag bit 7 can skip the shutdown scripts * Simplified evaluation of Boot$OSVersion * Changed pre RISC OS 3.50 reset to actually do a reset rather than just reenter the desktop * Shared a few constant strings Version 1.37. Tagged as 'Switcher-1_37'
-
- 28 Jul, 2012 1 commit
-
-
Robert Sprowson authored
* Two new error messages for invalid shutdown flag combinations * Removed shutdown_swi poll(byte)word support, when ProvideStartTask is switched out the code now uses misc_pollbyte * New flag soft_poweroff to save having to keep calling OS_ReadSysInfo * Use definitions from HighFSI, OsWords, OsBytes, Variables * Proginfo icon numbers defined * Permanently enabled TrueMemorySize switched code * Add a note that the error base is bogus for this module Version 1.36. Tagged as 'Switcher-1_36'
-
- 02 Jan, 2012 1 commit
-
-
Robert Sprowson authored
Nonsensical range of dates (?!?) changed to start date like all other applications, since copyright applies from a given date *onwards* which in the UK is 70 years.
-
- 27 Nov, 2011 1 commit
-
-
Robert Sprowson authored
Trim out years of change history -> BlackLog. Use -1 as a bogus stack pointer, not 'bignum'. Put resources at the end. Version 1.35. Tagged as 'Switcher-1_35'
-
- 13 Oct, 2011 1 commit
-
-
Robert Sprowson authored
Not tested, should be OK. Version 1.34. Tagged as 'Switcher-1_34'
-
- 21 Sep, 2011 1 commit
-
-
Robert Sprowson authored
Style guide says so when it leads to a persistent dialogue. Version 1.33. Tagged as 'Switcher-1_33'
-
- 04 Aug, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - Updated to use OSRSI6 header for OS_ReadSysInfo 6 item code instead of a magic number Admin: Tested on rev A2 BB-xM Version 1.32. Not tagged
-
- 04 Feb, 2011 1 commit
-
-
Steve Revill authored
The main window now opens centred on screen and as large as it can without being too big (i.e. still leave some of the screen free around it). Also tweaked the open_centre function to calculate the correct amount (was one pixel out!). Version 1.32. Tagged as 'Switcher-1_32'
-
- 21 Nov, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - My previous checkin broke the reinitramfsfiler logic, causing the StartFiler service call to not be sent when it should have been. Admin: Tested properly this time; RAM disc creation/resizing/destruction works properly now. Version 1.31. Tagged as 'Switcher-1_31'
-
- 14 Nov, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: s/Switcher - As described in bug #256, sometimes the Switcher will crash if the task display window is open while launching Edit. The cause was that single_resize was not checking for the case that dragBar==-1 or dragBar==-2, resulting in an alignment fault when attempting to load icb_taskage from the icon block. Also fixed reinitramfsfiler to cope with the possibility of dragBar being a top bit set pointer. Admin: Tested on BB-xM rev A3. Fixes bug #256. Version 1.30. Tagged as 'Switcher-1_30'
-
- 19 Jan, 2010 1 commit
-
-
John Ballance authored
Detail: (list files and functions that have changed) Admin: (highlight level of testing that has taken place) (bugfix number if appropriate) Version 1.29. Not tagged
-
- 18 Jan, 2010 1 commit
-
-
John Ballance authored
Detail: (list files and functions that have changed) Admin: (highlight level of testing that has taken place) (bugfix number if appropriate) Version 1.29. Tagged as 'Switcher-1_29'
-
- 16 Feb, 2006 1 commit
-
-
John Ballance authored
Detail: Admin: Version 1.28. Tagged as 'Switcher-1_28'
-
- 15 Sep, 2005 2 commits
-
-
Ben Avison authored
Adjusted width of the numerical fields in the Task display to allow for the fact that they may need to be 7 digits wide (eg "1047552K" total) on 1GB machines. Retagged as 'Switcher-1_27'
-
Ben Avison authored
Detail: Turned interrupts off while the user mode code manipulates its pollword and delinks tasks from the linked list. Admin: Not tested, but should be a safe change. Version 1.27. Tagged as 'Switcher-1_27'
-
- 21 Jun, 2004 1 commit
-
-
Mike Hobbs authored
Detail: Changed s.Switcher Admin: Updated from Kev's machine by Mike H. Version 1.26. Tagged as 'Switcher-1_26'
-
- 05 Jan, 2004 1 commit
-
-
Ben Avison authored
Tagged as 'Switcher-1_25a'
-
- 21 Feb, 2003 1 commit
-
-
Ben Avison authored
Version 1.25. Tagged as 'Switcher-1_25'
-
- 11 Jan, 2003 1 commit
-
-
Robert Sprowson authored
Chnage to resources to refer to "Desktop settings" rather than the obtuse "Desktop boot" Version 1.24. Tagged as 'Switcher-1_24'
-
- 28 Nov, 2002 1 commit
-
-
Ben Avison authored
Version 1.23. Tagged as 'Switcher-1_23'
-
- 22 Nov, 2002 1 commit
-
-
Robert Sprowson authored
This entry will be greyed out if on starting there is nothing in Boot$OSVersion,otherwise it will choose where it looks for configure based on whether it is >=350 much like the DeskRun obey file did. Resources updated to match. Version 1.22. Tagged as 'Switcher-1_22'
-
- 07 Nov, 2002 1 commit
-
-
Kevin Bracey authored
Improved some redraws. Added new areas to make the total display add up (requires new Kernel to get correct figures). Fixed dragging to get nicer numbers. Fixed 4K "negative bar" plotting problem. Version 1.21. Tagged as 'Switcher-1_21'
-
- 01 Nov, 2002 1 commit
-
-
Ben Avison authored
Fixed restarting of desktop Exit - the code was already there to use R2 returned from Wimp_Poll to determine if a SC-F12 was sent from a task or not, but an overcomplicated Wimp_Poll subroutine was acidentally preserving R2 over the SWI, so this never worked! Also fixed the templates so the save box looks okay with 3D windows enabled. Removed the Ursula version because it contains no useful differences and the build process will work fine without it. Version 1.20. Tagged as 'Switcher-1_20'
-
- 26 Oct, 2002 1 commit
-
-
Robert Sprowson authored
Where the OS reports it supports it,power off is performed by calling OS_Reset with a magic word in R0 rather than peeking IOMD directly. Templates altered to wordwrap the "shutdown" and "powrdown" boxes for users with non Homerton font. CTRL-SH-F12 followed by CTRL-SH-F12 cancels any pending 5s power off callback which would otherwise have been very annoying! Info box font is noted from the templates file rather than being hardwired Iconbar icon name changed to "taskmanager" to allow reuse of "switcher". Version 1.19. Tagged as 'Switcher-1_19'
-
- 10 May, 2001 1 commit
-
-
Kevin Bracey authored
Version 1.18. Tagged as 'Switcher-1_18'
-