Screen ratios

BlitzMax Forums/BlitzMax Programming/Screen ratios

Right,

I am programming my game at 800x600 and I would like to make sure regardless of what screen res you use, the pixels stay square.

Like for my screen (1440,900) I will want some vertical borders to the left and right. But someone running 1600x1200 will not require borders.

Failing that, I would be happy with the game using the current windows res and just sticking the 800x600 view in the middle.

I hope that makes sense to someone! I dont know too much about the graphics commands so don't really know where to start. I had a search but anything I found is now redundant

ta!