Manic Miner RISC OS

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

Manic Miner RISC OS

Post by Vanfanel » Mon Dec 26, 2016 3:32 pm

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: 1736
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex

Re: Manic Miner RISC OS

Post by JonAbbott » Mon Dec 26, 2016 6:22 pm

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: 373
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel » Wed Dec 28, 2016 6:40 pm

@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: 1736
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex

Re: Manic Miner RISC OS

Post by JonAbbott » Wed Dec 28, 2016 11:42 pm

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: 373
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel » Thu Dec 29, 2016 2:46 am

@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: 1736
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex

Re: Manic Miner RISC OS

Post by JonAbbott » Sun Jan 01, 2017 9:56 am

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: 373
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel » Sun Jan 01, 2017 1:37 pm

@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: 1736
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex

Re: Manic Miner RISC OS

Post by JonAbbott » Mon Jan 02, 2017 12:03 pm

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: 373
Joined: Mon Sep 16, 2013 12:01 am

Re: Manic Miner RISC OS

Post by Vanfanel » Wed Jan 04, 2017 3:09 pm

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...

Post Reply