New version of Astro Blaster (was: I'm currently working on a version of AstroBlaster)

new games to be launched and discussed here
User avatar
sirmorris
Posts: 725
Joined: Wed Feb 11, 2009 12:18 pm
Location: oxfordshire uk
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby sirmorris » Wed May 18, 2016 9:20 pm

A bit late to the party ... but what can I say. :shock:

Stunning work there. AB is one of my all-time favourites. You have done it proud. Thank you.


Also My TMS was relieved at having something other than 'Call me Kenneth' Kendall to work with :lol:

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Wed May 18, 2016 10:37 pm

Thanks, i really should add the docking bit for swram beebs, but i quite like the choice of more time or cooler laser that the fireball storm offers, that and I'ma bit lazy :lol:

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Mon Jun 13, 2016 7:16 pm

I have found what I think is the cause of AstroBlaster not working on machines without sideways RAM (or 1 bank and no speech chip).
This should also add sampled speech back to anyone with Watford Electronics Shadow RAM who had it with the original version.
It looks like I have a typo, which is wrongly identifying WE Shadow RAM.
The fix is to change line 275 of LOADSWR from IF W% = 255... to IF W% <> 255...
New .ssd attached with fix, please let me know if this has any issues for anyone.

Michael Brown,
sorry for changing the files again!

Mark (Retro Clinic),
Sorry for doubting you or your excellent DataCentre.

AstroBlaster should work on any BBC Model B, B+, Master or Compact (only tested in emulation).
For the best experience, use RGB to SCART on a CRT (extra smooth) with a speech enable beeb with sideways RAM.
If there is a Speech chip and at least one bank of SidewaysRAM, you will have full speech (even without Kenneth Kendall).
If there is no speech chip, Up to two banks of SidewaysRAM or WE Shadow RAM will be used for sampled speech.
Attachments
AstroBlasterWEFix.zip
Fix for wrongly identifying WE Shadow RAM
(40.98 KiB) Downloaded 27 times

Michael Brown
Posts: 1896
Joined: Sat Apr 03, 2010 12:54 pm
Location: Nottingham

Re: I'm currently working on a version of AstroBlaster

Postby Michael Brown » Tue Jun 14, 2016 9:40 am

Hi Tricky,

Just loaded the version of AstroBlaster into my Beeb (with Datacentre).
The game now works fine - It does not display any text at the bottom (as it is not loading any RAMs) and plays the game simply without the in game speech.
Works the same under both emulators as well!

Well done.

Is this now the final version and what are you going to create for us next?

regards,
Mick.

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Tue Jun 14, 2016 12:38 pm

It is the final version unless i get inspired to add the docking level, but that would be quite a bit of work for not much Bang. If i did, i would add the mystery bonuses which are also missing.

I did start a thread asking what next, but have got distracted with rally-x, SelfTestOS and Phoenix.

Michael Brown
Posts: 1896
Joined: Sat Apr 03, 2010 12:54 pm
Location: Nottingham

Re: I'm currently working on a version of AstroBlaster

Postby Michael Brown » Tue Jun 14, 2016 3:31 pm

Hi Tricky,

Any chance you could finish your excellent version of Phoenix?

regards,
Mick.

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Tue Jun 14, 2016 6:50 pm

By way of an apology for causing you to have to update your AstroBlaster disc, I will post an updated WiP.

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Thu Jul 14, 2016 6:08 pm

Sorry again everyone, well pau1ie spotted a bug with Master and Master Compact joystick support.
Here is a new version, only $.game should have changed and it should only affect Master and Master Compact joystick support.
If anyone with a Master and or Compact could check and report back, that would be great.
Master Compact WARP is down on the joystick!
Attachments
AstroBlaster-MasterJoyFix.zip
fix for Master and Compact joystick support
(41.57 KiB) Downloaded 21 times

User avatar
pau1ie
Posts: 321
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford

Re: I'm currently working on a version of AstroBlaster

Postby pau1ie » Fri Jul 15, 2016 12:05 pm

Hi Tricky

tricky wrote:If anyone with a Master and or Compact could check and report back, that would be great.


It works, except that now the joystick button is warp rather than fire. My joystick is the BBC one and only has a single button - bottom picture on this page:

http://wouter.bbcmicro.net/pictures/hardware/bbc_joysticks/index.html

Still works well with the keyboard though.

Edit - Forgot to say, this is a Master 128 with datacentre.

Cheers

PaulH
I'm working on http://bbcmicro.co.uk

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Fri Jul 15, 2016 2:51 pm

I'll have to have another look, does down on the stick fire?

User avatar
pau1ie
Posts: 321
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford

Re: I'm currently working on a version of AstroBlaster

Postby pau1ie » Fri Jul 15, 2016 3:04 pm

tricky wrote:does down on the stick fire?

No.so far as I can see up and down don't do anything.
I'm working on http://bbcmicro.co.uk

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Fri Jul 15, 2016 6:28 pm

Sorry, confused myself, down is as I said before, compact only.
Maybe I am missing something important about the master joystick, I'll have to check,
For some reason, I was only supporting a single button, but I thought that that was because I copied the code from Carnival, which, only uses one button.
Does the fire button on the other joystick do anything?

User avatar
1024MAK
Posts: 6791
Joined: Mon Apr 18, 2011 4:46 pm
Location: Looking forward to summer in Somerset, UK...

Re: I'm currently working on a version of AstroBlaster

Postby 1024MAK » Fri Jul 15, 2016 7:41 pm

Err, the only differences between a Master 128 and a BBC B is some of the addresses are different (if you are directly accessing the hardware).
The Master Compact of course does not have an analogue port (no A>D converter chip), so just has digital inputs via the user VIA 6522 port B (FE60-FE7F).

Code: Select all

FEC0-DF Analogue-to-digital converter (B/B+)
============================================
FEC0 Start conversion                   Status
FEC1                                    Data high byte
FEC2                                    Data low byte
FEC3 -                                  -

FE18-1F Analogue-to-Digital converter (Master)
==============================================
FE18 Start conversion                   Status
FE19                                    Data high byte
FE1A                                    Data low byte
FE1B -                                  -

Master Compact Joystick
==============================================
Pin VIA  Function
 1  PB3  Up
 2  PB2  Down
 3  PB1  Left
 4  PB4  Right
 5  CB1
 6  PB0  Fire 1
 7  +5V  Used with some auto-fire joysticks
 8  0V   Ground / common
 9  CB2  Fire 2 (if used)


Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki‬ - for answers to many questions...

User avatar
pau1ie
Posts: 321
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford

Re: I'm currently working on a version of AstroBlaster

Postby pau1ie » Fri Jul 15, 2016 11:05 pm

tricky wrote:Does the fire button on the other joystick do anything?


No, it has no effect.

I am pretty sure fire used to fire on the previous version where the ship shot off to the right. Also, of course, I have to press fire to start the game.
I'm working on http://bbcmicro.co.uk

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Sat Jul 16, 2016 7:31 am

[quote="pau1ie]I am pretty sure fire used to fire on the previous version where the ship shot off to the right. Also, of course, I have to press fire to start the game.[/quote]that is what i don't get, the fire button code hasn't changed, only the movement code, which just used a different address for the adc.

Mark, thanks, I don't think i knew about the second fire button on the compact. I will change the loader so that starting with fire2 on the compact disabled down for warp - if i ever get the rest correct!

I think the best thing i can do is probably write a little joystick checking program and ask people to try it for me. Maybe Dave could lend me a working master and compact, out maybe it will make a practicallittle project for abug south.

Paulie, one last thing, does fire work ok on carnival?

User avatar
1024MAK
Posts: 6791
Joined: Mon Apr 18, 2011 4:46 pm
Location: Looking forward to summer in Somerset, UK...

Re: I'm currently working on a version of AstroBlaster

Postby 1024MAK » Sat Jul 16, 2016 9:46 am

To help prevent confusion (Whoops! Too late :oops: )

There are various differences with so called "Atari" standard joysticks. I listed the functions that are listed as per the Atari ST pin-out where one possible second fire button may be used on some joysticks. It does not mean that all joysticks have a second fire button mapped to that pin (pin 9).

Further, I don't know if any Master Compact software actually uses a second fire button. Reading CB2 is done rather differently to reading one of the PB inputs.

Sorry if I confused matters :oops:

Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki‬ - for answers to many questions...

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Sat Jul 16, 2016 11:36 am

OK, I've written a test program for B, B+, Master and Compact (probably A to with ADC, but OS 0.1 would need a couple of tweaks).
Attached is a .zip containing a DFS, ADFS and TAPE image of the test program OSJOY.
There is a bit more about it here http://www.retrosoftware.co.uk/forum/viewtopic.php?f=73&t=1013&p=7746#p7746.
I would appreciate it if anyone could try it on a Master and Compact as I don't have them.
Sarah, any chance of supporting two fire buttons in B-em? if not, I'll take a look later.
If anyone has anything a bit exotic (basically, not just a model B) I would appreciate knowing if the machine identification works correctly and whether left/right and the two fire buttons report correctly on all platforms.
Attachments
osjoy.zip
identify OS and ready joystick
(45.34 KiB) Downloaded 23 times
Last edited by tricky on Sat Jul 16, 2016 12:28 pm, edited 1 time in total.

User avatar
1024MAK
Posts: 6791
Joined: Mon Apr 18, 2011 4:46 pm
Location: Looking forward to summer in Somerset, UK...

Re: I'm currently working on a version of AstroBlaster

Postby 1024MAK » Sat Jul 16, 2016 11:50 am

I have a BBC B, a Master 128, and a Master Compact (all working). I do have a B+, but it is currently not operational :(

If I have time this weekend, I will try your test program. If I do, I will of course post up the results.

Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki‬ - for answers to many questions...

User avatar
pau1ie
Posts: 321
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford

Re: I'm currently working on a version of AstroBlaster

Postby pau1ie » Sat Jul 16, 2016 10:36 pm

On my master I see on one of the joystics (Which are not labelled by the way) it says fire left. This one says right, left, centre etc. The fire button on the other joystick says fire right.
OS says 3.x Master. I have a retroclinic dualos fitted at the latest version (3.5?)

I think it is good.
I'm working on http://bbcmicro.co.uk

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Sun Jul 17, 2016 7:06 am

Thanks, that is working correctly then.
I don't know why i called them left and right.
The "left" fire button should go with the stick which says left, centre (left), centre (right) and right. This should be fire in AstroBlaster, while the fire button which says "right" should be warp.
I'll go and check the AstroBlaster code again.
I would still appreciate anyone checking the compact, if possible with a one and two button stick.

PS, would it be possible to check the master in beeb mode and reportb back what it thinks the beeb is and if the stick still works, I'm guessing it won't work, but it may.

User avatar
tricky
Posts: 1918
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: I'm currently working on a version of AstroBlaster

Postby tricky » Sun Jul 17, 2016 2:57 pm

Found a silly bug in the Master code, so here should be the Master fixed version, only $.game changed.

Compact still uses up or down (can't remember for WARP)
Attachments
AstroBlaster-MasterJoyFix.zip
Master 2 button joystick fix
(41.57 KiB) Downloaded 37 times

User avatar
pau1ie
Posts: 321
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford

Re: I'm currently working on a version of AstroBlaster

Postby pau1ie » Tue Jul 19, 2016 12:37 pm

The game works perfectly, brilliant.

The dualos only allows me to switch between 3.2 and 3.5, and I haven't fitted the switch, so I am stuck on 3.5, but I don't have a model B mode to try.

Cheers

PaulH
I'm working on http://bbcmicro.co.uk


Return to “software: new games”

Who is online

Users browsing this forum: No registered users and 2 guests