"Toaster Demo" for LPC2104

info
====

this is a port of my nokia demo released at function05, budapest.
i wrote a basic midp (j2me) wrapper. the graphics library is sdl-like.

i render to a 82x82 offscreen buffer and then just blit the whole buffer to the screen. 
the demo does not run in full screen as this board only has 16k of ram, 
so a screen-sized buffer was out of question.

even though the files have .c extention, the demo code is in c++.
everything is compiled with g++ now instead of gcc now. 
because of this, if you clean-build, you will have to compile the c and c++ code seperatelly.

as the project framework was made to work for c code, some c++ stuff won't work and 
you will need to code around it:
- constructors don't execute
- cannot use virtual methods
- other?

note to self
============

there's some strange issue with the code (buffer overflow?).
chaning the offscreen buffer to 82x84, crashes on startup. 
and even when this worked, there was still garbage on the bottom right corner of the screen.
when changing to say 82x86 however, everything works again. 

voxel uses fake "heightmap", reads "random" stuff from rom. 
heightmap did not fit in rom.

the appTick callback function is now in lcd.c as it is called from c code.

contact
=======

if you do anything interesting with the code or make a 
user friendly c++ framework, drop me a line :)

email: ppm@freemail.hu
icq: 10657470

Peter Moraliyski
ph0x/amuQ

2007.03.19

