From 402f32c27afbc3c9ceae585f750c9b65a6e7be21 Mon Sep 17 00:00:00 2001
From: Jeffrey Lee <me@phlamethrower.co.uk>
Date: Sat, 20 Mar 2021 11:27:02 +0000
Subject: [PATCH] Fix RISCOS_AddRAM memory table description

There are 20 length bits per entry, not 22
---
 s/HAL | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/s/HAL b/s/HAL
index 4c59405..ca64001 100644
--- a/s/HAL
+++ b/s/HAL
@@ -162,8 +162,8 @@ RISCOS_InitARM
 ; The table stores addresses are in terms of 4K pages, allowing us to
 ; theoretically support a 44 bit physical space.
 ; Twelve bits of flags are stored at the bottom of the length word.
-; The 22 length bits are the length of the block in 4K pages, minus one (so a
-; full 4GB region will have length &FFFFF)
+; The remaining 20 length bits are the length of the block in 4K pages, minus
+; one (so a full 4GB region will have length &FFFFF)
 
         ROUT
 RISCOS_AddRAM
-- 
GitLab