public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [newbie] Input to SID
@ 2003-10-22 16:30 M.Fehr
  2003-10-22 17:21 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: M.Fehr @ 2003-10-22 16:30 UTC (permalink / raw)
  To: sid

Hi,

i'm trying to get the whole picture of what sid does and doesn't do and
there are dark parts on my map that i can't light from the documentation.
The main question that bothers me now is:

-how do you get input into the running application, from a parallel or
serial port for example. I investigated the "system monitor" (tksm) and
didn't manage to manipulate any value. Is it possible to write some
user-interface in tcl/tk that somehow invokes commands on sid-components
and simulates signals?

Thanks for your help
Greetings Malte


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [newbie] Input to SID
  2003-10-22 16:30 [newbie] Input to SID M.Fehr
@ 2003-10-22 17:21 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2003-10-22 17:21 UTC (permalink / raw)
  To: M.Fehr; +Cc: sid

[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]

Hi -

On Wed, Oct 22, 2003 at 06:33:08PM +0200, M.Fehr@brunel.de wrote:
> [...]
> -how do you get input into the running application, from a parallel or
> serial port for example. 

If you are referring to the host hardware parallel or serial port,
to some extent this can be accomplished by something like the
sid-io-fileio or sid-io-stdio components.  One would tie the simulated
target UART to an instance of one of these host-side interfaces, and
configure the latter to talk to the host's /dev/ttyS1, or something
like that.  There are a few glitches like the new sid-io-fileio only
being capable of output at the moment (oops), but gazing over
sid/component/consoles, one sees that filling these gaps is not that
big a deal.


> I investigated the "system monitor" (tksm) and
> didn't manage to manipulate any value. 

You need to open a per-component view.  In that list, you'll see
all the avilable attributes.  The value fields are as editable
as the subject components let them.  Most pins are exposed as
attributes for purposes of just such interaction.

> Is it possible to write some user-interface in tcl/tk that somehow
> invokes commands on sid-components and simulates signals?

Absolutely.  See the hw-visual-tty for a two-way interactive one;
see hw-visual-clock, hw-visual-probe-pin (aka "fuzzy dice") components.


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-22 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 16:30 [newbie] Input to SID M.Fehr
2003-10-22 17:21 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).