<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 19 Aug 1997 20:12:21 +0200
From   : Wouter Scholten <wouters@...>
Subject: Re: bbcim emulator functions: load file etc.

Wouter Scholten wrote:
> 

> Functions are listed below. See the functions 'void list_bbc_disks(char
> *dir)' and 'void list_bbc_disks(char *dir)' in lowlevel.c for a demo and
> also look at the file 'tst.c' which is dynamically linked with libbbcim.

second one should be 'list_bbc_files' which lists all bbc files (i.e.
files with a valid .inf file) in the given dir.

As an example I compiled this in the frontend bbcim. Whenever you give a
command to this bbcim version, the program first lists all bbc disks
(i.e. files with a valid accompanying .dsk file) and bbc files in the
current dir.

I also forgot to mention the functions
'get_fileattributes_info(filename, struct bbcfile *file, int)' and 
'get_diskattributes(struct diskimage *image, int)' for emulator (and
whatever else) use.
They read the diskimage info and bbc file info from .dsk's and .inf's.

bbcim097-a20 is at  http://www.cistron.nl/~wouters/bbc/bbc-etc.html

Note that W62/DDOS/HDFS functions are not yet integrated (first two:
trivial alteration of the DFS functions) into the lib and the same goes
for DS disks (slight alteration needed to read every other track).

Wouter


<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>