Planet Nubium : A game for the BBC Master
- billcarr2005
- Posts: 1840
- Joined: Fri Sep 09, 2005 4:01 pm
- Location: UK
- Contact:
Re: New game for the BBC Master : Planet Nubium
I've been enjoying each version of this game, improving all the time!
Re: New game for the BBC Master : Planet Nubium
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.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.
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/
Re: New game for the BBC Master : Planet Nubium
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
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: New game for the BBC Master : Planet Nubium
I added simonm to the author list. Please can you pass on my apologies for the oversight!kieranhj wrote: ↑Wed Mar 06, 2019 9:44 pmThanks 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.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.
You can find this and more on GitHub also: https://github.com/simondotm/vgm-converter
The new .SSD file is posted below.
- Attachments
-
- Nubium 20190309 a.ssd
- (146 KiB) Downloaded 134 times
- fandenivoldsk
- Posts: 10
- Joined: Sun Jun 25, 2017 2:36 pm
- Contact:
Re: New game for the BBC Master : Planet Nubium
Wow, what an awesome game! It should be released on floppy.
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: New game for the BBC Master : Planet Nubium
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.
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: New game for the BBC Master : Planet Nubium
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.
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.
Re: New game for the BBC Master : Planet Nubium
Just dropped in today to see the game.
Nice!!
Also downloaded the different versions to see what is changed.
Never thought of a progress bar while loading on a Beeb.
On BeebEm 4.0a (mac) the music goes mad.
Didn't try the game yet on my master.
Cheers
Nice!!
Also downloaded the different versions to see what is changed.
Never thought of a progress bar while loading on a Beeb.
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
www.mybbcmaster.nl
Re: New game for the BBC Master : Planet Nubium
Yes. Same for me on BeebEm Mac.
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.
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: New game for the BBC Master : Planet Nubium
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.
Re: New game for the BBC Master : Planet Nubium
Yep is indeed an BeebEm thing.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.
Played it on my Master. Really nice!
Happy with my BBC Master
www.mybbcmaster.nl
www.mybbcmaster.nl
Re: New game for the BBC Master : Planet Nubium
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.
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.
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.
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: New game for the BBC Master : Planet Nubium
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.
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
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: Planet Nubium : A game for the BBC Master
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.
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.
Re: Planet Nubium : A game for the BBC Master
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:
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:
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: Planet Nubium : A game for the BBC Master
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"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
Then deleting lines :
380 CALL&2A00:CALL&2A03
and
580 CALL&2A06:CALL&2A09
And then type RUN
What happens?
Re: Planet Nubium : A game for the BBC Master
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.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?
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).
Re: Planet Nubium : A game for the BBC Master
Have you checked that you still have four SWRAM banks free?
Re: Planet Nubium : A game for the BBC Master
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.
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.
Re: Planet Nubium : A game for the BBC Master
Thanks once again jms2 - that's it.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.
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.
Re: Planet Nubium : A game for the BBC Master
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.
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.
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!
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
Code: Select all
1410.basic LDA#M%:SEI:STA&FE30:STA&F4:RTS
- dudleysoft71
- Posts: 298
- Joined: Tue May 26, 2020 6:56 pm
- Contact:
Re: Planet Nubium : A game for the BBC Master
Surely the basic rom is selected while it's assembling the code, so you could replace
with
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.
Code: Select all
LDA #&C
Code: Select all
LDA #?&F4
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.
BBC Model B 32K - PiTubeDirect, Pi1Mhz, Smally Mouse, Gotek, DFS/ADFS, 4xSWRAM.
Re: Planet Nubium : A game for the BBC Master
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).
- Andrew_Waite
- Posts: 312
- Joined: Tue Aug 30, 2016 3:58 pm
- Contact:
Re: Planet Nubium : A game for the BBC Master
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.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.
The same issue will affect Planet Nubium Two on the Compact. I will release new updates for both games with a fix.
Re: Planet Nubium : A game for the BBC Master
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?
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?
Re: Planet Nubium : A game for the BBC Master
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.
So I'm puzzled.
Re: Planet Nubium : A game for the BBC Master
Fixed it! All it needed was *BASIC adding to !BOOTjms2 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.
Edited the SSD in beebjit with *BUILD !BOOT as follows:
Code: Select all
1 *BASIC
2 CHAIN "NUBIUM"
Re: Planet Nubium : A game for the BBC Master
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.
Re: Planet Nubium : A game for the BBC Master
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.