www.digitalmars.com         C & C++   DMDScript  

c++.dos - Zinc Interface Library and DMC success

reply "Javier Gutiérrez" <nikkho NOSPAM hotmail.com> writes:
    I want to inform the group that  I have been able to use the Zinc
Interface Library 3.0 with DMC 8.29 using the Zortech C++ 3.0 libraries
included.

    I have been able to compile all the tutorial and the samples, and also
some tests I have written.

    Unfortunatelly this version of ZIL only support real mode applications,
which limites a lot its utility.

    As far as I know, Zinc Application Framework 4.0, 4.1 and 4.2 also
supports protected mode applications, but I have been unable to get it.
Sep 05 2002
parent reply Roland <rv ronetech.com> writes:
"Javier Gutiérrez" a écrit :

     I want to inform the group that  I have been able to use the Zinc
 Interface Library 3.0 with DMC 8.29 using the Zortech C++ 3.0 libraries
 included.

     I have been able to compile all the tutorial and the samples, and also
 some tests I have written.

     Unfortunatelly this version of ZIL only support real mode applications,
 which limites a lot its utility.

     As far as I know, Zinc Application Framework 4.0, 4.1 and 4.2 also
 supports protected mode applications, but I have been unable to get it.
There is the sources isn't it ? If yes, i will try to have a look on it. Changing it so that it works with DOSX may not be a big deal. Just it can take some time .. roland
Sep 06 2002
parent reply "Javier Gutiérrez" <nikkho NOSPAM hotmail.com> writes:
    Yes, there are the sources available. You can get it at ftp.jak.nl


"Roland" <rv ronetech.com> escribió en el mensaje
news:3D7859B8.8F0EBAF9 ronetech.com...
 "Javier Gutiérrez" a écrit :

     I want to inform the group that  I have been able to use the Zinc
 Interface Library 3.0 with DMC 8.29 using the Zortech C++ 3.0 libraries
 included.

     I have been able to compile all the tutorial and the samples, and
also
 some tests I have written.

     Unfortunatelly this version of ZIL only support real mode
applications,
 which limites a lot its utility.

     As far as I know, Zinc Application Framework 4.0, 4.1 and 4.2 also
 supports protected mode applications, but I have been unable to get it.
There is the sources isn't it ? If yes, i will try to have a look on it. Changing it so that it works with DOSX may not be a big deal. Just it can take some time .. roland
Sep 06 2002
parent reply Roland <rv ronetech.com> writes:
"Javier Gutiérrez" a écrit :

     Yes, there are the sources available. You can get it at ftp.jak.nl
got them. just i have to copy them on a floppy to install and have a first look. if you want to work to port zinc to DOSX here is some guidelines (sorry if you already know them): - find pointer calculation: there is no more segment on DOSX pointers, only offset, - find pointers returned by dos/bios: they are real mode pointers and need to be converted. most of those pointer are passed to/returned by int 21h (dos), int 10h (bios, video, notably vesa), int 33h mouse. also there must be somewhere a pointer on bios data area: 0x0040:0000 (real mode addresse) most of the work will be to find those pointer. the good news is that if you forget one, it crash immédiately .. roland
 "Roland" <rv ronetech.com> escribió en el mensaje
 news:3D7859B8.8F0EBAF9 ronetech.com...
 "Javier Gutiérrez" a écrit :

     I want to inform the group that  I have been able to use the Zinc
 Interface Library 3.0 with DMC 8.29 using the Zortech C++ 3.0 libraries
 included.

     I have been able to compile all the tutorial and the samples, and
also
 some tests I have written.

     Unfortunatelly this version of ZIL only support real mode
applications,
 which limites a lot its utility.

     As far as I know, Zinc Application Framework 4.0, 4.1 and 4.2 also
 supports protected mode applications, but I have been unable to get it.
There is the sources isn't it ? If yes, i will try to have a look on it. Changing it so that it works with DOSX may not be a big deal. Just it can take some time .. roland
Sep 06 2002
next sibling parent "Javier Gutiérrez" <nikkho NOSPAM hotmail.com> writes:
    Thank you.
    I will try to hack them a bit. At least, in the meanwhile I find version
