fi you select manual mode in WinUAE with UAEGFX mode no matter if you choose a 16bit/32bit mode , script fails saying that it is NOT in palette mode and you should select a 16/32 bit screen (which i do)
no problem in aos4 in UAE/UAEGFX and windows 11
Code: Select all
CreateDisplay(2, {Width = 300, Height = 100, X = 10, Y = 10, Title = "", Borderless = True, Fixed = True, Mode = "Ask", Active = True, Hidden = True})
OpenDisplay(2)
Local DisplayMode = GetAttribute(#DISPLAY, 2, #ATTRMODE)
If DisplayMode = #DISPMODE_WINDOWED
DebugPrint("NOT LOST TEXT")
ElseIf DisplayMode = #DISPMODE_FULLSCREEN
DebugPrint("LOST TEXT")
EndIf
WaitLeftMouse()