[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can anyone extract Forth source from "f83x.sou" files?



wbaguhn@nyx10.cs.du.edu (Will Baguhn) wrote:
>In article <4uu8ev$qbu@seagoon.newcastle.edu.au>,
>Bruce R. McFarling <ecbm@cc.newcastle.edu.au> wrote:
>>	On the main forth archive, at the http://taygeta.com site,
>>there is a directory in the Forth ftp archives for "apple2" files,
>>and on the site are two files, "f83x.sou" and "f83x.uti".  This is
>>supposed to be a 6502-based extended version of the F83 system.
>>I had been told by someone a while back that they were Apple2
>>disk images -- all I know is that I don't know how to get at the
>>source code that is apperently stored in "f83x.sou".
>>	How would a "disk image" be stored?  How would I know
>>that that is what it really is?  And does anybody think they
>>might be able to translate the files into a more accessible
>>form?
>
> A disk image is a file that is a copy of a disk.  Essentially, all
> data is read off the disk and dumped directly to a file.  No
> translation involved, except perhaps re-ordering the blocks on
> the disk.
>
> For forth source code, i'm guessing it would be in forth block 
> format.

	I think it is the assembly language source *of* the forth, 
rather than source *for* the forth, in which case it would be in 
whatever format the assembler would expect.  But it could be in 
blocks (say, to assemble itself, or to cross-compile from the 
PC-based F83 to the Apple II).


>You'd need to find the offset into the image file that the blocks 
>start at, then it should be a simply matter of reading in 1024 bytes
>at a time and dumping them in 64 characters per line format to a plain
>text file.

	OK. Where would the directory tracks be in an Apple II disk 
image, and what would they mean?

-- 
Virtually,

Bruce R. McFarling, Newcastle, NSW
ecbm@cc.newcastle.edu.au