hey Kev,
Thanks for the tips, I've got the mouse working to rotate and put a Step 2 on the casting loop, used Cls 0,x,h1 to x+1,h2 instead of Draw to get a 2x2 resolution at 160x128 and with Key Scan instead of Inkey$ I get 6 fps on stock a1200 now. lol
I saw your lookup tables in the 3d cube demo, but here it is -1.0000 to 1.0000 not 360 degrees, so the lookup table would be huge?
I know I can make AMOS use 68k big math routines like x*128/256 instead of x/2 - which is faster when compiled, and use Repeat..C=C+1...Until C>E instead of For..Next loops and they are faster also... but looking at how the calculations are done I don't think I'd be able to convert the float math to integer, it's also the first time I've looked into raycasting so I probably need to learn more, it is quite fun, so I'll try the turbo extension and add textures and sprites and watch it grind to a halt ;-)