Planet Nubium : A game for the BBC Master

User avatar
billcarr2005
Posts: 1840
Joined: Fri Sep 09, 2005 4:01 pm
Location: UK
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by billcarr2005 »

=D> I've been enjoying each version of this game, improving all the time!
User avatar
kieranhj
Posts: 1103
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by kieranhj »

Andrew_Waite wrote: Mon Mar 04, 2019 1:52 pm Planet Nubium now has game music!!!

Through the genius of Kieran Connell the game can now play tunes ripped from the Sega Master System. The SMS has the same Texas Instruments SN76489 sound chip as the BBC Micro.
Thanks Andrew. I would like to add that although I provided the music player the effortless & accurate conversion of Sega Master System tunes for the Beeb is thanks to the excellent Python tool written by simonm.

You can find this and more on GitHub also: https://github.com/simondotm/vgm-converter
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/
jregel
Posts: 283
Joined: Fri Dec 20, 2013 6:39 pm
Location: Gloucestershire
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by jregel »

I spent a bit of time this evening playing Planet Nubium. Really good game, different from, but obviously very reminiscent of Manic Miner. Great job!
BBC Master Turbo, Retroclinic External Datacentre, VideoNuLA, PiTubeDirect with Pi Zero, Gotek USB Floppy Emulator
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Andrew_Waite »

kieranhj wrote: Wed Mar 06, 2019 9:44 pm
Andrew_Waite wrote: Mon Mar 04, 2019 1:52 pm Planet Nubium now has game music!!!

Through the genius of Kieran Connell the game can now play tunes ripped from the Sega Master System. The SMS has the same Texas Instruments SN76489 sound chip as the BBC Micro.
Thanks Andrew. I would like to add that although I provided the music player the effortless & accurate conversion of Sega Master System tunes for the Beeb is thanks to the excellent Python tool written by simonm.

You can find this and more on GitHub also: https://github.com/simondotm/vgm-converter
I added simonm to the author list. Please can you pass on my apologies for the oversight!

The new .SSD file is posted below.
Attachments
Nubium 20190309 a.ssd
(146 KiB) Downloaded 134 times
User avatar
fandenivoldsk
Posts: 10
Joined: Sun Jun 25, 2017 2:36 pm
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by fandenivoldsk »

Wow, what an awesome game! It should be released on floppy.
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Andrew_Waite »

jregel wrote: Thu Mar 07, 2019 10:17 pm I spent a bit of time this evening playing Planet Nubium. Really good game, different from, but obviously very reminiscent of Manic Miner. Great job!
Thank you for your kind comment.
Planet Nubium originated from my love of Spectrum games. I was experimenting with the BBC Micro to see if I could convert sprites from Stephen Crow's Starquake and Matthew Smith's Miner Willy games to four colour MODE1. Hence the mutant telephones, pen knives, amoebatrons, penguins, killer ice creams etc. all make an appearance in Planet Nubium. The sprites have been colourised and stretched to fit in a 16x24 pixel frame rather than the original 16x16 frame on the Spectrum. There are also some additional sprites I created myself. The game engine came from a MicroUser game I wrote in 1986 called 'Santa's Sleigh'. There may even be a few 32-year-old ASCII characters from the old code in the new game!
Last edited by Andrew_Waite on Sat Mar 30, 2019 4:16 pm, edited 5 times in total.
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Andrew_Waite »

I have made a few small improvements to Planet Nubium, to now reach Version 1.7.

The flashing effect when Rocketman crashes now works properly with my SCART to HDMI video converter, and I made some small changes to the formatting of the text in the title page. At the end of each level the score increments and the fuel counts down to zero at a slightly slower rate.

The bootable .ssd disk is available below, or type ' CHAIN"NUBIUM" ' to load and run the game.

The code has been tested on BeebEm V4.14 and a real Master. Feedback and bug reports are very much appreciated!

Source files are available at Github : https://github.com/andrewwaite1

Known Issue :
The game requires all four banks of Sideways RAM. Sideways RAM banks maybe configured for ROM in machines fitted with a RetroClinic DataCentre.
Attachments
Nubium 20190622 a.ssd
(146 KiB) Downloaded 156 times
Last edited by Andrew_Waite on Thu Jun 27, 2019 4:39 am, edited 4 times in total.
User avatar
Yrrah2
Posts: 560
Joined: Tue Feb 06, 2007 6:06 pm
Location: Netherlands
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Yrrah2 »

Just dropped in today to see the game.
Nice!! =D> =D> =D>
Also downloaded the different versions to see what is changed.
Never thought of a progress bar while loading on a Beeb. 8)

