One thing... notice all those # at the end of DVader's variables? Those make the variables floats. In your code snippet, the variables are integers, which don't work as well as floats for setting display aspect.
Also in your code snippet you set width and height to the device, then immediatly set them to 800 by 600. Which did you want to use?
So, either
SetDisplayAspect(1.33333333)
or
SetDisplayAspect(800.0 / 600.0)
or
FUNCTION InitResolution()
SetOrientationAllowed( 1, 1, 1, 1 )
width# = GetDeviceWidth()
height# = GetDeviceHeight()
SetDisplayAspect(width# / height#)
ENDFUNCTION
would work for a 800 x 600 screen.
@AL,
Quote: "Also, what are the settings in your setup.agc file? You have to open it in some editor other than the AppGameKit IDE."
Umm, what? You can edit it directly IN the IDE, just like your code. It's in the tree on the left, or as a tab across the top if you are using those.