From 6769e6a99fef89f24dc8fe3a7a34eae8fb78f3cf Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 27 Mar 2010 14:46:08 +0000 Subject: [PATCH] - Moved PFS header from Apple2 directory to 6502 directory as we're going to have other PFS implementations. - Completed declarations. --- {platform/apple2enh => cpu/6502}/lib/pfs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename {platform/apple2enh => cpu/6502}/lib/pfs.h (91%) diff --git a/platform/apple2enh/lib/pfs.h b/cpu/6502/lib/pfs.h similarity index 91% rename from platform/apple2enh/lib/pfs.h rename to cpu/6502/lib/pfs.h index cdc6d90ce..21e1364b8 100644 --- a/platform/apple2enh/lib/pfs.h +++ b/cpu/6502/lib/pfs.h @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: pfs.h,v 1.2 2009/09/13 19:07:34 oliverschmidt Exp $ + * $Id: pfs.h,v 1.1 2010/03/27 14:46:08 oliverschmidt Exp $ */ #ifndef __PFS_H__ @@ -39,6 +39,8 @@ int __fastcall__ pfs_open(const char* name, int flags); void __fastcall__ pfs_close(int fd); int __fastcall__ pfs_read(int fd, void* buf, unsigned int len); +int __fastcall__ pfs_write(int fd, void* buf, unsigned int len); int __fastcall__ pfs_seek(int fd, int offset, int whence); +int __fastcall__ pfs_remove(const char *name); #endif /* __PFS_H__ */