Hello,
Does anyone know if I can allocate a large block of memory, referenced by pointer. Then I can write Ints and Floats, etc into arbitary points within this block? I havent had any time to test this out myself or look it up because I havent been at my BMX computer for days.
Im asking this because im writing a small interprative emulator for my own virtual cpu and I need this for both speed and simplicity.
I know that banks have this ability but I realy want to try and avoid the overhead of the function calls.
Perhaps someone knows also if using this method will use the CPU cache efficiently, because I heard way back that BlitzBasic banks missed the cache.
Thanks
Does anyone know if I can allocate a large block of memory, referenced by pointer. Then I can write Ints and Floats, etc into arbitary points within this block? I havent had any time to test this out myself or look it up because I havent been at my BMX computer for days.
Im asking this because im writing a small interprative emulator for my own virtual cpu and I need this for both speed and simplicity.
I know that banks have this ability but I realy want to try and avoid the overhead of the function calls.
Perhaps someone knows also if using this method will use the CPU cache efficiently, because I heard way back that BlitzBasic banks missed the cache.
Thanks