Required: Dummies Guide for GoSDCio -> Mac

discuss PC<>Acorn file transfer issues & the use of FDC, XFER, Omniflop/disk etc.
User avatar
daveejhitchins
Posts: 3691
Joined: Wed Jun 13, 2012 5:23 pm
Location: Newton Aycliffe, County Durham

Required: Dummies Guide for GoSDCio -> Mac

Postby daveejhitchins » Wed Sep 03, 2014 4:31 pm

Having trouble here and could use some assistance :?

I have a 13" Mac Book Pro. I'm trying to access the MMC cards I'm using in John Kortink's GoSDC. In the terminal window I have moved to the correct directory (containing the mac version of GoSDCio), I have ensured it has execute access (744).

I found the MMC card in /dev/disk3 (do I need the drive number - in this case 0: -> ?)

So my command is: GoSDCio -d/dev/disk3 -c "" -l -> However, I get a 'command not found' error!

Shame there isn't a 'front-end' for us command line virgins :shock:

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
danielj
Posts: 5347
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby danielj » Wed Sep 03, 2014 4:38 pm

1. it's case sensitive - but I assume you got that bit right.
2. Just because you're in that directory doesn't mean that the OS will see the file, if the directory's not on the path you need an explicit "./commandname", so in this case a:

./GoSDCio -d/dev/disk3 -c "" -l

:)
d.

Prime
Posts: 2346
Joined: Sun May 31, 2009 11:52 pm

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby Prime » Wed Sep 03, 2014 5:30 pm

Indeed by default most unix like systems don't search the current directory for executables, for security reasons, it helps to stop you un-intentianally running executables from non-secure directories.

Cheers.

Phill.

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 » Wed Sep 03, 2014 5:41 pm

Thanks, Daniel . . . That worked (I would have known that How? Not seen it in all my Googling!). Still a problem: I now can access the GoSDC command but it's returning: GoSDCio: fatal error: cannot access flash card at '/dev/disk3'

I've tried several variations: /dev/disk3 /dev/disc30 /dev/disk3/0: /dev/disk3 0: /dev/disk3/:0 /dev/disc3:0
/dev/disk3 :0 with no effect.

Thanks for your patience.

This is what I see when I use 'diskutil list'
MMC Disk Location.jpg
@Phill Thanks, Phill - good to know :D

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
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby sweh » Wed Sep 03, 2014 7:40 pm

daveejhitchins wrote:Still a problem: I now can access the GoSDC command but it's returning: GoSDCio: fatal error: cannot access flash card at '/dev/disk3'

If you do "ls /dev/disk3*" it'll show you the partitions.

Depending on the permissions, you might need to run it as root
eg
sudo ./GoSDCio /dev/disk3
Rgds
Stephen

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 » Wed Sep 03, 2014 7:47 pm

Stephen:

That's the one . . . Many thanks. I'm placing the path in my .Profile so I don't have to do that every time I need to use it.

Thanks again, everyone.

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
danielj
Posts: 5347
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby danielj » Wed Sep 03, 2014 7:55 pm

Dave, dump the binary in /usr/local/bin - that's the usual place to pop binaries that you install without them being package managed. Double check it's on your path though!

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 » Wed Sep 03, 2014 8:01 pm

danielj wrote:Dave, dump the binary in /usr/local/bin - that's the usual place to pop binaries that you install without them being package managed. Double check it's on your path though!

d.
I didn't have a .Profile so had to make one. Seemed easy enough - thank goodness for Google :D Even if some of the information you want is well hidden!

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
danielj
Posts: 5347
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby danielj » Wed Sep 03, 2014 8:08 pm

Back when I first started playing with UNIX (installed linux from downloaded floppies when I was 17, the web was in nappies and information was scarce!), I bought a copy of "The Complete Idiots Guide to Unix" - it's actually served me well to this day for command prompt shenanigans. I keep almost 0 of it in my head, especially the shell stuff!

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 Sep 04, 2014 9:23 am

