On Sat, 2016-10-01 at 19:11 +0100, Mark Cave-Ayland wrote:
Also you never replied if there was a way of reading the in-built resolutions from the QEMU VGA controller? If yes, let's grab the information from there. If not, then it would make sense to add the basic VGA/XGA resolutions into the QEMU,VGA device as default and then simply add any custom resolution to the end of the list.
The emulated HW doesn't have a way to obtain a list of resultions, at least not that I know of.
Finally for reference take a look at the Sun Framebuffer FAQ at http://www.sunhelp.org/faq/FrameBuffer.html%C2%A0to check the format the mode string should be in (it seems to be the format eluded to earlier by Tarl) and also the parameter should perhaps be called "fb-mode" which is the name used by Apple's OF implementation.