(GET-MAX-XY)

Returns the maximum screen coordinates using pixel dimensions. (1 unit = 1 pixel). It doesn't depend of SET-WORLD! settings, so it can be used to determine the actual resolution of the current video mode, in order to write your own coordinate conversion routine or to scan the screen pixel per pixel.