Cheap SD/MMC Readers

discuss both original and modern hardware for the bbc micro/electron
melchett
Posts: 478
Joined: Tue Jan 28, 2003 9:52 am
Contact:

Re: Cheap SD/MMC Readers

Post by melchett »

Looks good - thank you \:D/
User avatar
danielj
Posts: 9900
Joined: Thu Oct 02, 2008 5:51 pm
Location: Manchester
Contact:

Re: Recent Developments MMFSv1, MMFSv2 and Adapters

Post by danielj »

Wheel_nut wrote: Mon Feb 01, 2021 4:49 pm This post is work in progress so please PM me if you spot any errors or omissions.
Probably worth noting that there's a distinct difference between using the gotek as a floppy emulator (which is its primary function) and using it as an mmc-alike. DUTILS etc are really only relevant for the later, when using Tricky's menu (which is self contained, so it doesn't really ever come to the fore). If using it as a straight floppy emulator, you can store your images in directories on the USB stick, and it supports protected/double sided disk images etc.
User avatar
Wheel_nut
Posts: 764
Joined: Wed May 01, 2019 1:46 pm
Location: West of Scotland
Contact:

Re: Recent Developments MMFSv1, MMFSv2 and Adapters

Post by Wheel_nut »

danielj wrote: Sun Feb 21, 2021 4:42 pm
Wheel_nut wrote: Mon Feb 01, 2021 4:49 pm This post is work in progress so please PM me if you spot any errors or omissions.
Probably worth noting that there's a distinct difference between using the gotek as a floppy emulator (which is its primary function) and using it as an mmc-alike. DUTILS etc are really only relevant for the later, when using Tricky's menu (which is self contained, so it doesn't really ever come to the fore). If using it as a straight floppy emulator, you can store your images in directories on the USB stick, and it supports protected/double sided disk images etc.
Hi Daniel,

I am not sure that I understand your point. The purpose of my table is in the Context of the Thread header which is "Cheap SD/MMC Readers". I agree with you that the Gotek as a Floppy Drive emulator is capable of much more than is facilitated by connection to a 8271/ 177n Disk Interface and driven by DFS/ ADFS.

Tricky's *DIN and *DBOOT Utilities make the Gotek much more usable as a File repository and (IMHO) it really could do with a *DCAT when using it outside Tricky's Menu environment.

I am not aware of any mechanism for switching/ reading/ writing data into Folders (Directories in the DOS Context) when accessing disk images on a Gotek. Yes, an SSD may contain a DFS prefix subdirectory but the *DDIR selectable (DOS) Folder structure on the USB Stick/ SD Card is only accessable on MMFSv2. ... unless I am missing something and I would love to know how to do this.

Please let me know if there is something specific that you would like me to amend i the post. I use all three forms of storage devices on my Beebs so have no wish to discredit any of them.

Robin
Like Life, the Beeb is about the Journey, not the Destination
BBC B Issue 7 + 1770 DFS + Dual Floppy; MMFSv2 & 4x16K SWRAM
BBC B Issue 7 + 8271 DFS + Dual Floppy + Speech
BBC B Issue 7 + 8271 DFS + Floppy + PiTubeDirect on KenLowe's Tube Level Shifter
User avatar
danielj
Posts: 9900
Joined: Thu Oct 02, 2008 5:51 pm
Location: Manchester
Contact:

Re: Cheap SD/MMC Readers

Post by danielj »

Oops, sorry Robin, I meant to stick that in a PM! - I think I was really just pondering that I don't consider a gotek to really be an MMC system (unless you decide to use it with Tricky's menu) - it's sort of like comparing apples/oranges in my mind. So some things that are perceptibly drawbacks when comparing it in that context, aren't in actual use as you don't tend to use it like that. If that makes sense?

d.
User avatar
Wheel_nut
Posts: 764
Joined: Wed May 01, 2019 1:46 pm
Location: West of Scotland
Contact:

Re: Cheap SD/MMC Readers

Post by Wheel_nut »

Hi Daniel,

Yes, I fully agree that the Gotek is not a directly comparable device but it is one of the most common modern alternatives to the Floppy Disk legacy storage that existed when the Beeb was conceived.

The discussion of which storage device to use comes up frequently in these fora and my intention was to try and illustrate the pros and cons of each of the three alternatives.

I am happy to edit the post or the table if you consider it to be misleading or inaccurate.

I have no problem with discussing this openly in this thread. - Robin

Edit: p.s. Even though they are completely different devices, with the elimination of the .MMB capsule, MMFSv2 is now functionally overlapping into the Gotek and Floppy Disk Drive territory - R
Like Life, the Beeb is about the Journey, not the Destination
BBC B Issue 7 + 1770 DFS + Dual Floppy; MMFSv2 & 4x16K SWRAM
BBC B Issue 7 + 8271 DFS + Dual Floppy + Speech
BBC B Issue 7 + 8271 DFS + Floppy + PiTubeDirect on KenLowe's Tube Level Shifter
User avatar
Wheel_nut
Posts: 764
Joined: Wed May 01, 2019 1:46 pm
Location: West of Scotland
Contact:

Using MMFSv2

Post by Wheel_nut »

I am posting my document detailing my experience of setting up and using MMFSv2 here in response to questions raised in several threads on this board.

Mark, I have posted it here because this is a Sticky thread and I can easily point users to it. If there is somewhere more appropriate to place it, please feel free to move it or if it breaks forum protocol, please delete it.

I also attempted to attach a zip if the SD Card that I use, containing the STH and Tricky Games libraries but it is too large. :(

Robin
Attachments
BBC Micro-Using MMFSv2.pdf
(1.15 MiB) Downloaded 133 times
Like Life, the Beeb is about the Journey, not the Destination
BBC B Issue 7 + 1770 DFS + Dual Floppy; MMFSv2 & 4x16K SWRAM
BBC B Issue 7 + 8271 DFS + Dual Floppy + Speech
BBC B Issue 7 + 8271 DFS + Floppy + PiTubeDirect on KenLowe's Tube Level Shifter
User avatar
tricky
Posts: 7694
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Cheap SD/MMC Readers

Post by tricky »

Your table could do with a few updates :) and possibly adding beebscsi or the 1mhz pi version.

Goteks can be fitted internally or I believed under the beeb for the newer smaller ones.

I thought MMFS supported multiple .mmb files chained together.

smartspi supports multiple .mmb files that it can swap between and has the simplicity of one ROM fits all. BUT does have a write incompatibility with a couple of very old small cards.

You can get my menu and disc images for all three solutions from the top of its thread viewtopic.php?p=221136#p221136
User avatar
Wheel_nut
Posts: 764
Joined: Wed May 01, 2019 1:46 pm
Location: West of Scotland
Contact:

Re: Cheap SD/MMC Readers

Post by Wheel_nut »

Hi Tricky, Yes, I agree that the table I posted in 2021 could do with updating to include developments since then but having no experience of beebscsi or the 1mhz Pi version, I am not best placed to do this.

I have considered updating the table to show Dave's development of MMFS to cope with > 511 Disks but would also have to update the developments with Gotek technology which I have not dabbled with. Also, I should apologise to Duikkie for not including SmartSPI in the Table :oops:

Thank you for posting the linky to your repository. I still believe that it would be beneficial to have a Sticky with links to these repositories which too quickly disappear down the list (pages) of these Boards.

Keep up the good work in supporting all three platforms. - Robin
Like Life, the Beeb is about the Journey, not the Destination
BBC B Issue 7 + 1770 DFS + Dual Floppy; MMFSv2 & 4x16K SWRAM
BBC B Issue 7 + 8271 DFS + Dual Floppy + Speech
BBC B Issue 7 + 8271 DFS + Floppy + PiTubeDirect on KenLowe's Tube Level Shifter
MolMagMan
Posts: 23
Joined: Mon Dec 28, 2020 12:22 am
Location: United Kingdom
Contact:

Re: Using MMFSv2

Post by MolMagMan »

Wheel_nut wrote: Wed Sep 07, 2022 4:04 pm I am posting my document detailing my experience of setting up and using MMFSv2 here in response to questions raised in several threads on this board.

Mark, I have posted it here because this is a Sticky thread and I can easily point users to it. If there is somewhere more appropriate to place it, please feel free to move it or if it breaks forum protocol, please delete it.

I also attempted to attach a zip if the SD Card that I use, containing the STH and Tricky Games libraries but it is too large. :(

Robin
This is brilliant Robin. Exactly what I was looking for! ♥️
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: Cheap SD/MMC Readers

Post by fizgog »

Just come across this site selling a Master SD Cartridge

http://ramtop-retro.uk/mastersd.html

Does anyone have one and is it any good for use with the Master?
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
danielj
Posts: 9900
Joined: Thu Oct 02, 2008 5:51 pm
Location: Manchester
Contact:

Re: Cheap SD/MMC Readers

Post by danielj »

fizgog wrote: Sun Apr 30, 2023 12:59 pm Does anyone have one and is it any good for use with the Master?

For the Master, as it has a built in disc interface, the most compatible and ultimately easiest thing to use is a gotek floppy emulator with the flashfloppy firmware installed on it. You can get a very basic gotek and DIY is for probably around £30 or a bit less, or get them ready flashed with OLED display and rotary encoder for about £40: https://www.ebay.co.uk/itm/125672833445 or with all the cables for the beeb (basically a power cable and straight through ribbon cable) for about £70 if retroclinic is currently doing them. You can just use a PC floppy cable (use the connectors before the twist) and get 5V from wherever you like to power the gotek - doesn't need to be BBC or Master specific.

The benefit of going this route is that you're using the native disk systems, and so far as the computer is concerned it's using a normal floppy drive. You just drop ssd or dsd or adfs images straight onto a USB stick and you're good to go.
User avatar
Wheel_nut
Posts: 764
Joined: Wed May 01, 2019 1:46 pm
Location: West of Scotland
Contact:

Re: Cheap SD/MMC Readers

Post by Wheel_nut »

I have updated the MMFSv2 v MMFSv1 v Gotek comparison table on Page 1 of this thread to show further developments to MMFSv2 ans MMFSv1 since the Table was published here.

- Robin
Like Life, the Beeb is about the Journey, not the Destination
BBC B Issue 7 + 1770 DFS + Dual Floppy; MMFSv2 & 4x16K SWRAM
BBC B Issue 7 + 8271 DFS + Dual Floppy + Speech
BBC B Issue 7 + 8271 DFS + Floppy + PiTubeDirect on KenLowe's Tube Level Shifter
electron_plus40
Posts: 21
Joined: Wed Jul 05, 2023 12:07 am
Contact:

Re: Cheap SD/MMC Readers

Post by electron_plus40 »

I decided to try and make my own SD reader on the cheap, with encouragement from Adrian's Digital Basement - BBC Master mods and improvements.

I picked up a "Micro SD TF Memory Card Reader Module with SPI interface For Arduino" (multiple sellers) from ebay for less than US$1. A pack of 6 20 pin ribbon cables for US$9 and used some dupont wires for US$7 (120 pcs, I used 7 male to female, and only for testing, won't be needed for the final build.)

Behold, my franken-SD reader. It does work with Master MMFSv1 though. I did flash an EPROM with that, but those I had already, so technically free.

The pinout I used is based on the github MMFS page plus VCC which isn't specifically called out there, but the linked archive.org page (for mmbeeb) does show it:

SD Board <> User Port

CS -> 19
SCK -> 2 and 8
MOSI -> 6
MISO -> 4
VCC -> 1
GND -> 15

I'll probably just cut one of the 20 pin ribbon cables in half (or less) and solder that directly on to the SD reader and stick the whole thing to the underside of the M128.
Attachments
20230813_222422.jpg
User avatar
tricky
Posts: 7694
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Cheap SD/MMC Readers

Post by tricky »

Nice, I made plenty worse in the early days.
User avatar
danielj
Posts: 9900
Joined: Thu Oct 02, 2008 5:51 pm
Location: Manchester
Contact:

Re: Cheap SD/MMC Readers

Post by danielj »

electron_plus40 wrote: Wed Aug 16, 2023 4:12 am I decided to try and make my own SD reader on the cheap, with encouragement from Adrian's Digital Basement - BBC Master mods and improvements.
Excellent! :) Saved many £ and also the satisfaction of having done it yourself!
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Cheap SD/MMC Readers

Post by DaveLecky »

Hi Electron Plus40,

When you get to work on your electron/plus1 you can try this neat trick…on the Printer port.

IMG_3374.jpeg
IMG_3374.jpeg (59.94 KiB) Viewed 2157 times

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
electron_plus40
Posts: 21
Joined: Wed Jul 05, 2023 12:07 am
Contact:

Re: Cheap SD/MMC Readers

Post by electron_plus40 »

DaveLecky wrote: Wed Aug 16, 2023 10:10 am Hi Electron Plus40,

When you get to work on your electron/plus1 you can try this neat trick…on the Printer port.
This is definitely happening!
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Cheap SD/MMC Readers

Post by DaveLecky »

Here is the link I used for info to achieve this

viewtopic.php?p=163755#p163755

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
JonnoW
Posts: 61
Joined: Wed Sep 28, 2022 9:06 pm
Contact:

Re: Cheap SD/MMC Readers

Post by JonnoW »

Has anyone else noticed that Elite appears to be fully compatible with SmartSPI, but suffers from Bad command errors and crashes using even the most recent versions of MMFS? Is this something that is easily solved? If so, how?
Thanks
User avatar
hoglet
Posts: 12663
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Cheap SD/MMC Readers

Post by hoglet »

JonnoW wrote: Sun Sep 24, 2023 2:18 pm Has anyone else noticed that Elite appears to be fully compatible with SmartSPI, but suffers from Bad command errors and crashes using even the most recent versions of MMFS? Is this something that is easily solved? If so, how?
This issue has been mentioned before, but no one has actually filed an issue in github for this.

I've had a quick look this afternoon, and as far as I can see, this just affects the AC3-r1-0 disk image that's included in the STH Archive BEEB.MMB file. I don't see the same issue with any other versions of BBC B Disk Elite, for example, both the versions linked here work fine:
https://www.bbcelite.com/disc/releases.html

That AC3-r1-0 disk image combines together several different games, and seems to include a custom loader (BOOT) and additional files (ELITE5 and ELITE6) that are not present on any of the other versions.

I've run it through the debugger, and what seems to be happening is the additional loader code is clobbering the disk catalog (at RAM &E00-&FFF), so that when it eventually executes the command *R.D.CODE, and MMFS looks for the file CODE in the directory D, then it can't find that in the RAM copy of the catalog, hence the Bad Command error.

The reason it works with SmartSPI is that's based on an older version of DFS, which doesn't rely on the RAM copy of the catalog quite as much. I think with early DFS versions the catalog is reloaded on every command (if the disk is not still spinning).

I suspect if you tried to use that specific disk image with Acorn's 1770 DFS 2.26 and a real floppy you might hit the same problem.

So I think this boils down a bad/buggy conversion of the game included in that BEEB.MMB file.

There is not an easy fix for this in MMFS, because it's really the game that is at fault, so all I can suggest is using one of the other disk images, use the sideways RAM version of MMFS, or stick to SmartSPI.

BTW, there is lots more information about the different versions of Elite here:
- A definitive comparison of Elite versions

I think most people who a playing Elite seriously use the Tube version, as this allows loading and saving of commanders to disk.

Dave
JonnoW
Posts: 61
Joined: Wed Sep 28, 2022 9:06 pm
Contact:

Re: Cheap SD/MMC Readers

Post by JonnoW »

Thanks for the info Dave.
Post Reply

Return to “8-bit acorn hardware”