4.x!

"Roland" <rv ronetech.com> escribió en el mensaje
news:3D788E9D.527BCDC4 ronetech.com...
 "Javier Gutiérrez" a écrit :

     Yes, there are the sources available. You can get it at ftp.jak.nl
got them. just i have to copy them on a floppy to install and have a first look. if you want to work to port zinc to DOSX here is some guidelines (sorry if
you
 already know them):
 - find pointer calculation: there is no more segment on DOSX pointers,
only
 offset,
 - find pointers returned by dos/bios: they are real mode pointers and need
to
 be converted.
 most of those pointer are passed to/returned by int 21h (dos), int 10h
(bios,
 video, notably vesa), int 33h mouse.
 also there must be somewhere a pointer on bios data area: 0x0040:0000
(real
 mode addresse)
 most of the work will be to find those pointer.
 the good news is that if you forget one, it crash immédiately ..

 roland







 "Roland" <rv ronetech.com> escribió en el mensaje
 news:3D7859B8.8F0EBAF9 ronetech.com...
 "Javier Gutiérrez" a écrit :

     I want to inform the group that  I have been able to use the
Zinc
 Interface Library 3.0 with DMC 8.29 using the Zortech C++ 3.0
libraries
 included.

     I have been able to compile all the tutorial and the samples,
and
 also
 some tests I have written.

     Unfortunatelly this version of ZIL only support real mode
applications,
 which limites a lot its utility.

     As far as I know, Zinc Application Framework 4.0, 4.1 and 4.2
also
 supports protected mode applications, but I have been unable to get
it.
 There is the sources isn't it ?
 If yes, i will try to have a look on it.
 Changing it so that it works with DOSX may not be a big deal.
 Just it can take some time ..

 roland
Sep 06 2002
prev sibling parent reply Roland <rv ronetech.com> writes:
Roland a écrit :

 "Javier Gutiérrez" a écrit :

     Yes, there are the sources available. You can get it at ftp.jak.nl
got them. just i have to copy them on a floppy to install and have a first look. if you want to work to port zinc to DOSX here is some guidelines (sorry if you already know them): - find pointer calculation: there is no more segment on DOSX pointers, only offset, - find pointers returned by dos/bios: they are real mode pointers and need to be converted. most of those pointer are passed to/returned by int 21h (dos), int 10h (bios, video, notably vesa), int 33h mouse. also there must be somewhere a pointer on bios data area: 0x0040:0000 (real mode addresse) most of the work will be to find those pointer. the good news is that if you forget one, it crash immédiately .. roland
i spend 2 hours on zinc. not so easy it seems.. Javier, do you know where i can find a user manual ? I would like DM can offer a kind of graphical library for DOS X. sure i will have a deeper look on zinc.. in the future roland
Sep 10 2002
parent "Javier Gutiérrez" <nikkho nospam.hotmail.com> writes:
    Here http://www.windriver.com/zinc/html/agreement.html you can download
Zinc 5.3 and 6.0, which include an user manual, althought does not support
DOS.


"Roland" <rv ronetech.com> escribió en el mensaje
news:3D7E32B0.74741325 ronetech.com...
 Roland a écrit :

 "Javier Gutiérrez" a écrit :

     Yes, there are the sources available. You can get it at ftp.jak.nl
got them. just i have to copy them on a floppy to install and have a first look. if you want to work to port zinc to DOSX here is some guidelines (sorry
if you
 already know them):
 - find pointer calculation: there is no more segment on DOSX pointers,
only
 offset,
 - find pointers returned by dos/bios: they are real mode pointers and
need to
 be converted.
 most of those pointer are passed to/returned by int 21h (dos), int 10h
(bios,
 video, notably vesa), int 33h mouse.
 also there must be somewhere a pointer on bios data area: 0x0040:0000
(real
 mode addresse)
 most of the work will be to find those pointer.
 the good news is that if you forget one, it crash immédiately ..

 roland
i spend 2 hours on zinc. not so easy it seems.. Javier, do you know where i can find a user manual ? I would like DM can offer a kind of graphical library for DOS X. sure i will have a deeper look on zinc.. in the future roland
Sep 11 2002