This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Ecos / MicroWindows video display question
- From: "Tom Piotrowicz" <piotrowicz at geoperception dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 7 Jul 2003 16:42:09 -0700
- Subject: RE: [ECOS] Ecos / MicroWindows video display question
- Reply-to: <piotrowicz at geoperception dot com>
If you are not implementing MicroWindows are you
using SVGALib, some other library or did you write your own??
Is it possible to use SVGALib??
Tom Piotrowicz
Senior Software Engineer
piotrowicz@geoperception.com
GeoPerception Inc.
"Internet is so big, so powerful and pointless that for some people it is a
complete substitute for life." - Andrew Brown
[The thoughts, ideas and opinions expressed herein are mine and not
neccessarily shared by Geoperception Inc.]
-----Original Message-----
From: David N. Welton [mailto:davidw@dedasys.com]
Sent: Monday, July 07, 2003 12:58 PM
To: piotrowicz@geoperception.com
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Ecos / MicroWindows video display question
"Tom Piotrowicz" <piotrowicz@geoperception.com> writes:
> Hi, I'm a beginner with ECOS and Microwindows so bear with me.
You don't necessarily need microwindows to do graphical output.
> I am experimenting with ECOS and Microwindows on PC x86 and I am
> unclear on some things, with regards to communication channels and
> video modes.
> I have successfully built a floppy version of Redboot and can load a
> "hello world" program in the debugger and debug it onthe target, but
> I cannot set the video mode properly. I am setting the VGA mode in
> Redboot to 0x100 and trying to read the video display properties
> using the GFXMODE.C example code.. but I don't get any valid data,
> so I am assuming that it is a configuration issue.
I wasn't able to obtain anything interesting with gfxmode.c either,
although I was able to get mode 0x112 running quite nicely.
> What I would like to do is communicate with the Target PC using a
> COM port and draw VGA graphics on the Target screen. I am unclear
> to as to how many communications channels I need to specify -> 2 or
> 3
Well, 3 means that you want to use the pcmb screen, which would be
difficult if you also want an svga mode. So maybe 2, and then use a
null serial cable.
> and how to set the rest of the options in both Redboot ECOS config
> and my applications ECOS config.
> Basically looking for suggested values of:
> CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS
2
> CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT
Depends on which serial port you are using.
> CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL
> and the proper settings for the MICROWINDOWS PACKAGE
Depends what you aim to do. Don't know much about it myself.
I'll let the real experts answer the rest. Hope I was able to shed a
bit of light on the situation.
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss