PocketPC Screen time load...

Previous topic - Next topic

Hark0

Hi!

I'm are testing the posibilities of GLBasic on PPC platform...

I tried this "simple" code...

LOADBMP "grfx/fondo002.bmp"
PRINT "HELLO WORLD!" ,0,0
SHOWSCREEN
MOUSEWAIT
END

NOTE: I tried with 2 kind of bpp images: 240x320 px 16 bpp and 8 bpp.

16 bpp - 226 kb
8bpp - 77 kb

When I run this code on Win32... this works FAST!!!

On PPC... I get...

1.- Black screen image with "loading..." label text
2.- DEMO image (ok, it's a demo sdk)..
3.- UGLY "X" button for close app

4...5/10 seconds later!!!! I see my image!!!!
5. Hello world text.

My questions:
1- It's normal this slow speed for load an 77kb image?
2- How disable X close button

TIA, Hark0
www.monkeydreams.net
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Kitty Hello

1. Remove that by starting your "game" with "SHOWCSREEN"
2. ;)
3. ALLOWESCAPE FALSE -> disables "X" button
   make sure have a way to close the program now!
4. yuck! that's a lot of time. I'll check. Where have you stored the image?
5. At least it worked :D

Hark0

Hi GernotFrisch...

I test this changes and I tell you later...

About images... are stored on Ipaq.

TIA, Hark0
www.monkeydreams.net
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

Hi GernotFrisch...

I have tested again...

The time to show the image are about 9 secs...

This is my source code....

PRINT "START...",0,0
SHOWSCREEN
LOADBMP "grfx/fondo002.bmp"
PRINT GETTIMER(),20,20
SHOWSCREEN
MOUSEWAIT
END

and this is the specs for the image... (stored on main memory)

240 x 320  Pixels
256   (8 BitsPerPixel)
34 colors
76.05 KB (77.878 Bytes)

If you want I send this mini test (RAR file) to you...

TIA, Hark0
www.monkeydreams.net
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic