new to atom: ram rom mmc joystick power
new to atom: ram rom mmc joystick power
I am another new atom guardian.
I sort of ordered a ram/ROM board at abug south, I think from prime, but as I can't remember names or faces I'm not sure who it was.
I would like an AtoMMC kit, but built is fine. I think they are hoglet's, but not sure if anyone sells them.
I would also like to know if there is a standard wiring for joysticks?
I am thinking of making up a dual Sega adapter like I made for the beeb/master.
With 0v, 5v and 6 IO pins you could support a two button (or use 2 off 6) Sega controller.
With 7 IO pins you could support all 6 buttons.
With 7 and a couple of ls157s you could have two controllers with 2 buttons.
8 + 157s could be 2 controllers with 6 buttons each.
8 + 6 157s would support 4 controllers with 2 buttons each.
The above would also work for Atari, but they would only have 1 button and require resistors if the IO pins don't have pull-up/downs.
If there is a standard, I would like to be compatible.
I sort of ordered a ram/ROM board at abug south, I think from prime, but as I can't remember names or faces I'm not sure who it was.
I would like an AtoMMC kit, but built is fine. I think they are hoglet's, but not sure if anyone sells them.
I would also like to know if there is a standard wiring for joysticks?
I am thinking of making up a dual Sega adapter like I made for the beeb/master.
With 0v, 5v and 6 IO pins you could support a two button (or use 2 off 6) Sega controller.
With 7 IO pins you could support all 6 buttons.
With 7 and a couple of ls157s you could have two controllers with 2 buttons.
8 + 157s could be 2 controllers with 6 buttons each.
8 + 6 157s would support 4 controllers with 2 buttons each.
The above would also work for Atari, but they would only have 1 button and require resistors if the IO pins don't have pull-up/downs.
If there is a standard, I would like to be compatible.
Last edited by tricky on Thu Jul 19, 2018 6:21 pm, edited 1 time in total.
Re: new to atom: ram rom mmc joystick
Hopefully on my hardware list in link in signature. If things are missing let me know and I will add them. Not having an Atom some of that hardware misses me.
Re: new to atom: ram rom mmc joystick
SirMorris (Charlie) for the AtomMMC. Prime for the RAM/ROM 
d.

d.
- 1024MAK
- Posts: 8297
- Joined: Mon Apr 18, 2011 4:46 pm
- Location: Looking forward to summer in Somerset, UK...
- Contact:
Re: new to atom: ram rom mmc joystick
RAM/ROM boards are from Prime (Phill)
AtoMMC kits (built but requires installation) are supplied by SirMorris (Charlie). PM him
Ahh, I see Daniel got in before me. Well at least you know I was not editing this while driving...
Mark
AtoMMC kits (built but requires installation) are supplied by SirMorris (Charlie). PM him

Ahh, I see Daniel got in before me. Well at least you know I was not editing this while driving...
Mark
Last edited by 1024MAK on Sun Jul 08, 2018 4:22 pm, edited 2 times in total.
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki - for answers to many questions...
Logic Levels for 5V TTL Systems
Fault finding index
BeebWiki - for answers to many questions...
Logic Levels for 5V TTL Systems
Fault finding index
Re: new to atom: ram rom mmc joystick
Messages sent to sirmorris (via email) and prime (private message).
Does anyone have any thoughts about joysticks?
I'm thinking two buttons are plenty, but also I don't know of anything needing four controllers.
Does anyone have any thoughts about joysticks?
I'm thinking two buttons are plenty, but also I don't know of anything needing four controllers.
Re: new to atom: ram rom mmc joystick
Hi Tricky,
in all my games, I use this digital joystick configuration:
The joystick is connected to User Port of the AtoMMC interface and wired like this:
This can be expanded for more buttons of course.
For now, it only supports 1 joystick.
Just one remark: GND is not supported on User Port pin header so has to be connected manually.
I don't know if Charlie changed this for the newer boards .....
I also found some interesting stuff about a multiplayer gaming network for the C64 with 2x 6522 ....
The original Italian article and a Google translate article are attached.
Greetings
Kees
in all my games, I use this digital joystick configuration:
The joystick is connected to User Port of the AtoMMC interface and wired like this:
Code: Select all
AtoMMC Joystick
-----------------
PB0 - Right
PB1 - Left
PB2 - Down
PB3 - Up
PB4 - Fire
PB5 - nc
PB6 - nc
PB7 - nc
GND - GND
For now, it only supports 1 joystick.
Just one remark: GND is not supported on User Port pin header so has to be connected manually.
I don't know if Charlie changed this for the newer boards .....
I also found some interesting stuff about a multiplayer gaming network for the C64 with 2x 6522 ....
The original Italian article and a Google translate article are attached.
Greetings
Kees
- Attachments
-
- Commodore 64 game network-it.pdf
- (538.99 KiB) Downloaded 7 times
-
- Commodore 64 game network-uk.pdf
- (796.78 KiB) Downloaded 12 times
Last edited by oss003 on Sun Jul 08, 2018 2:02 pm, edited 10 times in total.
Re: new to atom: ram rom mmc joystick
Thanks Kees, that was the sort of thing I was hoping for.
I'm being a bit lazy; do you set the other bits as input or output and if out what do you set then to?
I was expecting to have to pick up GND separately and 5V for the Sega controllers.
I won't be doing anything until I get my AtoMMC anyway, but I would be interested in any thoughts you have about number of fire buttons and number of controllers.
I'm being a bit lazy; do you set the other bits as input or output and if out what do you set then to?
I was expecting to have to pick up GND separately and 5V for the Sega controllers.
I won't be doing anything until I get my AtoMMC anyway, but I would be interested in any thoughts you have about number of fire buttons and number of controllers.
Re: new to atom: ram rom mmc joystick
I set all bits to input, this is my joystick routine:
Greetings
Kees
Code: Select all
;----------------------------------------------------------
; Set PORTB direction
;----------------------------------------------------------
joyinit:
lda #$ff ; Write value to latch, bits 0-7 input
sta $b401
jsr interwritedelay
lda #$a1 ; Write direction in latch to PORTB
sta $b400
wait_until_not_busy:
lda $b400
bmi wait_until_not_busy
rts
;----------------------------------------------------------
; Get PORTB value
;----------------------------------------------------------
joyget:
lda #$a2 ; Read value PORTB in latch
sta $b400
jsr interwritedelay
lda $b401
beq no_joystick
eor #$ff
and #$1f
no_joystick:
rts
;----------------------------------------------------------
; Short delay
;
; Enough to intersperse 2 writes to the FATPIC.
;----------------------------------------------------------
interwritedelay:
lda #8
sec
loop:
sbc #1
bne loop
rts
Kees
Re: new to atom: ram rom mmc joystick
For the Atom, there are only a few 2 player games and there is a Dutch User Group 2 joystick solution.
Solder the joystick wires parallel to the top 2 rows of the keyboard matrix.
Maybe a second button could be added but I don't know if there's any need for more buttons.
Didn't know you had an Atom Tricky, looking for a new challenge? .....
Greetings
Kees
Solder the joystick wires parallel to the top 2 rows of the keyboard matrix.
Maybe a second button could be added but I don't know if there's any need for more buttons.
Didn't know you had an Atom Tricky, looking for a new challenge? .....