danielj wrote:I bought a copy of "The Complete Idiots Guide to Unix"
That'll be the one for me then :lol:

Dave H :D

Edit: Is that the one by Bill Wagner or J. Leer? might as well be on the same-page :wink:
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

ptheta
Posts: 89
Joined: Mon Jul 08, 2013 8:16 pm

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby ptheta » Thu Sep 04, 2014 9:33 am

"Unix Power Tools" from O'Reilly is something of a classic Unix text. Not what you'd call cheap though.

http://www.amazon.co.uk/Unix-Power-Tool ... ower+tools

Served me well when I was at Uni. on Dec Ultrix, HP-UX, Solaris. Sad that most of them are gone now.

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 Sep 04, 2014 9:52 am

Gee, looks like I am following in Dave's footsteps!

Just got my GoSDC card today, and also using on a Mac.

So will just add what I did to get it working on my machine.

This is a Mac PowerBook, About this Mac tells me it is a MacBook Pro, Retina, 13-inch, late 2012.

To find out the disc name (this machine has an internal SD card reader) - go to Apple, About this Mac, More Info, System Report, Card Reader - and in the list of properties you see "BSD Name" - on mine it showed as disk2.

So to create an empty disc image on the card (so I can save my l33t code on the Electron):

Code: Select all

sudo ./GoSDCio.mac -d/dev/disk2 -c "NEW DFS DISC MyEmptyDisc 400K"
And job done.

Then on the Electron I can do *SDCDisc MyEmptyDisc and I have 400K of space.

To create another empty disc, on the Electron:

Code: Select all

*SDCTOOL SDCADI DN $1$ EmptyDisc
Then I can *SDCDisc EmptyDisc to switch to that disc image.

I'm using DFS just because that is what I'm used to!

EDIT: Oh, and when you put the SD card in the Mac, you'll get a warning along the lines of "The disk you inserted was not readable by this computer" and the choices are "Initialize...", "Ignore" or "Eject". "Ignore" worked best for me! :wink:
Last edited by richardtoohey on Thu Sep 04, 2014 10:29 am, edited 1 time in total.

User avatar
danielj
Posts: 5347
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby danielj » Thu Sep 04, 2014 10:16 am

daveejhitchins wrote:Edit: Is that the one by Bill Wagner or J. Leer? might as well be on the same-page :wink:


The Bill Wagner one - some of it's probably a bit dated now, but the fundamentals remain the same :)

d.

User avatar
woolly_axolotl
Posts: 43
Joined: Sun Sep 14, 2014 11:32 am

Re: Required: Dummies Guide for GoSDCio -> Mac

Postby woolly_axolotl » Sun Jan 18, 2015 4:42 pm

Hello everyone,

I was just wondering if anyone else was having this problem, or if it is just me. I have been using GoSDC quite happily for some time now. The GoSDC is working well with my electron, however I have just tried adding some new .ssd files to it on my Macbook and am getting the following message:

I type:

sudo ./GoSDCio -d/dev/disk2 -c "" -l

I get:

GoSDCio 0.74 (9 February 2013), Copyright (c) Zeridajh 2004..2013

GoSDCio: fatal error: Flash card catalogue is inconsistent with free pointer

The same message comes up when I try to add a disc as well. TBH I have no idea what this means or what to do. I am using all the same commands as ever, the only thing I have done recently is to upgrade to Yosemite. I do hope it's nothing to do with that!

Any pointers would be very welcome. I can go so far in the Terminal and then I get a bit lost. Quite annoying, I was looking forward to playing Sphinx Adventure!
Marc

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 3:19 pm

