Skip to content

Commit

Permalink
unixstuff.c : fix issue where Minerva was finding real RAMTOP
Browse files Browse the repository at this point in the history
This caused the RAMTOP inside vm to be the top of memory where
extended screen was instead of just below the extended screen.

Signed-off-by: Graeme Gregory <graeme@xora.org.uk>
  • Loading branch information
xXorAa committed Feb 3, 2022
1 parent 4855284 commit 4a9e88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unixstuff.c
Expand Up @@ -968,7 +968,7 @@ void uqlxInit()
InitialSetup();

if (isMinerva) {
reg[1] = (RTOP & ~16383) | 1 | 2 | 4 | 16;
reg[1] = ((RTOP) & ~16383) | 1;
SetPC(0x186);
}

Expand Down

0 comments on commit 4a9e88e

Please sign in to comment.