Patches

© nemo 1999-2018

Here are various patches for bits of RISC OS that particularly needed fixing

OS_Byte 166 got broken

OS_Byte 166 has returned the base address of the MOS variables (OS_Bytes &A8-&FF) in all versions of the OS since the original BBC Micro. Somebody broke it in high-vector versions of RO5. This module ensures OS_Byte 166 (and 167) return the correct values in all versions of RISC OS, and also write-protects the value as it is informational, not functional.

  • All OS versions

The MOSVarFix module installs in !Boot...Choices.Boot.PreDesk

The patches below are currently being tested

WindowManager Wimp_CreateIcon crash

All versions of the WindowManager since RO3.5 suffer a catastrophic fatal crash if iconbar icons are created with certain priorities. This patch fixes the following OS versions:

  • 4.02, 4.24, 4.33, 4.37, 4.39, 6.20

This ROMPatch installs in !Boot.Utils.RO4Patches

TaskWindow

Every version of TaskWindow ever will explode in consternation if you happen to send OS_WriteC a large negative value, such as SYS"OS_WriteC",1<<31. This patch fixes that for the built-in module in the following OS versions:

  • 4.02, 4.24, 4.33, 4.37, 4.39, 6.20

This ROMPatch installs in !Boot.Utils.RO4Patches

WindowManager Back Icon

Adjust-click on the back icon ought to bring the window to the front. Here’s a patch that makes sure it does, in the following OS versions:

  • 4.02, 4.24, 4.33, 4.37, 4.39, 6.20

This ROMPatch installs in !Boot.Utils.RO4Patches