Hi everyone
I'm hoping somebody on here can help me out (or put me out of my misery :lol: )
I received the GoSDC for my Electron this morning and I've spent about 6 hours trying to figure out how to copy .ssd files to the SD Card.
I have followed John Kortink's instructions and I have managed to format the SD card on my Electron.
On screen it reads "ACP 1770 DFS" and everything appears to be in order.
However, when I came to try and "communicate" with the SD card on my Mac I can't seem to achieve anything.
I've tried doing everything I've read on these forums, plus the instructions on John Kortink's site but to no avail.
I know absolutely nothing about command line or using the Terminal so I'm just guessing.
If anybody has any suggestions about what to do I would really appreciate it.
It's just that I cant seem to find any straightforward instructions.
Thanks
Matt

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 4:43 pm

So how far have you got?

I assume you have started up a temrinal session?

Then done a 'diskutil list' to work out what where the card is living?

Then should just be a case of using the Gosdcio command as above, remembering to 'sudo' it.

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 4:48 pm

This screenshot might help
Attachments
gossdcio_mac.jpg

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 5:42 pm

I have made some progress in the last 20 minutes or so.
Not much, but it's a start.
I have finally managed to understand some basic terminal commands and what they are for (thanks to Google).
So far I have managed to create an empty disk using this code which richard toohey posted above (or in another thread): sudo ./GoSDCio.mac -d/dev/disk2 -c "NEW DFS DISC MyEmptyDisc 400K"
It worked for me.
Now, while I await the arrival of my AEW DVD, I have only one .ssd file to test out. It's Chuckie Egg, but I am still getting a "command not found" error.
I have never used Terminal before so this is all completely alien to me.

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 5:49 pm

Sorry, I meant to add, yes I worked out the location of my SD card. It's /dev/disk1 so I have been changing that as I have been copying and pasting other peoples 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 » Thu Apr 23, 2015 5:51 pm

What is the command you are using?

Bear in mind the documentation tells you to rename GoSDCio.mac to GoSDCio

So that might be why you are having issues.

EDIT: Most issues are caused by not doing the rename above (all subsequent examples assume you have renamed) and/or not using sudo.
EDIT2: Another issue would be forgetting to put the path to the GoSDCio binary
Last edited by Elminster on Thu Apr 23, 2015 5:55 pm, edited 1 time in total.

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 5:54 pm

Ah, yes I have renamed it and I have been eliminating the .mac extension.

Could you possibly tell me the syntax for adding an .ssd?

Here is what I am entering but I'm not sure how it's supposed to be typed:

GoSDCio -d/dev/disk1 -c "ADD DFS DISC N chuckie_egg ChuckieEgg.ssd"

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 5:57 pm

Adders wrote:Ah, yes I have renamed it and I have been eliminating the .mac extension.

Could you possibly tell me the syntax for adding an .ssd?

Here is what I am entering but I'm not sure how it's supposed to be typed:

GoSDCio -d/dev/disk1 -c "ADD DFS DISC N chuckie_egg ChuckieEgg.ssd"


You need to do

[sudo path/]GoSDCio -d/dev/disk1 -c "ADD DFS DISC N chuckie_egg ChuckieEgg.ssd"

e.g.

sudo ./GoSDCio -d/dev/disk1 -c "ADD DFS DISC N chuckie_egg ChuckieEgg.ssd"
or
sudo /myfiles/GoSDCio -d/dev/disk1 -c "ADD DFS DISC N chuckie_egg ChuckieEgg.ssd"

Edit './' This means file is in my current directory, used when no '.' or the full directory name in you PATH$ environment variable. Same as Unix as MACOS is Unin.
Last edited by Elminster on Thu Apr 23, 2015 5:59 pm, edited 1 time in total.

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 5:58 pm

AHA!! I just remembered you said to sudo it. Thanks a lot. I've got it!!
Thanks a million. The only way is up from here. Cheers

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 6:40 pm

I have another quick question (sorry to be a pain).
When my Electron World DVD arrives I'm going to want to add over 1000 programs to the SD card for use with the GoSDC.
Is there some kind of a script that will batch-copy them all? Or is it a case of typing the same line of code over and over?

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 7:11 pm