On BeebEm 4.0a (mac) the music goes mad.
Didn't try the game yet on my master.

Cheers
Happy with my BBC Master
www.mybbcmaster.nl
User avatar
lurkio
Posts: 4351
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by lurkio »

Yrrah2 wrote: Sat Jun 29, 2019 9:22 pm On BeebEm 4.0a (mac) the music goes mad.
Yes. Same for me on BeebEm Mac.

:idea:

EDIT: Added issue to Mac BeebEm GitHub repo: https://github.com/stardot/beebem-mac/issues
Last edited by lurkio on Mon Jul 01, 2019 12:03 pm, edited 1 time in total.
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Andrew_Waite »

Yrrah2 wrote: Sat Jun 29, 2019 9:22 pm Just dropped in today to see the game.
Nice!! =D> =D> =D>
Also downloaded the different versions to see what is changed.
Never thought of a progress bar while loading on a Beeb. 8)

On BeebEm 4.0a (mac) the music goes mad.
Didn't try the game yet on my master.

Cheers
Sorry to hear that the game music does not work on BeebEm 4.0a (mac). The music works on the target system of the game, which is a BBC Master. I would call this an issue with the BeebEm emulator.
Last edited by Andrew_Waite on Mon Jul 01, 2019 3:24 pm, edited 4 times in total.
User avatar
Yrrah2
Posts: 560
Joined: Tue Feb 06, 2007 6:06 pm
Location: Netherlands
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Yrrah2 »

Sorry to hear that the game music does not work on BeebEm 4.0a (mac). The music works on the target system of the game, which is a BBC Master. I would call this an issue with the BeebEm emulator.
Yep is indeed an BeebEm thing.
Played it on my Master. Really nice!
Happy with my BBC Master
www.mybbcmaster.nl
User avatar
KarateEd
Posts: 6367
Joined: Fri Sep 20, 2013 10:15 pm
Location: Squamish, BC, Canada
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by KarateEd »

There is a slight bug in relationship to the music. On occasion the music starts revving up until in no longer resembles music. I've not been able to tie this down to any particular level or sequence of events. It's as if the clock says, go fast and faster and then back to normal after a few seconds.

It's strange but It's probably something in the MC section of the game.

Oh, that's with playing it on Beeb-Em 4.14.
Ed...... :-)

3 working Beebs, 1 RetroClinic Master, 1 normal Master, 1 A3010, 1 Pi2 RISC OS, 2 broken Beeb Motherboards, 1 Omnibus A7000+ server, 1 A7000+ Desktop, 1 PET, 1 C64, 1 C128, 1 Amiga 500 and 1 Roamer.
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: New game for the BBC Master : Planet Nubium

Post by Andrew_Waite »

I have made three changes to the original Planet Nubium game, to now reach Version 1.8.

The .ssd disk image available below. The disk is bootable, or type ' CHAIN"NUBIUM" ' to load and run the game.

Changes since Version 1.7 :

* I found the flashing effect on my real Master when Rocketman crashes irritated my eyes because it went on for too long. Eyeballs are now protected by shortening the duration of this effect.

* The pip-pip-pip sound when Rocketman is running in 'SOUND FX' mode now works properly on real hardware.

* Loading time has been slightly shortened by reducing the number of files that are loaded from disk into Sideways RAM.


The code has been tested on BeebEm V4.14 and a real Master.

Feedback and bug reports are very much appreciated!

Source files are available on Github : https://github.com/andrewwaite1/Planet-Nubium-v1.8

The game requires all four banks of Sideways RAM. Sideways RAM banks maybe jumpered out on a real Master in favour of ROM chips.
Attachments
Nubium 20200304 a.ssd
(179.75 KiB) Downloaded 102 times
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andrew_Waite »

An update to Planet Nubium, which is now at Version 1.9. I think that this will be the final version of the game.

The .ssd disk image available below. The disk is bootable, or type ' CHAIN"NUBIUM" ' to load and run the game.

Changes since Version 1.8 :

* A new loading page, which I think works so much better than the original ringed planet.

The game requires all four of the BBC Master's Sideways RAM banks.
Attachments
Nubium_S 20210426 a.ssd
(199.75 KiB) Downloaded 91 times
Last edited by Andrew_Waite on Fri Apr 30, 2021 4:37 am, edited 5 times in total.
User avatar
lovebug
Posts: 1739
Joined: Sun Jan 31, 2021 5:07 pm
Location: Magrathea
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by lovebug »

simply brilliant
Image Image Image Image
Andy1979
Posts: 325
Joined: Mon Mar 27, 2017 10:04 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andy1979 »