Greetings
Kees
Re: new to atom: ram rom mmc joystick
I am trying to avoid any more challenges at the moment
It is quite tempting though.
I am planning to take the atom to the shows that I do and want it to show its best side, although I'm sticking with composite for now.

I am planning to take the atom to the shows that I do and want it to show its best side, although I'm sticking with composite for now.
Re: new to atom: ram rom mmc joystick
Nice idea to create a matrix .....

Yes, every bit can be set as input or output, just like the VIA.
Or use a 74LS157 demultiplexer to create a 6x4 matrix for 4 joysticks.
Greetings
Kees
Last edited by oss003 on Sun Jul 08, 2018 5:20 pm, edited 1 time in total.
Re: new to atom: ram rom mmc joystick
AtomMmc arrived today, had to bodge a power connector (which hasn't arrived yet) as I couldn't wait to try it.
I'm trying to find a good place to mount it, current options are:
Was the original idea to solder it to the connector instead of the ribbon cable?I'm trying to find a good place to mount it, current options are:
- Leave it internal attached to its main board.
- Attach it to the back, so the top of the card is just visible at the back of the Atom.
- Try to make a bracket so that the card pokes out through the power/AV hole (composite goes through RF socket).
Last edited by tricky on Sat Jul 14, 2018 3:17 pm, edited 1 time in total.
- 1024MAK
- Posts: 8297
- Joined: Mon Apr 18, 2011 4:46 pm
- Location: Looking forward to summer in Somerset, UK...
- Contact:
Re: new to atom: ram rom mmc joystick
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki - for answers to many questions...
Logic Levels for 5V TTL Systems
Fault finding index
BeebWiki - for answers to many questions...
Logic Levels for 5V TTL Systems
Fault finding index
Re: new to atom: ram rom mmc joystick
Normally the AtoMMC is suppled with a flatcable between PL4 and the AtoMMC interface.
Another flatcable is used to connect the AtoMMC interface with the SD board which hangs outside the Atom.
Wim did solder a female connector to the AtoMMC board to install the AtoMMC interface directly on PL4.
The coloured flatcable is a joystick cable with on the other end a 9=pin D-connector.
Greetings
Kees
Another flatcable is used to connect the AtoMMC interface with the SD board which hangs outside the Atom.
Wim did solder a female connector to the AtoMMC board to install the AtoMMC interface directly on PL4.
The coloured flatcable is a joystick cable with on the other end a 9=pin D-connector.
Greetings
Kees
Last edited by oss003 on Sat Jul 14, 2018 8:17 pm, edited 2 times in total.
- Multiwizard
- Posts: 1477
- Joined: Wed Jan 11, 2012 9:03 pm
- Contact:
Re: new to atom: ram rom mmc joystick
Indeed I did, in several Atoms... 

Last edited by Multiwizard on Sat Jul 14, 2018 9:33 pm, edited 1 time in total.
Re: new to atom: ram rom mmc joystick
I have to admit that I didn't consider mounting on top like the econet board - I always just imagined popping the main interface board underneath the atom motherboard with the slot card hanging outside. I didn't think there was room on top as it's pretty cosy there under the lid. I was wary of shorting things out. That said, the prototype fitted there - it copied the form of the econet card.
I could offer this as a mounting option I guess..
I could offer this as a mounting option I guess..
- Multiwizard
- Posts: 1477
- Joined: Wed Jan 11, 2012 9:03 pm
- Contact:
Re: new to atom: ram rom mmc joystick
Hi Kees,
I was just checking the Atoms which I did this way.
The pics you showed the AtoMMC2 is soldered directly onto the Atom PCB with headers:
viewtopic.php?f=44&t=10262&p=149256&hil ... go#p123461
The version you meant are a little lower in that topic from my AtoMMC2go version:
viewtopic.php?f=44&t=10262&p=149256&hil ... go#p149255
Which do not fit underneath the top lid of the Atom.
Greetings, Wim...

Last edited by Multiwizard on Sun Jul 15, 2018 9:51 am, edited 1 time in total.
Re: new to atom: ram rom mmc joystick power
My power sockets arrived today, so I trimmed one a little and hot glued it in my ATOM to see if it is OK.
My cunning plan it to mount the MMC sticking out through where the video and power would have been (composite is through RF connector).
At first, it didn't work, which turned out to be that only one side of the board is connected to the power and I had soldered to the other (through holes don't seem to be plated).
My cunning plan it to mount the MMC sticking out through where the video and power would have been (composite is through RF connector).
At first, it didn't work, which turned out to be that only one side of the board is connected to the power and I had soldered to the other (through holes don't seem to be plated).
Re: new to atom: ram rom mmc joystick power
Great ..... here's a MMC joystick test program.
Just unpack it on the SD card and type *JOYTEST
Greetings
Kees
Just unpack it on the SD card and type *JOYTEST
Greetings
Kees
- Attachments
-
- JOYTEST.zip
- (221 Bytes) Downloaded 14 times
Re: new to atom: ram rom mmc joystick power
Just a small update,
I have a pair of Atom RAMROMs assembled, just need to get the cpld programmed, and board tested, will hopefully do that over the weekend. So hopefully you (and markdryan) should get a pm from me next week.....
Cheers.
Phill.
I have a pair of Atom RAMROMs assembled, just need to get the cpld programmed, and board tested, will hopefully do that over the weekend. So hopefully you (and markdryan) should get a pm from me next week.....
Cheers.
Phill.
- DutchAcorn
- Posts: 1982
- Joined: Fri Mar 21, 2014 9:56 am
- Location: Maarn, Netherlands
- Contact:
Re: new to atom: ram rom mmc joystick power
Too late for you I guess, but anyone needing a power connector plug that fits the original socket, just drop me a PM, I have a few spares.
Paul


