if you want to access the VME, SBUS, NuBUS or PCI directly you are going to
need a gen3 language you want C (or asm if you realy like to get dirty or C++
is you have an unhealthy obsession with mediocrity )
and probably an RTOS like LynxOS or QNX unless you want to drasticaly overpower
a linux or bsd box and use POSIX 1003.b (?) alarms and the like. Drastic
over-kill in the CPU department is fairly cheap these days. for the CPU power
you are likly to need a lowend MIPS, PPC or early 80586.
metacard may still be great choice for a front end, but i dont think it will
ever be anything other than a Gen4 language and having PEEK/POKE is
generaly inconcistant with gen4 languages.
if you were to open a pipe into the control programme, you could use MC to feed
it simple instructions.
the concept of running MC setuid root, and giving it direct access to ram scares
the hell out of me, a buffer overrun could have severe consequences.
personly i'd be more likly to go with an embeded solution, get the MachZ
x86-on-a-chip, slap the PCI card to that, and then control it via USB, Serial IO
or TCP.
It has been noted that when the only tool you have is a hammer, every problem
starts to look like a nail. I myself have been guilty of this once or twice....
RE
--------------- MESSAGE metacard.v004.n179.5 ---------------
From: "Sjoerd Op 't Land" <[EMAIL PROTECTED]>
Subject: Re: MC, PCI & MIDI
Date: Sat, 03 Feb 2001 23:03:22 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <[EMAIL PROTECTED]>
jbv wrote/ schreef:
> Hi,
>
> Is there any possibility to send / receive data
> to / from a board on a PCI slot through a
> MC script ?
I wanted to ask this very same question just when I read yours. I'm
developing driver software for DMX (a system for controlling spotlights,
lasers, stroboscopes etc.), and a PCI card is used here.
For this purpose, I have to write to and read from the card, i.e. reading
from and writing to some memory addresses.
This can be done with a DOS shell, but as you may understand, timing is a
very important thing at performances, and you can't manage that with a
shell, which is extremely slow.
> Same question about receiving / sending MIDI
> via the printer or modem ports ?
Well, I'm still searching for a neat external which controls MIDI via OMS,
but for the moment you can write bytes to the modem/ printerport with the
read and write commands:
open modem:
write numtochar(199) to modem: -- to write 199 to it
close modem:
> Thanks & Regards,
>
> JB
Hope this helps,
Sjoerd
-
Robin-David Hammond
KPL
25-8D Van Zant
Norwalk CONN USA
Gerrold's Laws of Infernal Dynamics:
(1) An object in motion will always be headed in the wrong
direction.
(2) An object at rest will always be in the wrong place.
(3) The energy required to change either one of these states
will always be more than you wish to expend, but never so
much as to make the task totally impossible.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.