04 Mar 2019 18:52
I was trying a bit grabbing RGB data from a P96 screen.
So I used p96ReadPixelArray from a new created screen, 640x480x8 which should be ~300k.
This P96 function takes ~30 ticks until returns.
Whereas writing this to a file only takes ~7 ticks.
Now my questions:
Is ticks (DateStamp) the right thing to measure this?
Why is this function so slow, it seems to mostly be a mem copy?
I'm using this under AmigaE but I doubt it'll be a lot fast in C.
Are there alternatives to using this function?