<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 18 Aug 1997 23:25:51 +0200
From   : Wouter Scholten <wouters@...>
Subject: bbcim emulator functions: load file etc.

Hi all,

bbcim 0.97 a20 features:
-  .dsk used when found
- -DFS/ADFS/DDOS/W62/HDFS -DS/SS extra options in case you want to
specify the type without a .dsk
-  ADFS works nicely with all sub options of -e, -c works too. use the
extra option -ADFS if you haven't got a .dsk file.
- find_file, get_catalogue entry, load_file etc works
  (there's a bit of junk output to stdout from the disk_cat_extract_crc
function but that will be cleaned up soon). Adding files and writing cat
entries should be finished this week.

OK Dave, if you got your rom ready, have a go!

It would be nice to be able to use this rom from other emu's too, so all
of them can use all fileformats through libbbcim.

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.

Wouter


/* LOW LEVEL */
int  d_read_first_catalogue_entry(struct diskimage *image, struct
bbcfile *file);
int  d_read_catalogue_entry(struct diskimage *image, struct bbcfile
*file);
int  d_write_catalogue_entry(struct diskimage *image, struct bbcfile
*file); /* NOT YET IMPL*/
int  d_read_first_file(struct diskimage *image, struct bbcfile *file,
byte *data);
/*read_file =read file with name file->naam */
int  d_read_file(struct diskimage *image, struct bbcfile *file, byte
*data);
int  d_read_next_file(struct diskimage *image, struct bbcfile *file,
byte *data);
int  d_write_file(struct diskimage *image, struct bbcfile *file); /* NOT
YET IMPL*/


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