Manic Miner RISC OS

Discuss the project, or ask a general question
Vanfanel
Posts: 576
Joined: Mon Sep 16, 2013 12:01 am

Manic Miner RISC OS

Post by Vanfanel »

Hi Jon (and whoever reads this!)

I was wondering where the RISC OS version of Manic Miner can bue found. It seems there was a 256-color version of this gem released as freeware at some point, but I can't find it. Any information on this?

EDIT: The game is available here
http://old-www.moreofthesa.me.uk/progs.games.html

Any chances for it to be supported with ADFFS on the Pi?
JonAbbott
Posts: 2938
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Manic Miner RISC OS

Post by JonAbbott »

Here perhaps?

If it doesn't work natively, try shoving "GOARM3JIT 0" at the start of it's !Run and "GOARM3JIT" at the end.
Vanfanel
Posts: 576
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel »

@Jon, I am using version at
http://old-www.moreofthesa.me.uk/progs.games.html
This version looks WAY better.
However, it doesn't work natively (module "GameModes" is not 32-bit compatible).
After shoving GOARM3JIT 0 on it's run, I get:

No stack for trap handler.
Internal error; abort at data transfer at &11F9594, PC=000000000: registers at 0003D184
JonAbbott
Posts: 2938
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Manic Miner RISC OS

Post by JonAbbott »

You don't need GameModes on RO3.5 or newer, see if commenting it out gets its running natively.

The Data Transfer error could be a lack of screen memory, try adding ScreenSize 160 at the top of the script.
Vanfanel
Posts: 576
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel »

@Jon: Ok, I commented GameModes out. Added ScreenSize 160 to the top of the screen. But I am still getting:

No stack for trap handler.
Internal error; abort at data transfer at &11F9594, PC=000000000: registers at 0003D184

Any other ideas I can try?
JonAbbott
Posts: 2938
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Manic Miner RISC OS

Post by JonAbbott »

Vanfanel wrote:Any other ideas I can try?
I've just taken a quick look, by running it on RO3.11 first. It's WIMP based, so isn't supported.

The source is available on the site, so you could recompile it for ARMv7.
Vanfanel
Posts: 576
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel »

@Jon: Rebuilding seems to be a nice experiment. I have never buily anything on Risc OS, so maybe it's time to start!
From the README:

Requirements are Acorn C v5 and OSLib; gcc should be useable with
appropriate modifications to the makefile.

So, is there something like Acorn C and OSLib for Risc OS on the Pi, or do you recommend me using GCC instead?
I have seen the best way to install GCC is using PackMan and using the version frm riscos.info. Is that right?

EDIT: I installed GCC 4.x from Packman, along with Make.
cd-ing into the manicminer sources, I see I have Makefile and makefile/r.
makefile/r seems tailored at risc os compilation, so after renaming Makefile/r to Makefileros, I do:

make -f Makefileros

and I get:

make: *** No rule to make target "system.riscos.c.init", needed by "o.init". Stop

I believe this Makefile needs tweaking for GCC, doesn't it?
JonAbbott
Posts: 2938
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Manic Miner RISC OS

Post by JonAbbott »

When I looked at the source file yesterday, it looked like it was for GCC on a PC, as the filenames all had PC extensions.

I suppose if you manually rename every file and move them to appropriate folders it might compile. From memory all C code needs to go into a "c" folder and all ASM in "a", but it's been years since I compiled anything so you might want to ask on ROOL.
Vanfanel
Posts: 576
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel »

So I did, but it seems to be a complicated task:

https://www.riscosopen.org/forum/forums/11/topics/8965

I think I am out of luck with this one...
yogyog
Posts: 3
Joined: Tue Nov 06, 2018 2:11 pm

Re: Manic Miner RISC OS

Post by yogyog »

Actually - I think I have a disk of it. It was a PD version. No guarantee that the disk still works, as I last accessed it 15 years ago, but based on the few disks I did check from the 100ish I have, I believe there's an 80% chance of it working.
Post Reply