Blitz+ Image memory offset?
BlitzPlus Forums/BlitzPlus Programming/Blitz+ Image memory offset?
| ||
Hi, I am trying to use this great userlib with Blitz+, but the way images are stored in memory is different to Blitz3D and Adrvideo = BLZPeekInt(buffer_image+76) does not work. Anyone know the Blitz+ offset? http://www.blitzbasic.com/Community/posts.php?topic=34301 |
| ||
Hi, Maybe a solution with this code : http://www.blitzbasic.com/Community/posts.php?topic=57663 |
| ||
Thanks, but I have found that even the ISL_LoadScriptFromMemory() command crashes Blitz+, before I get to try and apply it on an image. |
| ||
Ho, Why ? |
| ||
It seems BLZPeekInt does not work so well with Blitz+, I have found the image width and height are at: width = BLZPeekInt(buffer_image+(92+72)) height = BLZPeekInt(buffer_image+(96+72)) I guess the adrvideo will be the same +72, but I can not get it to load a script from memory, eg. BLZPeekInt(BNK_COLORIZE+4) does not return the correct bank address and I can not find the bank address? |