Really like this game; has anyone run this successfully on a Master Compact?

I've been trying to get all the games from "World in Pixels" running on mine, doing my testing in Beebjit. Game runs great emulating a Master, but as a Compact it crashes at the end of the loading screen with the following message:
Nubium.JPG
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andrew_Waite »

Andy1979 wrote: Mon May 24, 2021 2:59 pm Really like this game; has anyone run this successfully on a Master Compact?

I've been trying to get all the games from "World in Pixels" running on mine, doing my testing in Beebjit. Game runs great emulating a Master, but as a Compact it crashes at the end of the loading screen with the following message:
Nubium.JPG
I do not have access to a Master Compact to test the code I am afraid. The code to play the loading tune uses the ECONET workspace memory below page at &E00. Try disabling the loading tune by typing LOAD"NUBIUM"

Then deleting lines :

380 CALL&2A00:CALL&2A03
and
580 CALL&2A06:CALL&2A09

And then type RUN

What happens?
Andy1979
Posts: 325
Joined: Mon Mar 27, 2017 10:04 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andy1979 »

Andrew_Waite wrote: Thu May 27, 2021 4:10 pm I do not have access to a Master Compact to test the code I am afraid. The code to play the loading tune uses the ECONET workspace memory below page at &E00. Try disabling the loading tune by typing LOAD"NUBIUM"

Then deleting lines :

380 CALL&2A00:CALL&2A03
and
580 CALL&2A06:CALL&2A09

And then type RUN

What happens?
Thanks Andrew. I've since tried the game (v1.9) on real hardware under MMFS and it crashes the same as in beebjit, so doesn't seem to be an emulator issue, or one connected to DFS 2.45 (which was the issue with Prince of Persia on the Compact). The music works though, and sounds great.

I tried deleting those lines, but it still crashes at the same point, with the same error.

Also tried your bug-fixed version 1.4, which was prior to you adding the music, and it still crashes with same error (albeit at line 960 due to different versions).
User avatar
tricky
Posts: 7694
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by tricky »

Have you checked that you still have four SWRAM banks free?
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by jms2 »

I think I can see the problem. PROCbasic attempts to page BASIC back in, but BASIC is in Rom E on the Compact rather than Rom C. Hence it pages in garbage and the machine crashes.

I'm sure I could fix it but perhaps it would be better to let Andrew consider how best to handle it - a Compact-specific version or one which can deal with both. I notice that the game doesn't recognise a Compact as being a valid machine, but it would be nice if it did, and then record the rom position accordingly.
Andy1979
Posts: 325
Joined: Mon Mar 27, 2017 10:04 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andy1979 »

jms2 wrote: Thu Jun 03, 2021 12:10 pm I think I can see the problem. PROCbasic attempts to page BASIC back in, but BASIC is in Rom E on the Compact rather than Rom C. Hence it pages in garbage and the machine crashes.

I'm sure I could fix it but perhaps it would be better to let Andrew consider how best to handle it - a Compact-specific version or one which can deal with both. I notice that the game doesn't recognise a Compact as being a valid machine, but it would be nice if it did, and then record the rom position accordingly.
=D> Thanks once again jms2 - that's it.

Can confirm that changing LDA#&C to LDA#&E in line 1410 of "GAME" gets it running in Beebjit emulating a Compact, though this would of course break things on a Master.

I'll refrain from posting any versions here and let Andrew decide what he'd like to do.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by jms2 »

Looking closer, I found Andrew's code to be a model of clarity and very easy to edit without breaking things. So I would like to propose the following simple fix - in the loader NUBIUM the variable M% is set to &C and left at that value if a Master is detected. If a Compact is detected, M% is changed to &E. The mechanism to try loading on a different machine can remain as is, but will presumably only work successfully on a B or B+ with enough SWR in the right places.

Code: Select all

39 M%=&C:REM BASIC slot
40 IF INKEY(-256)=253 GOTO 60:REM Master
45 IF INKEY(-256)=245 M%=&E:GOTO 60:REM Compact
The main file, GAME, does not need to be changed except the hardcoded value of &C in .basic should be changed to M% to pick up the appropriate ROM number.

Code: Select all

1410.basic LDA#M%:SEI:STA&FE30:STA&F4:RTS
This all works for me in both Master and Compact modes on B-Em. I would post the modified disc image, but I realised that I have patched v1.6 whereas I'm not sure if this is the latest release version. Therefore I'd like to propose the above and let Andrew take care of implementing it properly! :lol:
User avatar
dudleysoft71
Posts: 298
Joined: Tue May 26, 2020 6:56 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by dudleysoft71 »

