Yet another Microdrive emulator...

For experts to discuss very technical stuff and newbies to ask why the Spectrum they bought off ebay doesn't work.
User avatar
Morpheus
Microbot
Posts: 124
Joined: Thu Nov 16, 2017 4:18 pm
Location: Hurworth-On-Tees, UK
Contact:

Re: Yet another Microdrive emulator...

Post by Morpheus »

xelalex wrote: Wed Oct 06, 2021 7:58 am
Morpheus wrote: Tue Oct 05, 2021 6:26 pm I wonder, have you looked at the Raspberry Pi Pico instead of the Nano?
I still have two Picos that have been loitering about my desk since I ordered them last year, that need to be put to some use. At one point during OqtaDrive development I considered switching to the Pico. I thought I had hit a performance problem that the Nano would not be able to overcome. But it turned out that after all everything was doable with the Nano.

In general it's possible to put the adapter code onto a different micro-controller. It would require a bit of tweaking though. Timing and the use of interrupts is crucial. Any reason for prefering a Pico over a Nano?
I just remember you saying that possibly the Nano was running out of headroom earlier and now I have read up on the Pico's specs and how it has more memory and more CPU power, I was pondering the idea of trying to put a Pico in my Oqtadrive as a challenge to myself.
I briefly dabbled with Arduino's and the IDE software but never really pursued it. So now I am retired I was thinking about having a go at MicroPython on the Pico to keep the grey cells ticking over. You know the old saying "Use it or Loose it" :D

The device works great as it is and this was just something I was mulling over out loud, I wasn't trying to say you should change anything.

Here are some pictures of mine built...

Image
Image
R Tape loading error, 0:1
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

BTW, I'll be showing OqtaDrive at VCFB this weekend, in a virtual exhibition. So if you want to see OqtaDrive in action or ask questions, just visit the video chat. I'll put up the link to that Saturday morning on the wiki page.

Alex
User avatar
Morpheus
Microbot
Posts: 124
Joined: Thu Nov 16, 2017 4:18 pm
Location: Hurworth-On-Tees, UK
Contact:

Re: Yet another Microdrive emulator...

Post by Morpheus »

My Oqtadrive is inside a spare Microdrive case now with a new fascia plate and the little motor gives that little extra bit of feedback when the drive is being accessed.
R Tape loading error, 0:1
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

That's great! Initially, I didn't think I'd want a standalone configuration, but by now it's my favorite setup.

BTW, VCFB is still on today. The video room of the OqtaDrive exhibition is here: https://bbb.vcfb.de/b/xel-c5e-y6s-m3u
User avatar
Morpheus
Microbot
Posts: 124
Joined: Thu Nov 16, 2017 4:18 pm
Location: Hurworth-On-Tees, UK
Contact:

Re: Yet another Microdrive emulator...

Post by Morpheus »

xelalex wrote: Sun Oct 10, 2021 10:07 am That's great! Initially, I didn't think I'd want a standalone configuration, but by now it's my favorite setup.

BTW, VCFB is still on today. The video room of the OqtaDrive exhibition is here: https://bbb.vcfb.de/b/xel-c5e-y6s-m3u
I did have a quick peek yesterday but but wasn’t able to stay as my iPad crashed continuously.
R Tape loading error, 0:1
derek
Drutt
Posts: 6
Joined: Sat May 08, 2021 6:50 pm

Re: Yet another Microdrive emulator...

Post by derek »

Hi,

I have a Raspberry Pi Zero, with no WIFI, would this work with the Oqtadrive?
Regards,

Derek
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

Hi Derek,

it would essentially work, but without a network connection it would probably not be very useful. You wouldn't be able to use the web UI, and als can't ssh into the Pi. So you need to get your Pi connected somehow. I think there are Micro USB RJ45 LAN adapters, possibly also for Wifi. They shouldn't be very expensive, so I'd try that route.

Hope that helps,
Alex
derek
Drutt
Posts: 6
Joined: Sat May 08, 2021 6:50 pm

Re: Yet another Microdrive emulator...

Post by derek »

Hi Alex,

Just looking for use of the PI Zero, probably the PiZero W is best.

I will get some PCBs ordered.
Regards,

Derek
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

