photon application on a floppy

Hello,
I am trying to put one photon application which has N/w configuration
windows & Voyager browser into a floppy. What i am planning is to zip it &
unzip in Ramdisk. But eventhough i zipped the photon application my images
size is more than 1.44mb.(even image is also compressed by givng compress in
bootfile).
i am using
pci bios,
seedres
pipe
devb-ram ram capacity =32768 blk automount=hd0t77:/myram
cp /proc/boot/phtn.tar.gz /myram
gzip -d /myram/phtn.tar.gz
tar -xf /myram/phtn.tar -C /myram/
/myram/phtn/phscript

ioblk.so
cam-disk.so
fsqnx4.so
libcam.so
libc.so


In phscript i am running Photon server, font manager & graphics driver & as
i don’t require mouse or key board i haven’t included i/p driver
& under phtn directory i have created font repository, bin & lib directories
& included necessary utilities & libraries & dlls.

I wonder how they could acheive photon in a floppy ( downloadable from web
site).Is there any other compression technique .

Can anybody help me out.

Thanks in advance

Praveen

vasdev wrote:

I wonder how they could acheive photon in a floppy ( downloadable from web
site).Is there any other compression technique .

Firstly, “they” used a different operating system than you are using.
QSSL used QNX4 for the demo floppy. Secondly, you don’t want to be
including any photon shared libraries, if all your doing is running a
single Photon app (link your app statically). Linking your app statically
will save a lot, although I don’t know if it’ll be enough to fit on a
floppy. The fact that QSSL has not produced a QNX6 version of the demo
floppy would tend to indicate that it is not trivially doable (however,
the demo floppy does a lot more than put 1 photon application on the disk,
so your app may be possible, with a little bit of care in assembly).

On Thu, 18 Jul 2002 10:12:38 +0530, “vasdev” <vasdev_vs@hotmail.com>
wrote:

Hello,
I am trying to put one photon application which has N/w configuration
windows & Voyager browser into a floppy. What i am planning is to zip it &
unzip in Ramdisk. But eventhough i zipped the photon application my images
size is more than 1.44mb.(even image is also compressed by givng compress in
bootfile).
i am using
pci bios,
seedres
pipe
devb-ram ram capacity =32768 blk automount=hd0t77:/myram
cp /proc/boot/phtn.tar.gz /myram
gzip -d /myram/phtn.tar.gz
tar -xf /myram/phtn.tar -C /myram/
/myram/phtn/phscript

ioblk.so
cam-disk.so
fsqnx4.so
libcam.so
libc.so


In phscript i am running Photon server, font manager & graphics driver & as
i don’t require mouse or key board i haven’t included i/p driver
& under phtn directory i have created font repository, bin & lib directories
& included necessary utilities & libraries & dlls.

I wonder how they could acheive photon in a floppy ( downloadable from web
site).Is there any other compression technique .

See “How we did it” (http://www.qnx.com/demodisk/how.html).

The floppy demo is for QNX4 and its Photon version.

ako

Can anybody help me out.

Thanks in advance

Praveen

“Rennie” <rallen@csical.com> wrote in message
news:ah6tr6$8ea$1@tiger.openqnx.com

vasdev wrote:


I wonder how they could acheive photon in a floppy ( downloadable from
web
site).Is there any other compression technique .

Firstly, “they” used a different operating system than you are using.
QSSL used QNX4 for the demo floppy. Secondly, you don’t want to be
including any photon shared libraries, if all your doing is running a
single Photon app (link your app statically). Linking your app statically
will save a lot, although I don’t know if it’ll be enough to fit on a
floppy. The fact that QSSL has not produced a QNX6 version of the demo
floppy would tend to indicate that it is not trivially doable (however,
the demo floppy does a lot more than put 1 photon application on the disk,
so your app may be possible, with a little bit of care in assembly).

With 6.2 it’s possible to run a “diet” on all shared object to keep only
the required functions. This might allow having Photon on a floppy.

Note that with QNX 6.2 it’s possible to run Photon without the
font manager, you need some extra share object to do that but
I beleive it will cost less then using the full fledge font manager.

Hello,
I planned to link my ph application statically. But the Photon
Server,Iographics needs libraries. So still it will be more
“Rennie” <rallen@csical.com> wrote in message
news:ah6tr6$8ea$1@tiger.openqnx.com

vasdev wrote:


I wonder how they could acheive photon in a floppy ( downloadable from
web
site).Is there any other compression technique .

Firstly, “they” used a different operating system than you are using.
QSSL used QNX4 for the demo floppy. Secondly, you don’t want to be
including any photon shared libraries, if all your doing is running a
single Photon app (link your app statically). Linking your app statically
will save a lot, although I don’t know if it’ll be enough to fit on a
floppy. The fact that QSSL has not produced a QNX6 version of the demo
floppy would tend to indicate that it is not trivially doable (however,
the demo floppy does a lot more than put 1 photon application on the disk,
so your app may be possible, with a little bit of care in assembly).