Hello to everyone !
I have the need to extract files from a .DSK image to Linux fs, but I don't find around a tool for this. Also I need to detokenize Applesoft & Integer Basic files.
As someone surely guess, I want to get ASCII-readable sources of tokenized BASIC (A & I) files on Linux fs.
Hope someone can help me.
TIA
the only reason
it won't run on a Mac is because the Mac enforces a GUI on you, it has
no command line....
I have the need to extract files from a .DSK image to Linux fs, but I don't >>> find around a tool for this. Also I need to detokenize Applesoft & Integer >>> Basic files.
This is getting amusing..... almost....
He wanted to do it on Linux. So why are you pointing at software not
running on Linux, while you keep silent of a piece of software which
actually does the job on Linux: the freeware FID utility from my
Apple II page:
In article <bee3uk$1hud$1@merope.saaf.se>,
pausch@saaf.se (Paul Schlyter) wrote:
the only reason
it won't run on a Mac is because the Mac enforces a GUI on you, it has
no command line....
Mac OS X is BSD Unix. It does have a command line. I've run programs
that way. If I had a clue as to how to compile your program, I'd
probably give it a shot.
But my programming knowledge is pretty much limited to Applesoft BASIC.
This of course
reflects my own needs: I often needed to figure out on which of a
large number of .DSK images a particular file resided, but I never
felt any need to convert these files en masse to ASCII files on the
host file system.
In article <apple22-68223D.08561108072003@apollo-ge0.rdc-kc.rr.com>,
Greg Buchner <apple22@mn.rr.com> wrote:
Mac OS X is BSD Unix. It does have a command line. I've run programs
that way. If I had a clue as to how to compile your program, I'd
probably give it a shot.
To compile it, you simply type one of (assuming fid.c is in your
current directory):
cc fid.c -o fid
or
gcc fid.c -o fid
depending on the name of your C compiler (a C compiler is included in
all Unix distributions I've ever had access to).
If you give it a try, I'd like to know how it all went.
Paul Schlyter <pausch@saaf.se> wrote:
This of course
reflects my own needs: I often needed to figure out on which of a
large number of .DSK images a particular file resided, but I never
felt any need to convert these files en masse to ASCII files on the
host file system.
You may want to give MDC (Multi-Disk Catalog, part of CiderPress) a try. It'll generate listings for all disk images in a directory hierarchy
(DOS, ProDOS, CP/M, Pascal, RDOS), and automatically unpacks .gz files.
I wrote it for a similar reason: finding stuff on hundreds of floppy and
hard drive images can be a pain. Letting it run through a local copy of
an FTP archive is kind of fun.
Unlike the main CP app, MDC doesn't require registration (it's one of those "free bonus just for trying" things, so it doesn't expire).
In article <bef04c$1s28$1@merope.saaf.se>,
pausch@saaf.se (Paul Schlyter) wrote:
If you give it a try, I'd like to know how it all went.
Went well. I did have to compile (gcc) fidunix.c from your zip archive.
It compiled with no errors, I put it in the /usr/bin/ folder, made it executable, navigated to a DOS 3.3 .dsk image file and got this:...................
[Computer:Apple II Stuff/Catakig/Disks] username% fid
Usage: fid [-d] <afn1> [<anf2> ... <afnn>]
-d: dump files in disk images
[Computer:Apple II Stuff/Catakig/Disks] username% fid 'Apple Mechanic'
Apple Mechanic:
*A 015 APPLE MECHANIC
*B 018 ]WESTERN
*A 004 CHART
[Computer:Apple II Stuff/Catakig/Disks] username%
So, it works under Mac OS X. The compiled app is 34,420 bytes.
Compiled it with gcc from the Dec 2002 Developer Tools.
In article <apple22-EC1ED6.20124508072003@apollo-ge0.rdc-kc.rr.com>,
Greg Buchner <apple22@mn.rr.com> wrote:
In article <bef04c$1s28$1@merope.saaf.se>,
pausch@saaf.se (Paul Schlyter) wrote:
If you give it a try, I'd like to know how it all went.
Went well. I did have to compile (gcc) fidunix.c from your zip archive.
Yep, that's the normal procedure for free Unix applications: you get
the source, and then produce a binary for your specific Unix
platform. That's feasible on Unix, since C (and nowadays usually
also C++) compilers are always present in the standard distributions.
In article <TxQNa.150969$lK4.4235261@twister1.libero.it>,
Piergiorgio d' Errico <pgde8@libero.it> wrote:
Hello to everyone !
I have the need to extract files from a .DSK image to Linux fs, but I don't
find around a tool for this. Also I need to detokenize Applesoft & Integer Basic files.
As someone surely guess, I want to get ASCII-readable sources of tokenized BASIC (A & I) files on Linux fs.
Hope someone can help me.
TIA
Download the freeware FID utility from my Apple II page:
http://home.tiscali.se/pausch/apple2/
It comes with free C source (one single C file) and does what you
want to do. Files can be extracted in binary or ASCII form -- the
latter includes a detokenization of Basic (A & I) files.
I haven't run it on Linux yet, but it compiles and runs fine on
Free-BSD, HP-UX and AIX, so I would expect no problems on Linux.
In article <begktj$2hfp$1@merope.saaf.se>,
pausch@saaf.se (Paul Schlyter) wrote:
In article <apple22-EC1ED6.20124508072003@apollo-ge0.rdc-kc.rr.com>,
Greg Buchner <apple22@mn.rr.com> wrote:
In article <bef04c$1s28$1@merope.saaf.se>,
pausch@saaf.se (Paul Schlyter) wrote:
If you give it a try, I'd like to know how it all went.
Went well. I did have to compile (gcc) fidunix.c from your zip archive.
Yep, that's the normal procedure for free Unix applications: you get
the source, and then produce a binary for your specific Unix
platform. That's feasible on Unix, since C (and nowadays usually
also C++) compilers are always present in the standard distributions.
Yep, but was just pointing out that you said to compile fid.c when I
needed to do fidunix.c on my end.
Otherwise, happy to help and to let you know that it does work on a
properly equipped Mac.
pausch@saaf.se (Paul Schlyter) wrote in message news:<bee306$1hgi$1@merope.saaf.se>...
In article <TxQNa.150969$lK4.4235261@twister1.libero.it>,
Piergiorgio d' Errico <pgde8@libero.it> wrote:
Hello to everyone !
I have the need to extract files from a .DSK image to Linux fs, but I don't
find around a tool for this. Also I need to detokenize Applesoft & Integer >>> Basic files.
As someone surely guess, I want to get ASCII-readable sources of tokenized >>> BASIC (A & I) files on Linux fs.
Hope someone can help me.
TIA
Download the freeware FID utility from my Apple II page:
http://home.tiscali.se/pausch/apple2/
It comes with free C source (one single C file) and does what you
want to do. Files can be extracted in binary or ASCII form -- the
latter includes a detokenization of Basic (A & I) files.
I haven't run it on Linux yet, but it compiles and runs fine on
Free-BSD, HP-UX and AIX, so I would expect no problems on Linux.
How about A/UX?
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 764 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:27:56 |
Calls: | 11,275 |
Calls today: | 1 |
Files: | 5,288 |
D/L today: |
81 files (10,064K bytes) |
Messages: | 521,283 |