I just wrote a routine able to convert a bitmap to
it's equivalent in genereted code (68K asm).

I must have the memory address of this genereted code in the Palm
to jump on it to draw the sprite but I can't find it.


Now, I have a generated binary file that I'd like to use in my Palm.

Pilrc recognize the DATA type :

  DATA "junk" ID BitmapCode_ID "bitmap.cod"



The combination of this two functions seems to give me the memory pointer I
need.

      MemHandle DmGet1Resource (DmResType type, DmResID resID)
         and
      MemPtr MemHandleLock (MemHandle h)

But, there is no type for 'DATA' to pass in the DmResType parameter.
There is no functions in the Palm API to manipulatre "DATA" ressources.

Do you have any ideas to solve my problem ?

Thanks in advance.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to