Excuse me for being stupid but what exactly does GetMAXX and Y pertain to
Check this - https://www.freepascal.org/docs-html/current/rtl/graph/funcscreen.html
GetMaxX and GetMaxY belong to Unit Graph, as shown in the upper right corner of https://www.freepascal.org/docs-html/current/rtl/graph/funcscreen.html. Before you can use them, you must initialize the Graphic Mode via procedure InitGraph.But I would use old unit Graph only in a console program. In a GUI program I would ask variable 'Screen' which belongs to Unit Forms.
Yes, Graph unit gives BP/TP compatibility.