Raspberry Pi to 1MHz bus interface

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
User avatar
IanB
Posts: 386
Joined: Sun Sep 04, 2011 7:28 pm
Location: South Wales
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by IanB » Wed Apr 17, 2019 9:01 pm

Got mine thanks.
Some time ago I bought a Pi style header socket with long pins hoping that when it was fitted to this board it would allow access to the HDMI port on the Pi which would be useful for a Prisma 3 emulator (assuming that can be done in a Pi zero).
It works well although I had to shorten the pins a bit:
1mhz1.jpg
1mhz2.jpg
1mhz3.jpg
The Pi is just clear of the desk when the Master is right way up.

The socket is RS stock no. 681-6794

As the power port is also accessible you could power it with a standard micro USB power supply
Last edited by IanB on Wed Apr 17, 2019 9:03 pm, edited 1 time in total.

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Wed Apr 17, 2019 9:10 pm

nice

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Thu Apr 18, 2019 6:34 pm

Prebuilt images and source code are now on github. https://github.com/dp111/Pi1MHz . The average user just needs to copy the firmware directory to the root of an SDCARD.

Code needs some more comments and tidying ( help wanted)

If someone want to add extra peripherals and doesn't understand how to from the code please just ask. It is very simple I think

if you want to build it you will need the arm tools : https://developer.arm.com/tools-and-sof ... /downloads

I was hoping to use gitlab and may well move over in the future as it has free continuous integration, but I haven't mastered it yet.

I was thinking some kind person might put together an ADFS image which contains useful stuff e.g. M5000 , games , Tube code , econet server etc
512Mbyte LUNs is a lot of space.

Also does anyone want to try and port Bad Apple demo ? now that you can preload JIM RAM with 480Mbytes
Last edited by dp11 on Thu Apr 18, 2019 6:40 pm, edited 1 time in total.

User avatar
pixelblip
Posts: 1285
Joined: Wed Feb 04, 2015 7:19 pm
Location: London
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by pixelblip » Fri Apr 19, 2019 3:45 am

I’ll buy a couple please. This is awesome. Music 5000 at last. Just awesome. =D>

JonC
Posts: 725
Joined: Wed May 14, 2014 9:19 pm
Location: Wakefield
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by JonC » Fri Apr 19, 2019 7:16 pm

Coulod you put me down for a couple if kits if there's any left? Cheers!
Jon
Image

th3bar0n
Posts: 5
Joined: Tue Apr 26, 2016 8:33 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by th3bar0n » Tue Apr 23, 2019 6:17 pm

Hi,

Please put me down for one if not too late.

Thank you!

andrewvideo
Posts: 91
Joined: Fri Mar 08, 2019 3:18 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by andrewvideo » Wed Apr 24, 2019 12:43 pm

Can I have one please but I would like a ready built. I can’t solder to save my life. I want it for my bbc master.

Thank you

RobC
Posts: 2655
Joined: Sat Sep 01, 2007 9:41 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by RobC » Wed Apr 24, 2019 1:30 pm

andrewvideo wrote:
Wed Apr 24, 2019 12:43 pm
Can I have one please but I would like a ready built. I can’t solder to save my life. I want it for my bbc master.
If Dominic doesn't have one ready made, I have a couple of these that I've made up. Happy to bring one to Wakefield on Saturday for you and then get another kit off Dominic when they're available.

User avatar
SpaceFlightOrange
Posts: 153
Joined: Mon Jan 21, 2019 2:28 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by SpaceFlightOrange » Wed Apr 24, 2019 6:01 pm

Wow!, this is ace!

Can I have one if still available? built or kit is fine with me.

Thanks!
James

BBC Model A Issue 3 (Upgraded to Model B, had it since I was a kid), Opus Dual 40/80 FDD, Watford Mouse, Voltmace delta 14/B, Gotek, IFEL ROMRAM-B4, Pi-Zero CoPro

Master 128, VideoNuLA, Gotek

andrewvideo
Posts: 91
Joined: Fri Mar 08, 2019 3:18 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by andrewvideo » Wed Apr 24, 2019 6:41 pm

RobC wrote:
Wed Apr 24, 2019 1:30 pm
andrewvideo wrote:
Wed Apr 24, 2019 12:43 pm
Can I have one please but I would like a ready built. I can’t solder to save my life. I want it for my bbc master.
If Dominic doesn't have one ready made, I have a couple of these that I've made up. Happy to bring one to Wakefield on Saturday for you and then get another kit off Dominic when they're available.
Excellent. 😊😊

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Wed Apr 24, 2019 9:37 pm

Sorry for the silence . I'll be ordering some bits soon. I have no plans to make assembled boards, I have no issue in someone else assembling boards.

I've been busy with some other things. I can confirm my SDCARD has a read performance of 93KB/s . Write speed is much slower 33KB/s. This could possibly be improved, but will need a bit of work. I hope to release a new filesystem speed test soon.

During speed testing I did corrupt the ADFS FSmap while probing the Pizero with the scope probe. If anyone is good with recreating Harddisc FSMAP I would be interested to hear from you.

User avatar
KenLowe
Posts: 614
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by KenLowe » Wed Apr 24, 2019 11:30 pm

dp11 wrote:
Wed Apr 24, 2019 9:37 pm
If anyone is good with recreating Harddisc FSMAP I would be interested to hear from you.
I don't know if this might help...

viewtopic.php?f=3&t=2022&p=13964#p13964

Edit: Link updated 2x!
Last edited by KenLowe on Wed Apr 24, 2019 11:34 pm, edited 2 times in total.

andrewvideo
Posts: 91
Joined: Fri Mar 08, 2019 3:18 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by andrewvideo » Thu Apr 25, 2019 10:06 pm

