Page 1 of 1
CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Fri Nov 15, 2024 7:00 pm
by plouf
using the same
MCVE as previous
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()
Re: CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Sat Nov 23, 2024 12:17 am
by airsoftsoftwair
True, but seems to occur only with Picasso96. Will be fixed.
Re: CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Sun May 18, 2025 5:54 pm
by airsoftsoftwair
I'm afraid I can't reproduce it any more. Are you testing this on WinUAE or real hardware?
Re: CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Sun May 18, 2025 7:08 pm
by plouf
This was with winuae
No other possible way to select "uaegfx" in screenmode request in other hardware

Re: CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Sun May 25, 2025 7:17 pm
by airsoftsoftwair
Oops, yeah, right, but unfortunately I can't reproduce it on WinUAE. Since there are many many different WinUAE configurations can you check if it's reproducable on a WinUAE configuration which I could easily replicate here? For example, does it happen with the latest AmiKit? Then I could simply try that myself...
I've tested it on WinUAE with OS 3.9 and the old Picasso96 from Aminet as well as on WinUAE with OS 3.2 and the latest Picasso96 from Icomp but it works on both.
Re: CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Sun May 25, 2025 9:38 pm
by plouf
i use Amikit 10.5 , also tried with AIBB same behaviour
have you choose third option (manual?) because in auto option no problem
this is the exe of above
MCVE ->
https://limewire.com/d/n31h2#3NtHWdimYU
Re: CreateDisplay mode "ask" / manual select fails in amiga 68k
Posted: Thu Jun 05, 2025 7:23 pm
by airsoftsoftwair
Ok, I can reproduce it with AmiKit. Strictly speaking it's not a Hollywood bug. There must be some patch that is active that causes the ASL screen mode requester to return depth 2 for all modes. Or the screenmode definition is faulty. It only seems to happen with AmiKit (which is full of patches), I can't reproduce it on a clean OS3.9 or OS3.2 installation. Nevertheless, I've added a workaround now.
Code: Select all
- Change [Amiga]: Added workaround for faulty screenmodes which returned depth 2 instead of 16/32 which
caused Hollywood to report a "Cannot run on palette screens" error