<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [Techtoolslist] FIDE Include files</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2>Works on my machine :-) (Actually I use it a lot
because I have a lot of libraries for specific chip tests.)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2>Couple of things....</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2>FIDE uses the *original* compiler. It does this by (behind
the scenes) taking the input text file (script) and passing that to the compiler
by dynamically creating a batch file. Look in the folder called "Internal" and
you'll see a lot of these working files. At least that is where I think I put
them. It's been a good two years since I cracked open that code. At any rate,
what it does is literally insert the contents of the file where that
include statement is and then calls the compiler. Do the samples work for you? I
think the centipede sample has an include statement in it. Also, what
exactly does it say in the Messages window? You can look in that Internal
directory to see if there is a temporary file to give you a clue as
well.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial><FONT
color=#800000 size=2>Since it was never tested on iMac so that's a try at your
own risk ;-)</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2>I was going to attach the code that handles this... but
there is a lot and it probably wouldn't mean a whole lot unless you saw it all
in context. I seem to recall having to do dumb things with long file names
because the original compiler couldn't handle it. But I got it to work on the
standard winxp platform just fine...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2>Hope that gives you something to at least look at.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=390195600-17082006><FONT face=Arial
color=#800000 size=2>JB</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#800000 size=2></FONT> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>--James Bright<BR>www.QuarterArcade.com<BR>Restored Arcade Games
for your Home </FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> techtoolslist-bounces@flippers.com
[mailto:techtoolslist-bounces@flippers.com] <B>On Behalf Of </B>Martin
White<BR><B>Sent:</B> Wednesday, August 16, 2006 8:12 PM<BR><B>To:</B>
Technical Tools Mail List
<techtoolslist@flippers.com><BR><B>Subject:</B> Re: [Techtoolslist] FIDE
Include files<BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 12px">Oops, sorry, that should read: include “mwz80.9lc” not
“plc”!<BR><BR><BR>On 17/8/06 01:09, "Martin White"
<martin@guddler.co.uk> wrote:<BR><BR></SPAN></FONT>
<BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 12px">Not sure if James is reading this list but I guess
this is as good a place as any to ask!<BR><BR>Has anyone had any problems
using include files with FIDE? Specifically v4.1.9<BR><BR>The following
simply doesn’t want to work, I just get the compile error “Cannot open file
mwz80.9lc”<BR><BR>Setup<BR> exercise errors
YES<BR> include
“z80.pod”<BR> include “mwz80.plc”<BR><BR>I’ve also
tried “~/mwz80.plc” and also the entire path.<BR><BR>The file “mwz80.plc”
DOES exist and it exists in the same path as the main script that I’m
calling it from.<BR><BR>Any ideas? Not trying to do anything fancy, just
including stuff like “trap bad power supply NO” that I do virtually all the
time on all scripts. Etc.<BR><BR>Cheers,<BR>Martin.<BR>PS: I’m using FIDE on
Windows XP Pro in a Parallels Desktop virtual machine on an intel iMac but I
fail to see why that should really make much difference
:)<BR></SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 12px"><BR><BR>-- <BR>Guddler's Domain<BR><A
href="http://www.guddler.co.uk">http://www.guddler.co.uk</A><BR></BLOCKQUOTE></SPAN></FONT></BODY></HTML>