On Sun, 16 Oct 2011 23:06:27 +0100 (GMT Daylight Time), Jeffrey Lee wrote:

> Right, another new version:

A couple of changes to get it to compile attached (there may be a
better place than hostfs.h for my #ifdef).  However.. there seems to
be a serious problem with this version, as I only seem to be getting
as far as "RPCEmu Host Filing System" and than ArcEm freezes (or maybe
busy-loops, either way I can't quit it)

HostFS seems to be working, all the usual debug is getting chucked
out up to this point, so there might be something else wrong.  I'll
try removing my !Boot when I have a bit more time, in case that is
being troublesome.

> * Integrated the latest HostFS code from RPCEmu (including Sprow's fix for 
> files >2GB). The emulaor code needed tweaking a bit, but the support 
> modules loaded by RISC OS are identical to the RPCEmu versions (including 
> retaining the RPCEmu name!).

Can we change this?  Just to satisfy my OCD :)

Chris
--- ram:arcem-src/hostfs.h      2011-10-16 22:28:48 
+++ Files:Projects/arcem-src/hostfs.h   2011-10-17 23:44:08 
@@ -23,4 +23,9 @@ extern void hostfs(ARMul_State *state);
 extern void hostfs_init(void);
 extern void hostfs_reset(void);
 
+#ifdef __amigaos4__
+#include <sys/_types.h>
+typedef _off64_t off64_t;
+#endif
+
 #endif
--- ram:arcem-src/Makefile      2011-10-16 20:56:56 
+++ Files:Projects/arcem-src/Makefile   2011-10-17 23:41:06 
@@ -104,7 +104,7 @@ SOUND_SUPPORT=yes
 SOUND_PTHREAD=no
 SRCS += amiga/wb.c amiga/arexx.c
 OBJS += amiga/wb.o amiga/arexx.o
-CFLAGS += -mcrt=newlib
+CFLAGS += -mcrt=newlib -D__LARGE64_FILES
 LDFLAGS += -mcrt=newlib
 # The following two lines are for Altivec support via libfreevec
 # Uncomment them if you are using a G4 or other PPC with Altivec
--- ram:arcem-src/arch/filecommon.c     2011-10-16 21:46:46 
+++ Files:Projects/arcem-src/arch/filecommon.c  2011-10-17 19:40:35 
@@ -203,7 +203,7 @@ size_t File_ReadEmu(FILE *pFile,char *pB
     ret += read;
     pBuffer += read;
     uCount -= read;
-    temp = 0;
+
     if(read < count2)
       break;
   }
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
-- 
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to