Gosdcio lets you pass a file name using -f parameter/switch

But the file is basically a load of "ADD DFS N destname source name.ssd"

But you could create that script with a bit of awking.

Something like

unix> cd <dvd>
unix> ls -1 | awk -F "." '{ print "ADD DFS DISC N",$1," ",$0 }' > your_hyphen_f_file.txt

Edit: That is simplistic as I expect your DVD will have sub directories

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 7:32 pm

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
/archive/micropower/hd-che2.zip
/archive/micropower/hd-croa.zip
/archive/micropower/hd-cybe.zip
/archive/micropower/hd-dang.zip
/archive/micropower/hd-draw.zip
/archive/micropower/hd-ei.zip
/archive/micropower/hd-emba.zip
/archive/micropower/hd-euro.zip
/archive/micropower/hd-fel1.zip
/archive/micropower/hd-fel2.zip
/archive/micropower/hd-fel3.zip
/archive/micropower/hd-fren.zip
/archive/micropower/hd-gala.zip
/archive/micropower/hd-gaun.zip
/archive/micropower/hd-ghou.zip
/archive/micropower/hd-gori.zip
/archive/micropower/hd-inte.zip
/archive/micropower/hd-jetp.zip
/archive/micropower/hd-juni.zip
/archive/micropower/hd-mine.zip
/archive/micropower/hd-moon.zip
/archive/micropower/hd-mpm.zip
/archive/micropower/hd-mpm2.zip
/archive/micropower/hd-posi.zip
/archive/micropower/hd-rubb.zip
/archive/micropower/hd-stoc.zip
/archive/micropower/hd-swag.zip
/archive/micropower/hd-swoo.zip
/archive/micropower/hd-wher.zip
/archive/micropower/hd-whic.zip

So if you want the DFS image of Swoop, you'll need to extract it from /archive/micropower/hd-swoo.zip, and you'll end up with HD-SWOO.ssd.

Without renaming the files, you might not end up with a particularly friendly list of disc names and files - if you script it, your script command for Swoop would end up as

ADD DFS DISC N HD-SWOO HD-SWOO.ssd

So you'd have to remember HD-SWOO is your Micropower Swoop.

Not a show-stopper, and the alternative is manually renaming a lot of files etc.

EDIT - if I get there before you, I'll post instructions on what to do!

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 7:43 pm

I think GoSDC is Brilliant, however, due to lack of use I always have the same trouble when getting things on/off the card. I don't know if it's easier under Windows (?), as I've not tried. What's needed is a link within ADFS Explorer or something similar - so the non-line-command enthusiasts can use with ease.

Is this a can-of-worms :shock:

And NO I don'e really want to learn the command line and I'm sure I'm on my own. Just looking at Richards post above makes me glaze over!

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
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 7:45 pm

daveejhitchins wrote:And NO I don'e really want to learn the command line
So tell us how you operate an Electron, then? What GUI do you use? :-k :shock: :lol:

Having said that, my GoSDC has received less use than my MMC and DC systems because it is a bit more work to copy files to/from it.

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 7:49 pm

Yup, I was expecting that, however, I learnt those commands when I had brain cells :lol: Most of which has now fled the universe, so struggle trying to relearn them :oops:

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
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 8:37 pm

Thanks a lot for all this info guys, it's a really big help.
And Dave I know what you mean about brain cells. The past few days I have been playing around with my Electron for the first time since '84/'85. I feel like I've never used a computer before, yet back then I was able to absorb lots of information. Old age is dumbing me down. Either that or it's way too much alcohol and an over-reliance on fancy operating systems with GUIs that do all the work for you.
It really does feel great to have the trusty old Elk back though after all these years. It's stood the test of time.


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

Who is online

Users browsing this forum: No registered users and 1 guest