aros-development-team/AROS

mingw32-i386-system

hitchhikr opened this issue · 4 comments

"mingw32-i386-system" (2021-07-27) just displays:

[Bootstrap] RAM memory block allocated: 043A0000 - 083A0000 (67108864 bytes)

and sits there forever.

(I think this distribution have been broken for years).

have you tried booting with sysdebug=all?

Yes, lots of debug infos but no particular error message.
Here are the last messages of the log :
http://franck.charlet.pagesperso-orange.fr/temp/aros_mingw32_debug.txt

@hitchhikr sorry for the delay looking at this - but I have been a bit busy since last summer.

I have looked at your debug and tried here, and from the output AROS is clearly running - however it has not created any displays. I have enabled debug in WinGDI and think I have located the problem code;

After launching GDIBase->displaynum = 0;
AddDisplays() then uses "old = displaynum - 1" for a loop - effectively making it never run the loop (old == 4294967295, so the check of "old < num" fails).

I have committed a change to this, and issued a new build. Please check and see if it now opens the display (Though, I cant see how this has ever worked in the current state).

Found another "bug" in the bitmap class that prevented it working (it used an operation that doesn't support the number of attributes used). Tested and confirmed booting to Wanderer desktop.