yes, they are. (Some of routines does 2 pixels in one operation.)
Aha got it
Quote:
This why I think the “ASK” option, might be time to delete.
You mean totally delete this option from amiga.screen_type configuration ? If so, we then will be in needs to have with this deletion new gfx_depth option probably (as Rachy planned back in times) so users can specify the depth they need.
Or you just mean to delete it from constant switching to/from window/full-screen, and spawn it only one single time on running if this “ask” option set ?
AGA modes will always use 32bit output with scaling maybe. (true color mode needed becouse of cooper)
P96 8bit will always use 8bit no scaling, closest mode.
P96 15bit will always use 16bit with scaling. P96 16bit will always use 16bit with scaling. (no point using 32bit, adds no colours, only needs more data to be moved)
P96 24/32bit will always use 32bit with scaling.
Yep, so we don't need ask, we will need to know monitor aspect ratio. when looking for mode.
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Sounds good, all with scaling, but only worry 8bit p96 with no scaling … Is there no way to make p96 8bit be scaled too ? I'm just thinking of how it will look like when one run 1920x1080x32 in P96 on the same opened screen, then run the AGA stuff (and which scaled well, so no monitor re-sync happens). But when it will be 8bit p96 software running from 1920x1080xp96 screen, it will then switch from 1920x1080x32 to something else, like 640×512 and re-sync monitor, etc…
Quote:
Yep, so we don't need ask, we will need to know monitor aspect ratio. when looking for mode.
You mean making "custom" option of amiga.screen_type settings be default one and just rewrote auto-search code to take gfx_widht/gfx_heigh, and probably need to introduce gfx_depth ?
You mean making "custom" option of amiga.screen_type settings be default one and just rewrote auto-search code to take gfx_widht/gfx_heigh, and probably need to introduce gfx_depth ?
yeh something like that.
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Ah, that bad .. Probably only way then software scaling, or some mambo-jambo like covert to 16 bit, scale, and convert back to 8 bit.. But that to be seen, maybe all will be fine as it.
@LiveForIt Btw, on what compiler you build your local versions ? I assume 8.x one ?
Why I ask: I do use GCC 11.3, and this one is not that tolerate to some warnings and bad-code practices, so, that why there need to do:
1. in src/main.c comment out include "bsdsocket.h" (to avoid multiple definition of `socketbases') 2. in src/md-ppc-gcc/support.c add "extern" before frame_time_t timebase; (to avoid multiple definition of `timebase') 3. in src/audio.c add "extern" to uae_u16 dmacon; " (to avoid multiply definition of 'my_dmacon').
I can make those small changes and pull commit to your repo, if you don't mind, of course. Those change should make no impact on anything else, just the latest GCC will be ok with.
On running choose 1920x1080x32 : P96 WB loads fine in the same mode, and the speed of whole loading the same 14-15 seconds as with latest tested commits. So there are surely no regressions.
Next, tried prefs:screenmode and button "test" with all the 32 bit screen modes: all fine too. The same as "use" of those 32bit screenmodes reacts as before.
So in terms of P96 and 32 bits all seems ok.
Next, to issues:
1. When run on 1920x1080x32 screen, and tried to change in prefs:screenmode on any 8bit mode, it then gives black screen or all sort of diagonal/vertical/horizontal lines of different colors. If i tried to run on 1920x1080x8 bit screen, it still opens 32bit screen, and when i tried to change in prefs:screenmode on 8bit screen i do have the same.
So, to make it short, 8bit P96 modes all didn't work.
2. AGA modes didn't work now too. For example, if i hit both mouse buttons, and should have visibly boot-menu, all i have is black screen. If i run uae, and hit "Esc" (so to open on wb screen in the window), i can see that color in the window even didn't change till p96 starts, it looks the same gray like this area didn't have anything to be drawn into.
I also did try to run some TBL's rift demo (the one i use to test all this), and now instead of actual content it also shows a black screen. While demo works, sound coming.
The last AGA/8bit test was running JP19 diskmag which use 8bit screen for drawing title/finish pictures, and AGA for drawing mag itself : both modes didn't work and produce black screen.
And in serial, before whole machine totally freeze, i have lots of that:
Quote:
royal fuck up ... draw bitmap can not be the same as comp bitmap.
Before new rewrite the title pic in diskmag was black screen of course (as it 8bit screen), but the AGA part (mag itself) were ok.
So to summarize:
1). AGA modes didn't renders anymore (black screen) 2). 8 bit modes didn't renders as before, but, instead of black screen only, it also sometime produce some random gfx trash. 3). Heavy crash-lockup with words about "btimap can not be the same as comp bitmap" when switch between non-working 8bit and non-working AGA.
We can’t convert to itself, we need extra bitmap.. so should be close to getting convertion rutines working.
Yeah, at least and when i hit the "test" button in prefs:screenmode when choose 8bit screen, it also saying the same as when i swith from aga to 8bit :"bitmap can not be the same as comp bitmap". So yeah, the same issue.
Quote:
as for now, ASL requestor is useful for testing.
Yep, those moments can be dealt with later, for testing this requester helps.
No its not, i think messed with WritePixelArray format. the error is only for P96, so this is a messs.
Why not : in both cases it was opening of the 8bit screen. In the case when we hit "test" button in prefs:screenmode, and in the case when we tried to open 8bit screenmode from diskmag (and it's again open the same p96 mode, because this is the one i set in the preferences of mag). So that the same issue mean "open 8bit p96 mode". I didn't mean AGA there, just 8bit modes. Just in case with pure "test" in prefs:screenmode it wasn't freeze, as it tries for few secs and then exit, but in dikmag it was freezing because of open 8bit mode for much longer time.
EDIT: Tried commit #87, AGA mode works again. 8bit modes produce green screens, and in the console says:
BitMap was allocated with width 640
AMIGFX: Unsupported pixel format.
AMIGFX: Failed to init colors
Edited by kas1e on 2022/12/25 18:17:28 Edited by kas1e on 2022/12/25 18:19:20
It looks like E-UAE filters screen modes based on display output, I guess it makes sense on XWindows or SDL, so adding 15bit / 16bit modes does not help, it also keeps a valid screen modes list somewhere.
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.