 I guess I need to upgrade my brain (too)
     I guess I need to upgrade my brain (too)I am having problem trying to read memory content.
I have loaded a sprite, found the memory address where it is stored
(thks to Fred) but the data I read don't match with the file dump.
Can you see what's wrong with this :
Code: Select all
If LoadSprite(0, "sprites.bmp") = 0
  MessageRequester("Problème","sprites.bmp'",0)
  End
endif
SIZE = FileSize("sprites.bmp") 
;DisplaySprite( 0, 0,100)
StartDrawing( spriteoutput( 0 ) )
ADDRESS.l = DrawingBuffer()
OpenConsole()
for ITER.l = 0 to SIZE 
  DONNEE1.b  = peekb(ADDRESS + ITER )
  printn( hex( DONNEE1 ) )
  CallDebugger
Next


 
  
 
  
 

