[Coco] OS-9 128MB max hard drive - /sd1
Gene Heskett
gheskett at wdtv.com
Fri Jan 23 12:44:16 EST 2015
On Friday 23 January 2015 09:57:39 Allen Huffman did opine
And Gene did reply:
> > On Jan 23, 2015, at 6:57 AM, Philip Zeigler <philip at zeiglers.net>
> > wrote:
> >
> > If I use /sd1, I get Error #244 Read Error. I just did a fresh pull
> > from the repository and did a make clean make dskcopy so I am
> > definitely using the most current build.
>
> From my experiments last night ... The #244 is what is returned when it
> tries to read sectors that are not in the file. By default, SDC-DOS
> makes a 156K file. OS-9 writes out whatever it takes to format, but
> the rest of the file does not exist so anything that seeks past the
> end of the file returns #244. I used dEd to verify this.
>
> I need a way to expand the file from OS-9. Sadly, my BASIC09 and
> assembly attempts have not been successful.
>
> -- A
Basic09 is probably the easiest wat to do it. Check the bits in the open
perms, you want read+writ=update. Then you should be able to write past
the end of the current file.
Subject to the disk size spec'ed in the descriptor of course.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
More information about the Coco
mailing list