Date : Tue, 28 Oct 2003 10:00:55 +0000 (GMT)
From : BBC Micro <b_b_c_m_i_c_r_o@...>
Subject: Re: XFER v4 problem
Bob,
Ok, I was a while getting back but here are my
findings:
Somewhere below is the XFER code that reads the inf
file, It says you need NAME LOAD EXEC LENGTH ( OPT4 |
ATTR | TYPE )
This is file big.inf on your Pascal disc:
$.BIG 0 0 Locked CRC= BE33
To get the file across I had to change it to:
$.big ffff0e00 ffff802b 0003ac ATTR=0 TYPE=1
The LOAD and EXEC I just made up the LENGTH I got from
looking at the file in CYGNUS editor... You can also
use "Right-Click" -> Properties and convert the size
in calculator to hexedecimal.
ALTERNATIVELY:
Load all the files into BBC Disk Explorer 2.1 (by
Laurie Whiffen) and then extract the files again....
Then send these fiels to your bbc!!!
You will need to do this to all the INF files.
Phew! Hope this helps!!!!!!!!!!!
XFER code:
if ( scan == NULL ||
sscanf(scan, "%s %lx %lx %lx %n", bbcname,
&load, &exec, &length, &nscan) != 4 ) {
printf("Problem reading attributes from INF file
%s\n", inffile) ;
return BBC_OK ;
}
do {
scan += nscan ;
while ( isspace(*scan) ) ++scan ;
if ( strncmp(scan, "Locked", 6) == 0 ) {
attr |= FILE_Not_D|FILE_Not_D_Others ;
nscan = 6 ;
} else if ( sscanf(scan, " OPT4=%d%n", &opt4,
&nscan) != 1 &&
sscanf(scan, " ATTR=%lx%n", &attr,
&nscan) != 1 &&
sscanf(scan, " TYPE=%d%n", &type,
&nscan) != 1 )
break ;
} while ( true ) ;
--- Bob Devries <bdevries@...> wrote: > See
attached
>
> ----- Original Message -----
> From: "BBC Micro" <b_b_c_m_i_c_r_o@...>
> To: "Bob Devries" <bdevries@...>
> Sent: Saturday, October 11, 2003 11:34 PM
> Subject: Re: [BBC-Micro] XFER v4 problem
>
>
> Hi Bob,
>
> Can you send me that zip file. I'll try it on my
> computer setup. I'm sure we should be able to get
> this
> thing working!!!! :)
>
>
> --- Bob Devries <bdevries@...> wrote: > >
> Where did you get the files from that you cannot
> > send.
> > > Have you tried to send any files that you have
> got
> > > over the internet?
> >
> > OK. Yep, the files I'm trying to send are files I
> > downloaded from the
> > internet.
> > For example, I have a file called 'pascal.zip'
> which
> > has all the files from
> > a BBC disk in it.
> > Already included are the INF files. For example,
> the
> > following INF file:
> >
> > C.Pascal 8000 D9CD Locked CRC= E388
> >
> > Is there something wrong with this?
> >
> > Regards, Bob Devries; Ipswich, Queensland,
> Australia
> >
> >
>
>
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk