/* * Copyright 1987 Alan Kent * * Permission is granted to redistribute this code as long * as this message is retained in the code and the code is * not sold without written permission from the author. * * UUCP: {seismo,hplabs,mcvax,ukc,nttlab}!munnari!goanna.oz!ajk * ACSnet: ajk@goanna.oz * ARPA: munnari!goanna.oz!ajk@SEISMO.ARPA */ #include "hd.h" static UBYTE cache[ HD_SECTOR ]; void clear_all () { } void flush_all () { } int init_cache () { } void free_cache () { } UBYTE * read_cache ( posn ) struct posn *posn; { read_sector ( posn , cache ); return ( cache ); } void write_cache ( posn , buf ) struct posn *posn; UBYTE *buf; { write_sector ( posn , buf ); }