This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
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 12:20:59 -0700
- Subject: [ECOS] Ecos / MicroWindows video display question
- Reply-to: <piotrowicz at geoperception dot com>
Hi, I'm a beginner with ECOS and Microwindows so bear with me.
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.
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
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
CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT
CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL
and the proper settings for the MICROWINDOWS PACKAGE
I have also set the following option in REDBOOT, which I am not sure are
correct
CYGNUM_HAL_I386_PC_STARTUP_VIDEO_MODE = 0x0100
CYGPKG_REDBOOT_ANY_CONSOLE = FALSE
I have also set the following option in my Application, which I am not sure
are correct
CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE = TRUE
CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE = FALSE
CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_COMMS = FALSE
I have other options set but only included these cause I thought they were
the most
relevant.
Help would be appreciated, Thanks
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.]
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss