Hmm, works on a real machine (set up a test on a fresh install this evening) but not in a virtual machine. Exact same test on both – add an extra line to the Sample Pokey Chip test script, just underneath the line “POD 6502” add the line “ include “XXX.9lc” “. Then create a new file “test.9lc” in the same directory which just contains the line “trap bad power supply NO” and then return for a blank line.
On real machine:
Where XXX = bob – fails (correct)
Where XXX = test – succeeds (correct)
On virtual machine:
Where XXX = bob – fails (correct)
Where XXX = test – fails (incorrect)
Exact compiler output:
--------------------------------
Starting process...
WARNING: Include file already exists. File may have been included
multiple times, or two files with the exact same file name may exist.
It is recommended that you give your files distictive file names.
C:\Program Files\Fluke FIDE\Scripts\Atari\Centipede\Sample Pokey Chip Test.9lc -> C:\Program Files\Fluke FIDE\Internal\Sample Pokey Chip Test.9lc (exists).
WARNING: Include file already exists. File may have been included
multiple times, or two files with the exact same file name may exist.
It is recommended that you give your files distictive file names.
C:\Program Files\Fluke FIDE\Scripts\utils\lib\pokey suite.9lc -> C:\Program Files\Fluke FIDE\Internal\pokey suite.9lc (exists).
9010A Language Compiler - Version 1.2
Copyright(c) 1983 John Fluke Mfg. Co., Inc.
Cannot open file test.9lc
Processing completed.
--------------------------------
Haven’t had a dig around in the temporary folder(s) or anything yet as I’ve spent most of the night setting up a “new” (old) PC that is going to replace the one on the workbench. Possibly I’ll get to that tomorrow as I have a day off.
At this point in time I’m just assuming it’s some quirk of Parallels Desktop for Mac. Roll on when VMWare release their product :o)
Cheers,
Martin.
On 17/8/06 02:30, "Martin White" <martin@guddler.co.uk> wrote:
Hi James,
I’ll double check in the morning as I’ve just shut it down for the night now, but I THINK that the text I listed is literally the extent of the message. About the only downside I have with running it in the virtual machine is I can’t cut and paste the code. Well, I guess I can use my webmail :o)
You’re right there’s plenty to go on there though so I’ll have a little look under the hood at the temp dirs and also check out the sample code.
I’ll let you know!
Oh, I’m not actually running with the 9010 on the iMac – it’s just more convenient to work on scripts from the comfort of the living room and then take them out to the workbench when they’re more or less ready to be put to work. Mind you, I am running the 9010 via a USB to serial adapter so I imagine I could use an iMac, but the expense of having a second iMac on the workbench would be extravagance beyond belief!!
Cheers
Martin.
On 17/8/06 02:16, "James Bright" <james@quarterarcade.com> wrote:
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