Re: new to atom: ram rom mmc joystick power
Thanks oss003,
that will make checking easier.
Thanks Prime,
does it come ready for the MMC board or do I need to program some EPROMS?
Is there a list of which chips I can remove to reduce power? (assuming it is recommended).
Thanks DutchAcorn,
mine had been converted to 5V and didn't come with a PSU or connector, so I got connectors that fitted the most appropriate supply I could find
that will make checking easier.
Thanks Prime,
does it come ready for the MMC board or do I need to program some EPROMS?
Is there a list of which chips I can remove to reduce power? (assuming it is recommended).
Thanks DutchAcorn,
mine had been converted to 5V and didn't come with a PSU or connector, so I got connectors that fitted the most appropriate supply I could find

Re: new to atom: ram rom mmc joystick power
I've still not got around to doing anything with my Atom, but my current plans for the joystick are:
AtoMMC Joystick
-----------------
PB0 - Right
PB1 - Left
PB2 - Down
PB3 - Up
PB4 - Fire
PB5 - Fire 2 (could be 2nd, joy 2's fire or switchable as per my beeb SEGA adapters)
PB6 - Fire select out (this would connect to the SEGA pad to select between the two inputs sets UDLRAB/CXYZStSel IIRC)
PB7 - Joy select out (connects to a 74ls157 to swap PB0..3 to a second joystick)
I haven't looked at the correct selection of pull-ups/downs, but the levels of PB6/7 set as inputs should make the rest work as default first joystick, primary buttons.
I probably have to write a game to use this before going any further, but that may be quite a while!
AtoMMC Joystick
-----------------
PB0 - Right
PB1 - Left
PB2 - Down
PB3 - Up
PB4 - Fire
PB5 - Fire 2 (could be 2nd, joy 2's fire or switchable as per my beeb SEGA adapters)
PB6 - Fire select out (this would connect to the SEGA pad to select between the two inputs sets UDLRAB/CXYZStSel IIRC)
PB7 - Joy select out (connects to a 74ls157 to swap PB0..3 to a second joystick)
I haven't looked at the correct selection of pull-ups/downs, but the levels of PB6/7 set as inputs should make the rest work as default first joystick, primary buttons.
I probably have to write a game to use this before going any further, but that may be quite a while!