CGA

Hi all?

Can anyone advise my any “free for not commercial propose” or GNU library
with drawing on CGA display on QNX rtp

Wow, you still have CGA video cards and monitors. The last of
mine crapped out almost a decade ago.

What kind of drawing did you have in mind? There used to be
a number of books on CGA/EGA programming. The ones I remember
always included the obvious stuff like lines, points, elipses.
Fonts are a whole different kettle of fish however.


Previously, Artem wrote in qdn.public.qnxrtp.photon:

Hi all?

Can anyone advise my any “free for not commercial propose” or GNU library
with drawing on CGA display on QNX rtp
\


Mitchell Schoenbrun --------- maschoen@pobox.com

Mitchell Schoenbrun <maschoen@pobox.com> ïèøåò â
ñîîáùåíèè:Voyager.020206161210.807D@schoenbrun.com

Wow, you still have CGA video cards and monitors. The last of
mine crapped out almost a decade ago.

It’s embedded computer with on-chip CGA video-card

Hi Artem,
I even took a look at Elan SC400’ s docu that you’d mentioned in embedded newgroup :wink:
Actually it has CGA on board! Can you run QNX RTP in text mode on that board? Do you really want to
work in graphics mode on that board? I can not imagine Photon in CGA mode (320x200 or 640x200), it
looks not very well in VGA mode (640x480 x 16 colors). I began to deal with PC when we had Colour
Hercules (like EGA), it was much better then CGA. I even don’t know there were some PC unices with
graphic features at that time. Is not the text mode and ncurses the solution for you?
Eduard.

Artem <dpartemua@atlantis.dp.ua> wrote in article <a3tbma$346$1@inn.qnx.com>…

Mitchell Schoenbrun <> maschoen@pobox.com> > ïèøåò â
ñîîáùåíèè:> Voyager.020206161210.807D@schoenbrun.com> …
Wow, you still have CGA video cards and monitors. The last of
mine crapped out almost a decade ago.

It’s embedded computer with on-chip CGA video-card
\

ed1k <ed1k@yahoo.com> ÐÉÛÅÔ × ÓÏÏÂÝÅÎÉÉ:01c1afef$23ec0740$106fa8c0@ED1K…

Hi Artem,
I even took a look at Elan SC400’ s docu that you’d mentioned in embedded
newgroup > :wink:

Thank.

Actually it has CGA on board! Can you run QNX RTP in text mode on that
board? Do you really want to
work in graphics mode on that board? I can not imagine Photon in CGA mode
(320x200 or 640x200), it
looks not very well in VGA mode (640x480 x 16 colors). I began to deal
with PC when we had Colour
Hercules (like EGA), it was much better then CGA. I even don’t know there
were some PC unices with
graphic features at that time. Is not the text mode and ncurses the
solution for you?
Eduard.

The first, CGA can’t show cyrillic fonts, because this fonts placed in ROM
memory. But I think possibly to change
this fonts as SC400 is not have try CGA adapter.
The second we need graphics for showing something (without windows, task
bar, etc.).

And a general, it’s not my idea to use photon.

Artem <dpartemua@atlantis.dp.ua> wrote in article <a3vvjq$3hd$1@inn.qnx.com>…
<…>

The first, CGA can’t show cyrillic fonts, because this fonts placed in ROM
memory. But I think possibly to change
this fonts as SC400 is not have try CGA adapter.

Your board has no pure CGA, forget CGA. And yes, you have to change fonts if you need cyrillic.
According to 21030.pdf, point 20.4.2.4 Font Buffer, you’re able to creat any fonts (also see figure
20-12 on page 20-19)

The second we need graphics for showing something (without windows, task
bar, etc.).

And a general, it’s not my idea to use photon.

Artem, any real OS (like QNXRTP) should have graphic server in order to get you ability to draw
something on screen. Fix me if I’m wrong. Photon seems to be smallest and good for embedded system.
You can use full screen mode (did you see photon’s screen savers?), you can rid of the task bar
from your Photon (shelf). But you must have Photon. Or another X server… but I don’t know any
one supported of CGA, or b/w Hercules (to me 720x348x2 looks better than any CGA mode). I have
solid image how to run DOS on that board (you’ll have a lot of low-level work to bother with
screen), but I cannot imagine how to run QNXRTP with graphics on that board, sorry. I guess you’ll
have to write your own driver for your graphic subsystem. Look at DDK.
Eduard.

