Required: Dummies Guide for GoSDCio -> Mac

discuss PC<>Acorn file transfer issues & the use of FDC, XFER, Omniflop/disk etc.
User avatar
richardtoohey
Posts: 3378
Joined: Thu Dec 29, 2011 5:13 am
Location: Tauranga, New Zealand

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby richardtoohey » Thu Apr 23, 2015 9:08 pm

We'll get there! :D

What I found about GoSDC is that there are a lot of commands/options, etc. It's very flexible & powerful, but that means there's a lot in there.

It took me a while to work out that I only really need a fraction of them for normal use.

Also there is the figuring out of which device the SD card is going to appear on, and that varies from OS to OS.

The source code for GoSDCio is available =D> :D on John's website, so if anyone wanted to try and make a friendly GUI for it, off you go. From what I read, he asks that you only ship binaries based on his code, though. I toyed with the idea of a scripted solution (like sweh's Perl MMC work) but (a) I wouldn't be able to ship it and (b) I'd never write it, would I?

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Thu Apr 23, 2015 10:08 pm

richardtoohey wrote:The source code for GoSDCio is available =D> :D on John's website, so if anyone wanted to try and make a friendly GUI for it, off you go.


Something like that is way beyond my realm of thinking, so if anyone ever did make a user friendly GUI for it I would be in awe of them. I've just spent aound 12 hours in front of my Mac and Electron and I'm slowly understanding what I need to know for it to work for me (which is not very much to be honest).
I'm just glad that something like John's GoSDC is available and there are like-minded people on here who have such great knowledge of it all.
Cheers to everyone :D

User avatar
daveejhitchins
Posts: 3691
Joined: Wed Jun 13, 2012 5:23 pm
Location: Newton Aycliffe, County Durham

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby daveejhitchins » Thu Apr 23, 2015 10:39 pm

Just out of interest, I have, currently, three solutions for the Electron:

(1) John Kortink's GoSDC - With his cartridge adaptor. *
(2) Mark (RetroClinic) DataCenter - With an AP5. **
(3) Lotharek's HxC Floppy Emulator - Works as a first, second or both floppy drives. *

* Works with ADFS and DFS
** Works with, primarily, DFS. However, with some work and ADTs XFER you can get ADFS files through it.

Dave H :D
Parts: UM6502CE, GAL22V10D, GAL16V8D, AS6C62256A, TC514400AZ, WD1772, R6522, TMS27C512, AT28C256
Products: ARA II, ABR, ATI, AP6, MGC, AP5 . . .
For a price list, contact me at: Retro Hardware AT dave ej hitchins DOT plus DOT com

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Thu Apr 23, 2015 11:16 pm

Here you go. Knocked up a quick shell script.

You put in what you want to do to you SDCARD and it pumps out the correct syntax (I could have just got it to run it but then you would never learn the syntax!!!!)

Steps:
- save file to Mac somewhere and unzip
gosdcio.sh.zip
(1.66 KiB) Downloaded 44 times

- edit the top of the file and put in your value for the path/filename of goSDCio in the GOSDCIO="</path/filename" bit
- go into command line/terminal
- $ chmod a+x <save filename> (makes it executable to all)
- ./gosdcio.sh (to run, assuming you are in directory where the shell script is)

and select options.

"P" is quite a good one as shows what all the variables are set to at the top of the script. Could easily be expanded but only did it quickly

Enjoy

Disclaimer: It may have bugs and destroy the entire world and your PC.

User avatar
richardtoohey
Posts: 3378
Joined: Thu Dec 29, 2011 5:13 am
Location: Tauranga, New Zealand

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby richardtoohey » Thu Apr 23, 2015 11:26 pm

Elminster wrote:It may have bugs and destroy ... your PC.
I think they are mostly using Macs, so a PC destroyed is OK. :lol:

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Thu Apr 23, 2015 11:49 pm

I guess it depends if you believe Microsoft that all PCs run Windows :-)

User avatar
richardtoohey
Posts: 3378
Joined: Thu Dec 29, 2011 5:13 am
Location: Tauranga, New Zealand

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby richardtoohey » Fri Apr 24, 2015 12:32 am

I gave up fighting that battle years ago ... it's like arguing what "the Cloud" means.

These days it seems PC=Wintel, Mac=Mac to most people, and "the Cloud" means on the web.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 12:43 am

Ah but not to me, as I work for a company that does cloud offerings to companies. And doenst mean on the web as most of the clouds are private not public. Although Hybrid are becoming more popular now.

PC World used to cover Acorns as well.

Next you will be telling me that Hacker no longer mean someone that writes code for fun.

User avatar
richardtoohey
Posts: 3378
Joined: Thu Dec 29, 2011 5:13 am
Location: Tauranga, New Zealand

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby richardtoohey » Fri Apr 24, 2015 12:50 am

Elminster wrote:Next you will be telling me that Hacker no longer mean someone that writes code for fun.
Ummmm, yes, they are evil people who need to be locked up for stealing money from banks and launching nuclear missiles!

Anyway, I digress from a =D> for your script. :D

Haven't tried it yet, but will. GoSDCio compiles pretty cleanly on my OpenBSD desktop, so I want to try using in on that machine as well as my Mac.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 12:56 am

I started adding a bulk load bit for Adders but decide to go to bed instead.

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 12:19 pm

Elminster wrote:Here you go. Knocked up a quick shell script.


Thanks a lot, excellent.
I've just switched everything on and was preparing to do a test copy of a .ssd file to the SD, just to see if I remembered everything I had learned yesterday. In Terminal I got as far as entering:
sudo ./gosdcio -d/dev/disk1 -c "" -l
to list the contents of the SD card, but this error message appears:
GoSDCio 0.74 (9 February 2013), Copyright (c) Zeridajh 2004..2013

GoSDCio: fatal error: Flash card global header has wrong signature


I put the SD card back into the Electron and checked to see if anything was out of place but it appears to be working fine in the machine. I just can't get any further than that error message in the Terminal.

Has anyone seen that type of message before or know what it means?

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 12:48 pm

have you checked it is still /dev/disk1 they can be different. i.e. if you had a usb stick plug into day that wasnt yesterday?

double check with 'diskutil list'

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 12:56 pm

Hi Elminster, yes it's still the same /dev/disk1

As I have only got a handful of programs on the SD card at the moment, I might format it and start again from the beginning using SDCFO.
At least it will give me a chance to learn the process all over again

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 1:03 pm

Actually, Elminster. I double checked what you said and indeed you were correct, it's now disk2. You bloody genius!!

It's working now. I'm learning new stuff all the time here.
Thanks a million :D

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 1:07 pm

Adders wrote:Actually, Elminster. I double checked what you said and indeed you were correct, it's now disk2. You bloody genius!!

It's working now. I'm learning new stuff all the time here.
Thanks a million :D


No problem. You are only making the mistakes we have probably all made in the past.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 1:19 pm

richardtoohey wrote:I've been looking at moving some of the titles over from the Electron World DVD to my GoSDC, and you'll need to do a bit of work.

So create a directory for the files you want, and then extract and move the SSD files into that directory.

For example, I want the DFS images for Micropower titles.

The Micropower DFS zips are <some-path>/archive/micropower/hd* (ha* are the ADFS ones)

/archive/micropower/hd-adve.zip
/archive/micropower/hd-band.zip
/archive/micropower/hd-bumb.zip


Taking Richard's idea I have incorporated that into the script as well.

If you create a basedir, then separate it by a subject sub-directory then it will create a script for you based on that. So for example if you setup your directory structure like this

/archive/micropower/hd-adve.ssd
/archive/micropower/hd-band.ssd
/archive/micropower/hd-bumb.ssd
/archive/acornsoft/hopper.ssd

Then in the script choose 'Option (7) Create bulk load script for GoSDC'

Create Bulk Load Script ...
Base BulkLoad Directory> /archive/
script filename to create> mybulkload.txt

It will create a script with lines in it that look like:

ADD DFS DISC N acornsoft.hopper /archive/acornsoft/hopper.ssd

Then choose 'Option (8) Bulk load files to GoSDC (ADD script)' and it will give you the syntax to run that script against goSDC.

Check the bulkload script first. And if everything is zipped will need to be unzipped first.

Here is the updated script. I havent fully tested the syntax it spits out. But it is a start.

gosdcio.sh.zip
(1.91 KiB) Downloaded 34 times

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 1:26 pm

I'm trying to keep up with all of this :lol:
Scripts is something I've never attempted to use, although I know what they do, it's way over my head.
Funny that I aquired my Elk again after 30-odd years to maybe learn some more BASIC programming as I did in the mid eighties, but my journey back to the ELK is involving trying to get to grips with some command line code

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 1:35 pm

