Works on my machine :-) (Actually I use it a lot because I have a lot of
libraries for specific chip tests.)
Couple of things....
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.
Since it was never tested on iMac so that's a try at your own risk ;-)
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...
Hope that gives you something to at least look at.
JB
--James Bright
www.QuarterArcade.com
Restored Arcade Games for your Home
_____
From: techtoolslist-bounces@flippers.com
[mailto:techtoolslist-bounces@flippers.com] On Behalf Of Martin White
Sent: Wednesday, August 16, 2006 8:12 PM
To: Technical Tools Mail List <techtoolslist@flippers.com>
Subject: Re: [Techtoolslist] FIDE Include files
Oops, sorry, that should read: include "mwz80.9lc" not "plc"!
On 17/8/06 01:09, "Martin White" <martin@guddler.co.uk> wrote:
Not sure if James is reading this list but I guess this is as good a place
as any to ask!
Has anyone had any problems using include files with FIDE? Specifically
v4.1.9
The following simply doesn't want to work, I just get the compile error
"Cannot open file mwz80.9lc"
Setup
exercise errors YES
include "z80.pod"
include "mwz80.plc"
I've also tried "~/mwz80.plc" and also the entire path.
The file "mwz80.plc" DOES exist and it exists in the same path as the main
script that I'm calling it from.
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.
Cheers,
Martin.
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 :)
-- Guddler's Domain http://www.guddler.co.uk
_______________________________________________
Techtoolslist mailing list
Techtoolslist@flippers.com
http://seven.pairlist.net/mailman/listinfo/techtoolslist
Received on Wed Aug 16 21:18:17 2006
This archive was generated by hypermail 2.1.8 : Wed Aug 16 2006 - 21:50:00 EDT