So far I have cut 11kb off it, so its down to 84.5kb for that triangle example. But I am looking to get it lower yet. I will have to dig into the old backup and see if I can't find the code I play around with ages ago, which had some winapi stuff going on. I was going to seach the blitzbasic site for some info, but it have been down for a couple of days, no clue why, so I will have to find my backup discs and go seaching. I doubt that I will get it much lower than just barely fitting within 64k and it actually doing some effects. But you'll never know though. At the moment I am using the openGL module which comes with bmax, its probably possible to cut that down even further by removing stuff that I will never be using from openGL anyways.