Easier to do Unix type scripting on Mac. Once you want to start doing stuff with GUI windows you have to muck about with Applescript. Much more complex (IMHO).

Dont have time to Learn Apple Objective C and do a GUI I'm afraid. I to have too much Acorn stuff to learn and re-learn.

Regards,
Duncan

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 1:41 pm

I think I will probably end up copying all those files over to the SD card manually, one after the other. I will probably use sudo ./GoSDCio -d/dev/disk1 -c "ADD DFS DISC N and just type the filenames in one by one.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 1:48 pm

The script doesnt run anything (it could have but left it out). It just prints the command line to use.

Just added in the bulk file creation bit.

All you need to do is

- save file to Mac somewhere and unzip
- edit the top of the file and put in your value for the path/filename of goSDCio in the GOSDCIO="</path/filename" bit
- go into command line/terminal
- $ chmod a+x gosdcio.sh (makes it executable to all)
- ./gosdcio.sh (to run, assuming you are in directory where the shell script is)

You already know how to use terminal, you can edit the GOSDCIO bit with Text from GUI, so only one new command to learn (chmod) and that is a cut and paste.

I would think if you can use Electron command line you should be able to do above.

One at a time could take hours.

But up to you.

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 1:54 pm

Ah, ok, that's more straightforward than I first thought.
I'll give that a go.
Thanks a lot :D

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 2:06 pm

...and I have it.
Brilliant! Thanks so much Duncan, I've added disc, deleted a disc and also renamed a disc with ease.
Excellent stuff

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 2:57 pm

Great. I might add some validation, comment it and anything else I can think of at some point. Useful for me as well as often forget the exact order of the syntax and have to look at my history or the doc.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Fri Apr 24, 2015 5:42 pm

Updated scripts again:

- Added 'Help' Option
- Accepts a parameter which can be disk device (script will still let you choose it)
- Validation in script on entered fields where appropriate.
- Escape back to menu in fields by hitting return

Run out of ideas now, so dont intend to do much else with it unless someone asks.

As before, download, unzip, chmod a+x gosdcio.sh and then run it.

gosdcio.sh.1.3.zip
(2.78 KiB) Downloaded 42 times

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Fri Apr 24, 2015 7:00 pm

Elminster wrote:Run out of ideas now, so dont intend to do much else with it unless someone asks.
gosdcio.sh.1.3.zip

Thanks so much Duncan. Really appreciate your work on this =D>
Matt

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Sun Apr 26, 2015 4:42 pm

All my problems have been sorted. Mr Kortink kindly pointed out to me that GoMMC Explorer does the same thing for GoSDC, which I didn't know about.
So I'm running GoMMC Explorer on a PC http://www.deqit.com/GoMMC.html

I'm sure everyone on here except me knew about this user friendly tool.

Now all I need to do is wait for the AEW disc to arrive and I'm good to go.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Sun Apr 26, 2015 5:25 pm

Thought you wanted a Mac solution. Unfortunately I dont think there is Mac version of that. Not that I have come across anyway.

To be added to someones project todo list no doubt.

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Sun Apr 26, 2015 5:34 pm

The Mac solution would have been preferable to me, for convenience, and thanks to you and others on here I can use my Mac with GoSDC. But having a version with a GUI for Windows is so straight forward that it's worth dusting off my old Windows XP laptop just to use GoMMC Explorer.

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

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Elminster » Sun Apr 26, 2015 5:45 pm

Learning objective C on the Mac is number 150 on my todo list.

GUI would be nice but I'll leave that to some one to write I think.

User avatar
Adders
Posts: 55
Joined: Wed Apr 15, 2015 8:15 pm
Location: Ireland (Born in Manchester)

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Adders » Thu May 07, 2015 6:41 pm

Hi all,
I finally got a 2GB SD card and a copy of Acorn Electron World DVD so I was able to copy all the programs from the DVD onto my SD card using GoMMC on a Windows computer.

I've been using *SDCTOOL SDCMENU to search/browse the contents of the SD card, but I decided to print out the filenames so I can glance at them on a page rather than keep doing the above command (or *SDCLIST) every time I want to see what's on the SD card.

All is going great.

I also got a copy of the Acorn Electron World Books collection DVD and it's absolutely brilliant!
There's a few book I remember either owning or borrowing from the library all those years ago.

Cheers everyone

Matt


Return to “software & utilities for the pc, mac or unix”

Who is online

Users browsing this forum: No registered users and 1 guest