ed1k <ed1k@yahoo.com> ÐÉÛÅÔ × ÓÏÏÂÝÅÎÉÉ:01c1b087$5d6a36c0$106fa8c0@ED1K…

Artem <> dpartemua@atlantis.dp.ua> > wrote in article
a3vvjq$3hd$> 1@inn.qnx.com> >…

The first, CGA can’t show cyrillic fonts, because this fonts placed in
ROM
memory. But I think possibly to change
this fonts as SC400 is not have try CGA adapter.

Your board has no pure CGA, forget CGA. And yes, you have to change fonts
if you need cyrillic.
According to 21030.pdf, point 20.4.2.4 Font Buffer, you’re able to creat
any fonts (also see figure
20-12 on page 20-19)

I know.

The second we need graphics for showing something (without windows, task
bar, etc.).

And a general, it’s not my idea to use photon.

Artem, any real OS (like QNXRTP) should have graphic server in order to
get you ability to draw
something on screen. Fix me if I’m wrong. Photon seems to be smallest and
good for embedded system.

Yes! Of corse that try. But what I must do when I nedded only show one
graphics. Imagine that I must
write programm control asynchronous engine and sometime (for debug) I want
to see graphics if current this engine.
I dont want to use photon because this requared proximate 4mb memory on hard
drive. In this case frame buffer
better.

You can use full screen mode (did you see photon’s screen savers?), you
can rid of the task bar
from your Photon (shelf). But you must have Photon. Or another X
server… but I don’t know any
one supported of CGA, or b/w Hercules (to me 720x348x2 looks better than
any CGA mode). I have
solid image how to run DOS on that board (you’ll have a lot of low-level
work to bother with
screen), but I cannot imagine how to run QNXRTP with graphics on that
board, sorry. I guess you’ll

Its worked on qnx4.25

Artem <dpartemua@atlantis.dp.ua> wrote in article <a40a31$c0c$1@inn.qnx.com>…
<…>

Yes! Of corse that try. But what I must do when I nedded only show one
graphics. Imagine that I must
write programm control asynchronous engine and sometime (for debug) I want
to see graphics if current this engine.

Very funny, see urls below :wink: I use laptop to get data in realtime, and on desktop system I have a
time to look through those data very careful. Debug is debug :wink:. I don’t use QNX for this. And our
equipment don’t use QNX. Are you using QNX to control engine?

I dont want to use photon because this requared proximate 4mb memory on hard
drive. In this case frame buffer
better.

You can access to any hardware and i/o space under qnx. You have documentation on board. Ahead!

You can use full screen mode (did you see photon’s screen savers?), you
can rid of the task bar
from your Photon (shelf). But you must have Photon. Or another X
server… but I don’t know any
one supported of CGA, or b/w Hercules (to me 720x348x2 looks better than
any CGA mode). I have
solid image how to run DOS on that board (you’ll have a lot of low-level
work to bother with
screen), but I cannot imagine how to run QNXRTP with graphics on that
board, sorry. I guess you’ll

Its worked on qnx4.25

Sorry, but this newsgroup is qdn.public.QNXRTP.photon

Cheers,
Eduard.
Visit us www.triolcorp.com
www.triolcorp.ru

Yes! Of corse that try. But what I must do when I nedded only show one
graphics. Imagine that I must
write programm control asynchronous engine and sometime (for debug) I
want
to see graphics if current this engine.

Very funny, see urls below > :wink: > I use laptop to get data in realtime, and
on desktop system I have a
time to look through those data very careful. Debug is debug > :wink:> . I don’t
use QNX for this. And our
equipment don’t use QNX. Are you using QNX to control engine?

It’s realy funy. I know that something in Ukraine maked drives but I can’t
imagine that I know how make its in this news group :slight_smile:))

Laptop is good device but what do when civilization so far?

Yes. I change my job some time ago and now I learn qnx. We used qnx 4.25
but I try to use POSIX compatible.
It’s nearest for my. (http://www.geocities.com/bondarenkoartem/index.html)

I dont want to use photon because this requared proximate 4mb memory on
hard
drive. In this case frame buffer
better.

You can access to any hardware and i/o space under qnx. You have
documentation on board. Ahead!

I know. I search some “ready for use”

to be continue in qdn.cafe