1. 10 Jul, 2021 1 commit
  2. 07 Mar, 2020 1 commit
    • Robert Sprowson's avatar
      Change emitted line 1 comment · 3a79f233
      Robert Sprowson authored
      Say "Desktop settings" at the top of the file saved from the menu entry of the same name.
      Comments in code also changed or made non-specific.
      Version 1.53. Tagged as 'Switcher-1_53'
  3. 18 Jan, 2020 1 commit
    • Jeffrey Lee's avatar
      Support over 2GB of RAM · fdb5c3e5
      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'
  4. 26 Oct, 2018 1 commit
  5. 19 Aug, 2017 1 commit
  6. 08 May, 2016 1 commit
  7. 12 Feb, 2016 1 commit
    • Robert Sprowson's avatar
      Remove conflicting save desktop settings · 7b3c022c
      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'
  8. 26 Sep, 2015 1 commit
    • Jeffrey Lee's avatar
      Fix application and next slot size limits · bcb04bd9
      Jeffrey Lee authored
        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)
        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'
  9. 31 Aug, 2015 1 commit
    • Jeffrey Lee's avatar
      Update to cope with physical memory pools · 4aff63cd
      Jeffrey Lee authored
        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)
        Tested on Pandaboard
      Version 1.46. Tagged as 'Switcher-1_46'
  10. 17 Jul, 2015 1 commit
    • Jeffrey Lee's avatar
      Use new OS_Memory 16 items for calculating correct system workspace & hardware/system size · db9b49d0
      Jeffrey Lee authored
        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)
        Tested on Raspberry Pi
        Values listed in system memory section now total up correctly
      Version 1.45. Tagged as 'Switcher-1_45'
  11. 27 Jan, 2015 1 commit
    • Robert Sprowson's avatar
      Fix for menu opening position · 17cc19c4
      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'
  12. 21 Dec, 2014 1 commit
    • Robert Sprowson's avatar
      Escape some dollars, sort out value of NULL · dbf8b9c4
      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'
  13. 22 Jul, 2014 1 commit
    • Jeffrey Lee's avatar
      Treat memory sizes as unsigned · 92303eae
      Jeffrey Lee authored
        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.
        Tested on BB-xM
      Version 1.42. Tagged as 'Switcher-1_42'
  14. 17 Nov, 2012 1 commit
    • Ben Avison's avatar
      Fix interactive help on iconbar menu · 7c360ff6
      Ben Avison authored
        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.
        Tested on Raspberry Pi. Joint work by Willi Theiss and Ben Avison.
      Version 1.41. Tagged as 'Switcher-1_41'
  15. 31 Oct, 2012 1 commit
    • Steve Revill's avatar
      Work-around for bug introduced in 1.39. · bfb57fdf
      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'
  16. 12 Sep, 2012 1 commit
    • Ben Avison's avatar
      Applied some polish ahead of the Raspberry Pi release · a3488144
      Ben Avison authored
        * 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.
        Tested in a Raspberry Pi build
      Version 1.39. Tagged as 'Switcher-1_39'
  17. 12 Aug, 2012 1 commit
  18. 29 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Add support for 'PostDesk' shutdown scripts · 2ad3fd32
      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'
  19. 28 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Add flag bits 5 and 6 to TaskManager_Shutdown · 46fe0819
      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'
  20. 02 Jan, 2012 1 commit
    • Robert Sprowson's avatar
      Copyright date update. · b84bafd8
      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.
  21. 27 Nov, 2011 1 commit
  22. 13 Oct, 2011 1 commit
  23. 21 Sep, 2011 1 commit
  24. 04 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Update to use OSRSI6 header · ac939d4c
      Jeffrey Lee authored
        s/Switcher - Updated to use OSRSI6 header for OS_ReadSysInfo 6 item code instead of a magic number
        Tested on rev A2 BB-xM
      Version 1.32. Not tagged
  25. 04 Feb, 2011 1 commit
    • Steve Revill's avatar
      Modified the main window to open at a sensible position and size. · bfef1780
      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'
  26. 21 Nov, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix reinitramfsfiler logic · 60b0d7fd
      Jeffrey Lee authored
        s/Switcher - My previous checkin broke the reinitramfsfiler logic, causing the StartFiler service call to not be sent when it should have been.
        Tested properly this time; RAM disc creation/resizing/destruction works properly now.
      Version 1.31. Tagged as 'Switcher-1_31'
  27. 14 Nov, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix occasional alignment exceptions on ARMv6+ · 0bcae231
      Jeffrey Lee authored
        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.
        Tested on BB-xM rev A3.
        Fixes bug #256.
      Version 1.30. Tagged as 'Switcher-1_30'
  28. 19 Jan, 2010 1 commit
  29. 18 Jan, 2010 1 commit
  30. 16 Feb, 2006 1 commit
  31. 15 Sep, 2005 2 commits
  32. 21 Jun, 2004 1 commit
  33. 05 Jan, 2004 1 commit
  34. 21 Feb, 2003 1 commit
  35. 11 Jan, 2003 1 commit
  36. 28 Nov, 2002 1 commit
  37. 22 Nov, 2002 1 commit
    • Robert Sprowson's avatar
      Addition of "Configure" to the menu. · d6cd9ec2
      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'
  38. 07 Nov, 2002 1 commit
    • Kevin Bracey's avatar
      Moved dynamic areas section up above system section. · c98692ab
      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'
  39. 01 Nov, 2002 1 commit
    • Ben Avison's avatar
      Fixed restarting of desktop Exit - the code was already there to use R2... · 1c4b13c6
      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'