A new Warlords emulator for the beeb (was Writing a ...)

new games to be launched and discussed here
User avatar
Arcadian
Posts: 2701
Joined: Fri Nov 24, 2000 12:16 pm
Contact:

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby Arcadian » Wed Aug 09, 2017 1:06 pm

Richard if you can post an interface to me at the Museum of Science and Industry, Manchester I can run Warlords for the Power Up event which runs from 11-28 August.

I have lots of pairs of dual Atari paddles with the 9 pin connectors.

Let me know if that's possible! :)
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk

Image
ABug Cambridge & Acorn World (12-14 May 2017)

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

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby tricky » Wed Aug 09, 2017 2:10 pm

I won't be home until Friday, but could lend you mine.
The paddles would also need the extra white wire adding and may need the other wires on the pot swapping around.
I only have one set of Atari paddles at the moment.

User avatar
Arcadian
Posts: 2701
Joined: Fri Nov 24, 2000 12:16 pm
Contact:

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby Arcadian » Wed Aug 09, 2017 2:59 pm

Hi, that would be great. I'll email you the address here, and I'll see if somebody local can do the mod for me on my paddles. Cheers Richard!
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk

Image
ABug Cambridge & Acorn World (12-14 May 2017)

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

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby tricky » Thu Aug 10, 2017 9:52 am

dp11 wrote:What is the NAND gate doing ?

Having had another look, I guess an LS157 would be a more appropriate solution as it has four 2-input multiplexers in one chip.

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

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby tricky » Sat Aug 12, 2017 5:02 pm

Mark II adapter, 2/4 atari paddles only, they require the mod listed above.
This one is off to the Museum of Science and Industry, Manchester (11–28 August 2017) for Power Up!
ImageImageImageImage
From their web-site: Power Up!
Power Up! is back for 2017 with over 160 consoles on offer. Get your game face on and play some of the most popular video games from the past 40 years, from Pong and Pacman to Minecraft and Mario.
Attachments
proto2_4.jpg
(33.97 KiB) Not downloaded yet
proto2_3.jpg
(32.35 KiB) Not downloaded yet
proto2_2.jpg
(35.56 KiB) Not downloaded yet
proto2_1.jpg
(28.55 KiB) Not downloaded yet

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

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby tricky » Sat Aug 19, 2017 1:34 pm

This seems OK on a Model B, B+ and Master although, we haven't got it working with a DataCentre yet.

This game requires one 16K sideways RAM bank, the disk image attached, 1-4 paddles (for 3 or 4, an adapter is required, details to follow) and your own Warlords arcade game ROMs.

I have not put the game ROMs on the image as I have not properly investigated the legal issues with distributing them.
The disc does contain a BBC version of the graphics and sounds, but these will not work without the original ROMS.
If you have a legal set of ROMs you can compare them using the MAME rom checker and concatenate them to form $.ROMS which should then be added to the disc image. e.g.

Code: Select all

copy /b 037154-01.m1+037153-01.k1+037158-01.j1+037157-01.h1+037156-01.e1+037155-01.d1 $.ROMS

The top line of the screen tells you which sideways bank is being used.
Image
If you have made a 3/4 fire button adapter, press either button 3 or 4 to enable it, otherwise only 2 buttons/paddles will be supported.
Image
Attachments
UsingBank.png
(27.82 KiB) Not downloaded yet
ButtonsSelect.png
(1.04 KiB) Not downloaded yet
WarlordsNoROMs.zip
You need to add your own ROMs to use this
(19.71 KiB) Not downloaded yet

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

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby tricky » Sat Aug 19, 2017 5:15 pm

Here is a little test program for the adapter, will be more widly useful when more than two people have them ;)

Code: Select all

10 *K.10O.|MREN.|ML.|M
20 MODE 7
30 PRINTTAB(3,3)
40 FOR O=0 TO 3 STEP 3
50 P%=&72
60 [OPT O
65 SEI
70 LDA &FE40 : STA &70 \ SysViaRegB
80 LDA #&C8 : STA &FE4C \ SysViaPCR
90 LDA &FE40 : STA &71 \ SysViaRegB
100 LDA #&08 : STA &FE4C \ SysViaPCR
105 CLI
110 RTS
120 ]
130 NEXT
140 REPEAT
150 CALL &72
160 PRINT TAB(0,0)~(?&70 AND &30)DIV16,~(?&71 AND &30)DIV16
170 PRINT ~ADVAL(1),~ADVAL(2),~ADVAL(3),~ADVAL(4)
180 UNTIL 0

My beeb is in pieces, if this doesn't work, the #&C8 might need to be a #&E8, but I think it is correct as is.

You should see 3 3 on the top row, the first one is the first two fire buttons, pressing button 0 should give "2 3", button1 "1 3" and both buttons together "0 3". same again for the second set and second 3. Without an adapter, both single digits will be the same. second line is analogue inputs.

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

Re: A new Warlords emulator for the beeb (was Writing a ...)

Postby tricky » Sun Aug 20, 2017 2:38 pm

Attached is the wiring diagram as best as I can see that I have ended up with.
The DiaDiagram is the same thing but in Dia (visio like program).
The three sockets are supposed to be looking in to the solder side of the connectors and just to confuse things, the 74LS157 is viewed from above!
I will add some photographs later of what it looks like built and will build my next using this diagram to check that it is OK.
Wiring.png
If you want to use it please do, but please check all wiring logic yourself as I could easily have made a mistake!
Attachments
DiaDiagram.zip
(6.46 KiB) Downloaded 2 times


Return to “software: new games”

Who is online

Users browsing this forum: No registered users and 1 guest