Surely the basic rom is selected while it's assembling the code, so you could replace

Code: Select all

LDA #&C
with

Code: Select all

LDA #?&F4
which would use whatever rom bank is currently selected, that will be basic and it should work with any MOS version.

You could also set M% to ?&F4 in the loader if space is tight where the code is assembled.
James Watson - DudleySoft

BBC Model B 32K - PiTubeDirect, Pi1Mhz, Smally Mouse, Gotek, DFS/ADFS, 4xSWRAM.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by jms2 »

That's very clever! I would never have thought of that. It would also help with the B+128 situation where Basic is in rom &F (although I find it still doesn't work on that machine for some reason).
User avatar
Andrew_Waite
Posts: 312
Joined: Tue Aug 30, 2016 3:58 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andrew_Waite »

jms2 wrote: Thu Jun 03, 2021 12:10 pm I think I can see the problem. PROCbasic attempts to page BASIC back in, but BASIC is in Rom E on the Compact rather than Rom C. Hence it pages in garbage and the machine crashes.

I'm sure I could fix it but perhaps it would be better to let Andrew consider how best to handle it - a Compact-specific version or one which can deal with both. I notice that the game doesn't recognise a Compact as being a valid machine, but it would be nice if it did, and then record the rom position accordingly.
Great piece of debugging! I did not know that BASIC is in ROM E on the Compact rather than ROM C, and that will certainly cause the program to fail.

The same issue will affect Planet Nubium Two on the Compact. I will release new updates for both games with a fix.
Andy1979
Posts: 325
Joined: Mon Mar 27, 2017 10:04 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andy1979 »

Encountering another issue when trying to launch this game.

Applying the suggested patch to the game works great, and I can play it from MMFS no problem at all on my Compact.

However, I have since built an MMC menu for my Master Compact using the guidance here viewtopic.php?f=3&t=12073

It launches the game just fine, but when the progress bar gets to the end on the loading screen it crashes with "Bad mode at Line 10". I'm assuming that's Line 10 of "GAME", which sets MODE 1.

My guess that I'm running out of memory, since the game runs fine from a cold boot. Have tried setting the MMC menu to both *Exec !BOOT and CHAIN "NUBIUM" - get the same result each time.

I shall try an earlier version of the game to see if that fixes things, but can anyone think of anything to add to the !BOOT file to clear the MMC menu out of memory if that's the issue?
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by jms2 »

There's something odd going on here. It can't be simply that you've run out of memory, because a Compact has the same amount of memory as a Master 128. Also, the file "NUBIUM" selects Mode 1 anyway, so re-selecting it in GAME should not be a problem. Residual data in memory from the menu shouldn't be a problem either.

So I'm puzzled. :-k
Andy1979
Posts: 325
Joined: Mon Mar 27, 2017 10:04 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andy1979 »

jms2 wrote: Fri Aug 06, 2021 6:41 pm There's something odd going on here. It can't be simply that you've run out of memory, because a Compact has the same amount of memory as a Master 128. Also, the file "NUBIUM" selects Mode 1 anyway, so re-selecting it in GAME should not be a problem. Residual data in memory from the menu shouldn't be a problem either.

So I'm puzzled. :-k
Fixed it! All it needed was *BASIC adding to !BOOT

Edited the SSD in beebjit with *BUILD !BOOT as follows:

Code: Select all

1 *BASIC
2 CHAIN "NUBIUM"
For whatever reason, that makes it run from the MMC menu system. I guess from cold boot the system will already be in BASIC, so not required.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by jms2 »

Good news that it works... but I must admit I don't really understand why *BASIC fixed it. CHAIN is a BASIC command of course, so in order to start the loading process the machine had to have been in BASIC anyway.
Andy1979
Posts: 325
Joined: Mon Mar 27, 2017 10:04 pm
Contact:

Re: Planet Nubium : A game for the BBC Master

Post by Andy1979 »

jms2 wrote: Sat Aug 07, 2021 6:18 pm Good news that it works... but I must admit I don't really understand why *BASIC fixed it. CHAIN is a BASIC command of course, so in order to start the loading process the machine had to have been in BASIC anyway.
No idea. My thought process was:
- I checked the !BOOT file for one of the recent Bitshifters conversions and that had *BASIC in there)
- Given dudleysoft71's fix for the Compact was all about loading basic from an assumed location I wanted to make certain that the MENU program wasn't doing anything to counteract that.

I guess it could have been something else in the original !BOOT file that was causing the issue, but that doesn't explain why altering the menu to CHAIN"NUBIUM" didn't fix the program.
Post Reply

Return to “new bbc and electron games from 'retro software'”