BTW, if you missed VCFB earlier this month, the video streams are now available. The OqtaDrive presentation I gave is included here, starting at about 13:20 (it's in English).
User avatar
Morpheus
Microbot
Posts: 124
Joined: Thu Nov 16, 2017 4:18 pm
Location: Hurworth-On-Tees, UK
Contact:

Re: Yet another Microdrive emulator...

Post by Morpheus »

Do you think that the new Raspberry Pi Zero 2 W would work in the Oqtadrive? Given it’s a Quad core 64 Bit cpu it may run too fast. I have seen videos of it booting Raspbian a lot faster that the original Pi Zero.
R Tape loading error, 0:1
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

That should work without any problems. The timing critical stuff is all on the Nano. The Zero 2 would greatly improve boot up time, as you already pointed out, and also speed up on the fly conversion of z80 snapshots. I think [mention]TomD[/mention] is going to try a Pi Zero 2 W, so we might be hearing from him soon.
User avatar
Morpheus
Microbot
Posts: 124
Joined: Thu Nov 16, 2017 4:18 pm
Location: Hurworth-On-Tees, UK
Contact:

Re: Yet another Microdrive emulator...

Post by Morpheus »

My Pi Zero 2 W is due to arrive today but I won’t be able to test it as I glued my Microdrive case closed as I had no plans to replace my Pi Zero at the time.
I’ll need to speak to Tom about another 1.2B board and build another LOL
R Tape loading error, 0:1
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

Never call a project done... :lol:
derek
Drutt
Posts: 6
Joined: Sat May 08, 2021 6:50 pm

Re: Yet another Microdrive emulator...

Post by derek »

xelalex wrote: Sun Oct 10, 2021 10:07 am That's great! Initially, I didn't think I'd want a standalone configuration, but by now it's my favorite setup.

BTW, VCFB is still on today. The video room of the OqtaDrive exhibition is here: https://bbb.vcfb.de/b/xel-c5e-y6s-m3u
Hi,

Nice presentation of tge Oqtadrive.

I noted that you have a version of Oqtadrive installed inside Interface 1, do you have any pictures of this?
Regards,

Derek
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

Sure, here you go:

Image

Image

Image
User avatar
TomD
Manic Miner
Posts: 379
Joined: Tue Nov 13, 2018 9:47 am
Location: Leeds UK
Contact:

Re: Yet another Microdrive emulator...

Post by TomD »

xelalex wrote: Sat Oct 30, 2021 9:18 am That should work without any problems. The timing critical stuff is all on the Nano. The Zero 2 would greatly improve boot up time, as you already pointed out, and also speed up on the fly conversion of z80 snapshots. I think @TomD is going to try a Pi Zero 2 W, so we might be hearing from him soon.
Initial results, not extensive. Everything works fine, exactly as for the original Zero including the set-up scripts. Boot time is about 20% faster and loading a z80 file about 25% faster. So definitely an improvement but nothing radical. Would still recommend the v2 over original as they are pretty much the same price and time is money :-)
Retro enthusiast and author of Flynn's Adventure in Bombland, The Order of Mazes & Maze Death Rally-X. Check them out at http://tomdalby.com
User avatar
TomD
Manic Miner
Posts: 379
Joined: Tue Nov 13, 2018 9:47 am
Location: Leeds UK
Contact:

Re: Yet another Microdrive emulator...

Post by TomD »

Alex has been working on improving things further and the new version is now 4x faster at loading .Z80 snapshots on a Pi Zero 2 (multi-threaded) and loading times for the resultant carts are now loading 25% faster due to some interleaving.

Looking really good.
Retro enthusiast and author of Flynn's Adventure in Bombland, The Order of Mazes & Maze Death Rally-X. Check them out at http://tomdalby.com
User avatar
TomD
Manic Miner
Posts: 379
Joined: Tue Nov 13, 2018 9:47 am
Location: Leeds UK
Contact:

Re: Yet another Microdrive emulator...

Post by TomD »

Quick video of the improved loading speed, shows some 128k snapshots loading in seconds rather than minutes.

https://www.youtube.com/watch?v=YfL9pQgqq7c&t=6s
Retro enthusiast and author of Flynn's Adventure in Bombland, The Order of Mazes & Maze Death Rally-X. Check them out at http://tomdalby.com
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

I haven't reported about OqtaDrive's progress here for quite a while (almost a year). A lot has happened since then. An important change is that OqtaDrive has moved to a new home. The latest release is 0.3.4. If you're using OqtaDrive but did not notice the move to CodeBerg, have a look at the latest feature additions.

Happy hacking,
Alex
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Yet another Microdrive emulator...

Post by PeterJ »

@xelalex,

I use the OqtaDrive and it's brilliant! Thank you.

Being able to manage it via the web interface is amazing, as are the easy updates
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

@PeterJ Glad you like it! :D

To all OqtaDrive users: What improvements or new features would you like to see in the next releases? OqtaDrive could go in many directions from where it is today. I can't promise anything, but a bit of feedback from you would help me focus the (scarce) development time I have available on what's actually useful ;-)

Alex
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Yet another Microdrive emulator...

Post by PeterJ »

@xelalex,

It's pretty much perfect for me, but three suggestions?

Add Multiface emulation to the hardware. Snapshots etc.

I know we can drag and drop single Z80 files and they are converted with @TomD's utility, but could we add multiple Z80s to the same MDR like you can at the command line with Z80onMDR?

How about a version that plugged start into the Spectrum, rather than requiring an Interface 1?
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

PeterJ wrote: Tue Sep 13, 2022 11:49 am It's pretty much perfect for me
:D
PeterJ wrote: Tue Sep 13, 2022 11:49 am Add Multiface emulation to the hardware. Snapshots etc.
How about a version that plugged start into the Spectrum, rather than requiring an Interface 1?
I think both would go way beyond the scope I had originally set for this project. I deliberately limited myself to the Microdrive port only, so I don't see something like this happening in the near future. But who knows... :lol:
PeterJ wrote: Tue Sep 13, 2022 11:49 am I know we can drag and drop single Z80 files and they are converted with @TomD's utility, but could we add multiple Z80s to the same MDR like you can at the command line with Z80onMDR?
Interesting thought. I think that would be doable, just need to think a bit about it in terms of UI.

BTW, snapshot loading got really fast with release 0.3.3, thanks to @TomD's rework of the compression part.
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

There have been three more releases in the past three months. Here are the most important new features:

- client control - control OqtaDrive directly from your Spectrum and QL
- share the repo folder via WebDAV
- password protection for API endpoint
- support for Linino One board

...and more. All details here
User avatar
xelalex
Dizzy
Posts: 52
Joined: Sat Mar 17, 2018 6:13 pm

Re: Yet another Microdrive emulator...

Post by xelalex »

OqtaDrive 0.4.3 has been released. New features:

- ported Tom Dalby's TAP support
- added support for searching in & loading from ZXDB
- added WebDAV client - you can now also manage your repo files from within the browser
- search result pagination
Post Reply