<!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 :-)&nbsp; (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>&nbsp;</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>&nbsp;</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&nbsp;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&nbsp;sample&nbsp;has an include statement in it. Also, what 
exactly does it say in the Messages window? You can look in that&nbsp;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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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 
  &lt;techtoolslist@flippers.com&gt;<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 &#8220;mwz80.9lc&#8221; not 
  &#8220;plc&#8221;!<BR><BR><BR>On 17/8/06 01:09, "Martin White" 
  &lt;martin@guddler.co.uk&gt; 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&#8217;t want to work, I just get the compile error &#8220;Cannot open file 
    mwz80.9lc&#8221;<BR><BR>Setup<BR>&nbsp;&nbsp;&nbsp;&nbsp;exercise errors 
    YES<BR>&nbsp;&nbsp;&nbsp;&nbsp;include 
    &#8220;z80.pod&#8221;<BR>&nbsp;&nbsp;&nbsp;&nbsp;include &#8220;mwz80.plc&#8221;<BR><BR>I&#8217;ve also 
    tried &#8220;~/mwz80.plc&#8221; and also the entire path.<BR><BR>The file &#8220;mwz80.plc&#8221; 
    DOES exist and it exists in the same path as the main script that I&#8217;m 
    calling it from.<BR><BR>Any ideas? Not trying to do anything fancy, just 
    including stuff like &#8220;trap bad power supply NO&#8221; that I do virtually all the 
    time on all scripts. Etc.<BR><BR>Cheers,<BR>Martin.<BR>PS: I&#8217;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>