Re: FIDE Include files

From: Martin White <martin_at_guddler.co.uk>
Date: Thu Aug 17 2006 - 18:32:59 EDT

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

_______________________________________________
Techtoolslist mailing list
Techtoolslist@flippers.com
http://seven.pairlist.net/mailman/listinfo/techtoolslist
Received on Thu Aug 17 18:33:21 2006

This archive was generated by hypermail 2.1.8 : Sun Aug 27 2006 - 07:50:00 EDT