RobC wrote:
Wed Apr 24, 2019 1:30 pm
andrewvideo wrote:
Wed Apr 24, 2019 12:43 pm
Can I have one please but I would like a ready built. I can’t solder to save my life. I want it for my bbc master.
If Dominic doesn't have one ready made, I have a couple of these that I've made up. Happy to bring one to Wakefield on Saturday for you and then get another kit off Dominic when they're available.

Thank you very much.

andrewvideo
Posts: 91
Joined: Fri Mar 08, 2019 3:18 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by andrewvideo » Thu Apr 25, 2019 10:12 pm

Is any plans to have access to ADFS harddisk other WiFi?

BobsBoard
Posts: 15
Joined: Sun Sep 30, 2018 3:51 pm
Location: North Hampshire
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by BobsBoard » Fri Apr 26, 2019 7:06 pm

Hi Dominic,

Could you kindly put me down for a couple of boards and a set of parts once they are in (and life is not in the way). I keen to have the sounds of the M5000 up and running.
may thanks,

Roger

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Mon Apr 29, 2019 6:00 pm

I've just updated the code on Github. This fixes an issues where the FIQ handler could be evicted from the cache on Pizero, which then meant it might not respond quickly enough if other internal bus activity was occuring.

I would recommend everyone to upgrade , especially if they are using the harddisc emulation.

courseddent
Posts: 8
Joined: Tue Feb 26, 2019 10:16 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by courseddent » Wed May 01, 2019 4:39 pm

Hi, could I also be put down for a kit/board if this is still possible? Many thanks!

User avatar
KenLowe
Posts: 614
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by KenLowe » Tue May 07, 2019 4:09 pm

dp11 wrote:
Wed Apr 10, 2019 7:55 pm
I'm just getting ready to do a release.
KenLowe wrote:
Thu Apr 11, 2019 5:16 pm
If you've still got any spares, a couple of full kits is definitely something I'd be interested in.

Thanks
Ken.
Have I missed out on this, or is it still a work in progress?

Thanks
Ken.

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Tue May 07, 2019 4:53 pm

Sorry been a bit snowed under. Should hopefully get back on to it at the weekend.

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Mon May 20, 2019 8:23 pm

It is clear to me that I'm a bit slow at ordering and sending out hardware kits . Does anyone want to support / take over that hardware supply? I still want to support this and future projects. If someone could take the load off me I can focus on development work.

User avatar
myelin
Posts: 708
Joined: Tue Apr 26, 2016 9:17 pm
Location: Mountain View, CA, USA
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by myelin » Tue May 21, 2019 8:26 pm

dp11 wrote:
Mon May 20, 2019 8:23 pm
It is clear to me that I'm a bit slow at ordering and sending out hardware kits . Does anyone want to support / take over that hardware supply? I still want to support this and future projects. If someone could take the load off me I can focus on development work.
Can you post the gerbers / PCB design? I'd be happy to order and post out a few of them, and write up instructions for how to get the components.
SW/EE from New Zealand, now in Mountain View, CA, making BBC/Electron hardware projects for fun.
Most interesting: Arcflash, FX2+PiTubeDirect Tube/Cartridge adapter, USB cart interface.

User avatar
Elminster
Posts: 3690
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by Elminster » Fri Jul 05, 2019 7:00 pm

Started building this and noticed in Dave’s pictures there seems to be a resistor not populated?

Also the job2.pdf opens blank for me, anyone else having that issue?
Last edited by Elminster on Fri Jul 05, 2019 7:00 pm, edited 1 time in total.

RobC
Posts: 2655
Joined: Sat Sep 01, 2007 9:41 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by RobC » Fri Jul 05, 2019 9:18 pm

Elminster wrote:
Fri Jul 05, 2019 7:00 pm
Started building this and noticed in Dave’s pictures there seems to be a resistor not populated?
That's correct - can't remember what it's for though (possibly the audio across the 1MHz bus?)
Elminster wrote:
Fri Jul 05, 2019 7:00 pm
Also the job2.pdf opens blank for me, anyone else having that issue?
Only if I try to view the pdf in a browser. It's okay in Acrobat reader.

User avatar
Elminster
Posts: 3690
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by Elminster » Fri Jul 05, 2019 9:36 pm

RobC wrote:
Fri Jul 05, 2019 9:18 pm
Elminster wrote:
Fri Jul 05, 2019 7:00 pm
Started building this and noticed in Dave’s pictures there seems to be a resistor not populated?
That's correct - can't remember what it's for though (possibly the audio across the 1MHz bus?)
Just checking. Probably forget and solder it in anyway.
Elminster wrote:
Fri Jul 05, 2019 7:00 pm
Also the job2.pdf opens blank for me, anyone else having that issue?
Only if I try to view the pdf in a browser. It's okay in Acrobat reader.
Doesn't open on Macs build in PDF viewer either, very rare that. Only a handful of pdf in the last decade. Must be something odd like a secret adobe feature that on;y works on acro reader.
Last edited by Elminster on Fri Jul 05, 2019 9:36 pm, edited 1 time in total.

dp11
Posts: 946
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by dp11 » Fri Jul 05, 2019 9:54 pm

The no fit resistor is part of a voltage divider that turned out not to be needed.

The pdf contains a 3d image that you can rotate so you need real acrobat.

User avatar
Elminster
Posts: 3690
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Raspberry Pi to 1MHz bus interface

Post by Elminster » Fri Jul 05, 2019 11:47 pm

Ah I see. I have built it without the resistor, will test it once I get chance, wading through backlog of soldering projects.

Looks like I avoided installing any adobe products this time around.

Post Reply