Correct it means that AmigaOS and MorphOS excluded, but AmigaOS4 use __amigaos4__ so its not excluded I think, it also depends on if AMIGA is defined in the makefile or not, using "-D" argument.
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Anyway calling attach() from class or struct before checking if _frameBuffer returned NULL or not, is bad coding, this stuff gives people grim reappears and unstable system, maybe good idea to check if its NULL, and it fails runs error about not being able to create frame buffer.
_frameBuffer->attach();
anyway if ever wonder about if some part is included or not, simply add a warning message.
#warning “this code is being used !!!”
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Damn, there is a define in configure add_line_to_config_mk 'AMIGAOS = 1' which sets it.
So, does anyone know if these excluded OpenGL functions are still unsupported or could i get rid of the exclusion?
Thank you for the hint and explanation
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
It should be possible to check if definition is smaller or grate then a value, it might better way deal with different versions of AmigaOS, That’s only a suggestion, its maybe a lot of work.
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
No, thats alright. I know that definition was there, i just never found a place where it's actually used.
Seems like this is the only place (at least in the code and not in configure/makefiles anyway.
Probably best to turn this into an #if !defined(__amigaos4__) then.
Do you maybe know if there is a problem with glClear on AmigaOS4? Why would it be excluded? Same goes for the frameBuffer thingy, isn't that supported in the meantime?
It's also interesting to note that morphos gets excluded aswell, so it seems they suffer from the same problem? Either that or that whole excluded function is just an oversight from when ScummVM targeted 68k amigaos...
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
glClear is supported by MiniGL. However, frame buffer objects are not supported by MiniGL and probably never will. (FBOs are supported by OGLES2.)
Just by looking at this code, I don't understand why there are #ifdefs: usually application checks the availability of OpenGL features/functions and acts based on that.
Yes, it also doesnt hit in any way, if I remove the ifdef check.
Probably best to get rid of it, leaving the morphos ifdef in place.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Based on the pasted code framebuffer was created using the normal C++ new operator, so it should throw a bad_alloc exception. To get a nullptr on failure one should use the (nothrow) version.
I get a new crash, unfortunately pretty basic (again) but at least it's not in the same place, so here's hoping it comes from somewhere else (and can be fixed...maybe it's even because of unsupported functions, who knows?)
Here's the crashlog (excerpt)
Crash log for task "scummvm"
Generated by GrimReaper 53.19
Crash occured in module scummvm at address 0x7B85B448
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003
I can see two things: 1) It's again the glContext i got a crash from earlier (but this crashlog was done *with* the fix already in place, so i guess it's close, but not yet there) 2) The first affected line points to something related to FBO (which i know is not supported in OpenGL, but is maybe the reason why it bombs?)
If anyone has any hints, workarounds i could try or other help, please shout
/* ResidualVM - A 3D game interpreter
*
* ResidualVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
How do you crash it? Line numbers don't make sense, can you try with addr2line? My guess is that ScummVM has deleted the OpenGL context and tries to call some gl* functions.
If you used the debug version of SDL2, then we could see what happened right before the crash.
Start it It never opens a window, just does stuff in the background and bombs.
Hmm, debug version, where did i put the debug version... I'll look for it and report back
Edit2: Nevermind...i should get new glasses
Edit: I have the debug version for static builds ".a", but i can't find one for shared builds...as this is a shared build i guess it would make sense using a shared libSDL2.debug...wouldn't it?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Disassembly of crash site:
7B4FFAC0: 835E800C lwz r26,-32756(r30)
7B4FFAC4: 38800D33 li r4,3379
7B4FFAC8: 93FD0004 stw r31,4(r29)
7B4FFACC: 3BE10050 addi r31,r1,80
>7B4FFAD0: 807A0000 lwz r3,0(r26)
7B4FFAD4: 812300F8 lwz r9,248(r3)
7B4FFAD8: 7D2903A6 mtctr r9
7B4FFADC: 4E800421 bctrl
7B4FFAE0: 80BD0008 lwz r5,8(r29)
7B4FFAE4: 38600005 li r3,5
Stack pointer (0x39438A10) is inside bounds
Redzone is OK (4)
68k register dump
DATA: 97647600 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 6FFB8700 97C1B800 00000000 00000000 00000000 00000000 00000000 39438350
Page information:
Page not found
[/code
and finally the debug log with a static build...seems it crashes on opening the window?
[code]
[_OS4_INIT] IExec 0x02973054
[SDL_CreateMutex] Created mutex 0x6FFAA7A0
[OS4_InitThreadSubSystem] Main task 0x5380E1F0
[OS4_InitThreadSubSystem] Children mutex 0x6FFAA7C0, waiters mutex 0x6FFAA7E0
[OS4_OpenLibrary] Opening 'dos.library' version 50 succeeded (address 0x6FE97220)
[OS4_GetInterface] Getting interface for libbase 0x6FE97220 succeeded (address 0x6FB955D0)
[OS4_InitThreadSubSystem] dosBase 0x6FE97220, iDos 0x6FB955D0
[OS4_InitTimerSubSystem] Called
[OS4_InitTimerSubSystem] ITimer 0x6FF8E900
[OS4_InitTimerSubSystem] Timer frequency 66666666 Hz
[OS4_TimerCreate] Creating timer 0x44122298 for task 0x5380E1F0
[SDL_CreateMutex] Created mutex 0x6FFAA800
[SDL_CreateMutex] Created mutex 0x6FFAA820
[OS4_InitThreadSubSystem] Already initialized
[OS4_CreateDevice] *** SDL 2.0.12 video initialization starts ***
[OS4_CreateDevice] Build date: 27.4.2020
[OS4_AllocSystemResources] Called
[OS4_OpenLibraries] Opening libraries
[OS4_OpenLibrary] Opening 'graphics.library' version 54 succeeded (address 0x6FFB8420)
[OS4_OpenLibrary] Opening 'layers.library' version 53 succeeded (address 0x6FFFE4F0)
[OS4_OpenLibrary] Opening 'intuition.library' version 51 succeeded (address 0x6FF494D0)
[OS4_OpenLibrary] Opening 'icon.library' version 51 succeeded (address 0x62ADE0CC)
[OS4_OpenLibrary] Opening 'workbench.library' version 51 succeeded (address 0x6FEF808C)
[OS4_OpenLibrary] Opening 'keymap.library' version 51 succeeded (address 0x6FF622C0)
[OS4_OpenLibrary] Opening 'textclip.library' version 51 succeeded (address 0x61370DFC)
[OS4_OpenLibrary] Opening 'dos.library' version 51 succeeded (address 0x6FE97220)
[OS4_GetInterface] Getting interface for libbase 0x6FFB8420 succeeded (address 0x6FF3D000)
[OS4_GetInterface] Getting interface for libbase 0x6FFFE4F0 succeeded (address 0x6FF3C140)
[OS4_GetInterface] Getting interface for libbase 0x6FF494D0 succeeded (address 0x6FFFF800)
[OS4_GetInterface] Getting interface for libbase 0x62ADE0CC succeeded (address 0x6FDC27A0)
[OS4_GetInterface] Getting interface for libbase 0x6FEF808C succeeded (address 0x6FDC2E30)
[OS4_GetInterface] Getting interface for libbase 0x6FF622C0 succeeded (address 0x6FF8F500)
[OS4_GetInterface] Getting interface for libbase 0x61370DFC succeeded (address 0x613E9D20)
[OS4_GetInterface] Getting interface for libbase 0x6FE97220 succeeded (address 0x6FB955D0)
[OS4_OpenLibraries] All library interfaces OK
[OS4_FindApplicationName] GetCliProgramName: 'scummvm'
[OS4_FindApplicationName] Application name: 'scummvm'
[OS4_GetInterface] Getting interface for libbase 0x6FF6250C succeeded (address 0x6FEAD3D0)
[OS4_VideoInit] Called
[OS4_InitModes] Called
[OS4_LockPubScreen] Locking public screen
[OS4_LockPubScreen] Public screen 0x617879C0 locked
[OS4_GetDisplayMode] RTG mode 1343427328: w=2560, h=1440, bits=24
[OS4_CreateDefaultCursor] 0x440D9600
[OS4_CreateHiddenCursor] Called
[OS4_CreateCursor] Surface 0x440D9628, cursor 0x440D9720, hot_x 0, hot_y 0
[OS4_CopyImageData] Copying cursor data 1*1 from surface 0x440D9628 to buffer 0x440D9748
[OS4_GetDoubleClickTimeInMillis] Doubleclick time 1500 ms
[OS4_ShowCursor] Hiding cursor
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_InitThreadSubSystem] Already initialized
[SDL_CreateMutex] Created mutex 0x6FFAA840
[OS4_InitThreadSubSystem] Already initialized
[AMIGAINPUT_OpenLibrary] Called
[OS4_OpenLibrary] Opening 'AmigaInput.library' version 51 succeeded (address 0x5380CC48)
[OS4_GetInterface] Getting interface for libbase 0x5380CC48 succeeded (address 0x4F12DAB0)
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=1, axes=2, buttons=3
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=4
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_GamePort' (AI ID=3328) has no axes/buttons - ignoring.
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=8
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_HornetGP' (AI ID=7936) has no axes/buttons - ignoring.
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=4
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_sblive' (AI ID=3840) has no axes/buttons - ignoring.
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=8
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_sblive_hornet' (AI ID=24320) has no axes/buttons - ignoring.
[AMIGAINPUT_JoystickInit] EnumDevices returned 0
[AMIGAINPUT_JoystickInit] Found 0 joysticks
[OS4_InitThreadSubSystem] Already initialized
[SDL_CreateMutex] Created mutex 0x6FFAA860
[SDL_DestroyMutex] Destroying mutex 0x6FFAA860
[OS4_GetDisplayModes] Called
[OS4_GetDisplayMode] RTG mode 1019940: w=640, h=480, bits=8
[OS4_GetDisplayMode] RTG mode 1342246912: w=640, h=480, bits=8
[OS4_GetDisplayMode] RTG mode 1342247168: w=640, h=480, bits=16
[OS4_GetDisplayMode] RTG mode 1342247680: w=640, h=480, bits=24
[OS4_GetDisplayMode] RTG mode 1342181376: w=640, h=480, bits=8
[OS4_GetDisplayMode] RTG mode 1342181632: w=640, h=480, bits=16
[OS4_GetDisplayMode] RTG mode 1342182144: w=640, h=480, bits=24
[OS4_GetDisplayMode] RTG mode 1342312448: w=640, h=512, bits=8
[OS4_GetDisplayMode] RTG mode 1342312704: w=640, h=512, bits=16
[OS4_GetDisplayMode] RTG mode 1342313216: w=640, h=512, bits=24
[OS4_GetDisplayMode] RTG mode 1342377984: w=640, h=512, bits=8
[OS4_GetDisplayMode] RTG mode 1342378240: w=640, h=512, bits=16
[OS4_GetDisplayMode] RTG mode 1342378752: w=640, h=512, bits=24
[OS4_GetDisplayMode] RTG mode 1342443520: w=720, h=400, bits=8
[OS4_GetDisplayMode] RTG mode 1342443776: w=720, h=400, bits=16
[OS4_GetDisplayMode] RTG mode 1342444288: w=720, h=400, bits=24
[OS4_GetDisplayMode] RTG mode 1342509056: w=800, h=600, bits=8
[OS4_GetDisplayMode] RTG mode 1342509312: w=800, h=600, bits=16
[OS4_GetDisplayMode] RTG mode 1342509824: w=800, h=600, bits=24
[OS4_GetDisplayMode] RTG mode 1342574592: w=800, h=600, bits=8
[OS4_GetDisplayMode] RTG mode 1342574848: w=800, h=600, bits=16
[OS4_GetDisplayMode] RTG mode 1342575360: w=800, h=600, bits=24
[OS4_GetDisplayMode] RTG mode 1342640128: w=832, h=624, bits=8
[OS4_GetDisplayMode] RTG mode 1342640384: w=832, h=624, bits=16
[OS4_GetDisplayMode] RTG mode 1342640896: w=832, h=624, bits=24
[OS4_GetDisplayMode] RTG mode 1342705664: w=1024, h=768, bits=8
[OS4_GetDisplayMode] RTG mode 1342705920: w=1024, h=768, bits=16
[OS4_GetDisplayMode] RTG mode 1342706432: w=1024, h=768, bits=24
[OS4_GetDisplayMode] RTG mode 1342771200: w=1024, h=768, bits=8
[OS4_GetDisplayMode] RTG mode 1342771456: w=1024, h=768, bits=16
[OS4_GetDisplayMode] RTG mode 1342771968: w=1024, h=768, bits=24
[OS4_GetDisplayMode] RTG mode 1342836736: w=1152, h=870, bits=8
[OS4_GetDisplayMode] RTG mode 1342836992: w=1152, h=870, bits=16
[OS4_GetDisplayMode] RTG mode 1342837504: w=1152, h=870, bits=24
[OS4_GetDisplayMode] RTG mode 1342902272: w=1280, h=512, bits=8
[OS4_GetDisplayMode] RTG mode 1342902528: w=1280, h=512, bits=16
[OS4_GetDisplayMode] RTG mode 1342903040: w=1280, h=512, bits=24
[OS4_GetDisplayMode] RTG mode 1342967808: w=1280, h=720, bits=8
[OS4_GetDisplayMode] RTG mode 1342968064: w=1280, h=720, bits=16
[OS4_GetDisplayMode] RTG mode 1342968576: w=1280, h=720, bits=24
[OS4_GetDisplayMode] RTG mode 1343033344: w=1280, h=800, bits=8
[OS4_GetDisplayMode] RTG mode 1343033600: w=1280, h=800, bits=16
[OS4_GetDisplayMode] RTG mode 1343034112: w=1280, h=800, bits=24
[OS4_GetDisplayMode] RTG mode 1343098880: w=1280, h=1024, bits=8
[OS4_GetDisplayMode] RTG mode 1343099136: w=1280, h=1024, bits=16
[OS4_GetDisplayMode] RTG mode 1343099648: w=1280, h=1024, bits=24
[OS4_GetDisplayMode] RTG mode 1343164416: w=1280, h=1024, bits=8
[OS4_GetDisplayMode] RTG mode 1343164672: w=1280, h=1024, bits=16
[OS4_GetDisplayMode] RTG mode 1343165184: w=1280, h=1024, bits=24
[OS4_GetDisplayMode] RTG mode 1343229952: w=1600, h=900, bits=8
[OS4_GetDisplayMode] RTG mode 1343230208: w=1600, h=900, bits=16
[OS4_GetDisplayMode] RTG mode 1343230720: w=1600, h=900, bits=24
[OS4_GetDisplayMode] RTG mode 1343295488: w=1680, h=1050, bits=8
[OS4_GetDisplayMode] RTG mode 1343295744: w=1680, h=1050, bits=16
[OS4_GetDisplayMode] RTG mode 1343296256: w=1680, h=1050, bits=24
[OS4_GetDisplayMode] RTG mode 1343361024: w=1920, h=1080, bits=8
[OS4_GetDisplayMode] RTG mode 1343361280: w=1920, h=1080, bits=16
[OS4_GetDisplayMode] RTG mode 1343361792: w=1920, h=1080, bits=24
[OS4_GetDisplayMode] RTG mode 1343426560: w=2560, h=1440, bits=8
[OS4_GetDisplayMode] RTG mode 1343426816: w=2560, h=1440, bits=16
[OS4_GetDisplayMode] RTG mode 1343427328: w=2560, h=1440, bits=24
[OS4_InitThreadSubSystem] Already initialized
[OS4_OpenAhiDevice] ahi.device opened
[OS4_OpenAhiDevice] IO requests created
[OS4_OpenAhiDevice] deviceOpen = 1
[OS4_CloseAhiDevice] Closing device
[OS4_CloseAhiDevice] Freeing I/O requests
[OS4_CloseAhiDevice] Deleting message port
[OS4_CloseAhiDevice] Device closed
[OS4_AudioAvailable] AHI is available
[SDL_CreateMutex] Created mutex 0x6FFAA860
[SDL_CreateMutex] Created mutex 0x6FFAA880
[OS4_OpenDevice] handle 0x00000000, devname (null), iscapture 0
[OS4_OpenDevice] New format = 0x9010
[OS4_OpenDevice] Buffer size = 32768
[SDL_CreateSemaphore] Created semaphore 0x43F44090 with count 0
[SDL_SYS_CreateThread] Node 0x52B487F0
[SDL_SYS_CreateThread] Created new thread 'SDLAudioP1' (task 0x53D107E0, args 0x43F359D0)
[OS4_RunThread] This task 0x53D107E0, node 0x52B487F0, args 0x43F359D0
[OS4_TimerCreate] Creating timer 0x52B48804 for task 0x53D107E0
[SDL_SemPost] Signalling task 0x5380E1F0 for semaphore 0x43F44090
[SDL_SemPost] Semaphore 0x43F44090 value 1
[SDL_SYS_SetThreadPriority] Changed task 0x53D107E0 priority from 0 to 10
[OS4_ThreadInit] Called
[OS4_OpenAhiDevice] ahi.device opened
[OS4_OpenAhiDevice] IO requests created
[OS4_OpenAhiDevice] deviceOpen = 1
[SDL_SemWaitTimeout] Semaphore 0x43F44090 got signal 0x8000
[SDL_DestroySemaphore] Destroying semaphore 0x43F44090
[SDL_CreateMutex] Created mutex 0x6FFAA8A0
[SDL_CreateMutex] Created mutex 0x6FFAA8C0
[OS4_InitThreadSubSystem] Already initialized
[SDL_CreateMutex] Created mutex 0x6FFAA8E0
[SDL_CreateSemaphore] Created semaphore 0x43F359D0 with count 0
[SDL_CreateSemaphore] Created semaphore 0x43F5C418 with count 0
[SDL_SYS_CreateThread] Node 0x444D7150
[SDL_SYS_CreateThread] Created new thread 'SDLTimer' (task 0x53D10C60, args 0x43F44090)
[OS4_RunThread] This task 0x53D10C60, node 0x444D7150, args 0x43F44090
[OS4_TimerCreate] Creating timer 0x444D7164 for task 0x53D10C60
[SDL_SemPost] Signalling task 0x5380E1F0 for semaphore 0x43F5C418
[SDL_SemPost] Semaphore 0x43F5C418 value 1
[SDL_SemWaitTimeout] Semaphore 0x43F5C418 got signal 0x8000
[SDL_DestroySemaphore] Destroying semaphore 0x43F5C418
[SDL_SemPost] Signalling task 0x53D10C60 for semaphore 0x43F359D0
[SDL_SemPost] Semaphore 0x43F359D0 value 1
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[SDL_SemWaitTimeout] Semaphore 0x43F359D0 got signal 0x8000
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (960,480) of size (640x480) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 640*480
[OS4_CreateIconifyGadget] Called
[OS4_CreateIconifyGadget] Image 0x54481C04 for gadget created
[OS4_CreateIconifyGadget] Gadget 0x54481D74 created and added
[OS4_ShowWindow] Showing window 'ScummVM'
[OS4_RefreshCursorState] Mouse shown 0
[OS4_ShowCursor] Hiding cursor
[OS4_SetPointerForEachWindow] Setting pointer object 0x53BE2384 (type 16) for window 0x54481890
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 640*480*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x4CD78300 created for window 'ScummVM'
[OS4_GL_GetProcAddress] Called for 'glEnable'
[OS4_GL_GetProcAddress] Called for 'glDisable'
[OS4_GL_GetProcAddress] Called for 'glIsEnabled'
[OS4_GL_GetProcAddress] Called for 'glClear'
[OS4_GL_GetProcAddress] Called for 'glColor4f'
[OS4_GL_GetProcAddress] Called for 'glViewport'
[OS4_GL_GetProcAddress] Called for 'glMatrixMode'
[OS4_GL_GetProcAddress] Called for 'glLoadIdentity'
[OS4_GL_GetProcAddress] Called for 'glLoadMatrixf'
[OS4_GL_GetProcAddress] Called for 'glShadeModel'
[OS4_GL_GetProcAddress] Called for 'glHint'
[OS4_GL_GetProcAddress] Called for 'glClearColor'
[OS4_GL_GetProcAddress] Called for 'glBlendFunc'
[OS4_GL_GetProcAddress] Called for 'glEnableClientState'
[OS4_GL_GetProcAddress] Called for 'glPixelStorei'
[OS4_GL_GetProcAddress] Called for 'glScissor'
[OS4_GL_GetProcAddress] Called for 'glReadPixels'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glDeleteTextures'
[OS4_GL_GetProcAddress] Called for 'glGenTextures'
[OS4_GL_GetProcAddress] Called for 'glBindTexture'
[OS4_GL_GetProcAddress] Called for 'glTexParameteri'
[OS4_GL_GetProcAddress] Called for 'glTexImage2D'
[OS4_GL_GetProcAddress] Called for 'glTexCoordPointer'
[OS4_GL_GetProcAddress] Called for 'glVertexPointer'
[OS4_GL_GetProcAddress] Called for 'glDrawArrays'
[OS4_GL_GetProcAddress] Called for 'glTexSubImage2D'
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_GetProcAddress] Called for 'glEnableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Failed to load 'glEnableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Called for 'glDisableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Failed to load 'glDisableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Called for 'glUniform1iARB'
[OS4_GL_GetProcAddress] Failed to load 'glUniform1iARB'
[OS4_GL_GetProcAddress] Called for 'glUniform1fARB'
[OS4_GL_GetProcAddress] Failed to load 'glUniform1fARB'
[OS4_GL_GetProcAddress] Called for 'glUniformMatrix4fvARB'
[OS4_GL_GetProcAddress] Failed to load 'glUniformMatrix4fvARB'
[OS4_GL_GetProcAddress] Called for 'glVertexAttrib4fARB'
[OS4_GL_GetProcAddress] Failed to load 'glVertexAttrib4fARB'
[OS4_GL_GetProcAddress] Called for 'glVertexAttribPointerARB'
[OS4_GL_GetProcAddress] Failed to load 'glVertexAttribPointerARB'
[OS4_GL_GetProcAddress] Called for 'glCreateProgramObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glCreateProgramObjectARB'
[OS4_GL_GetProcAddress] Called for 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Called for 'glAttachObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glAttachObjectARB'
[OS4_GL_GetProcAddress] Called for 'glDetachObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glDetachObjectARB'
[OS4_GL_GetProcAddress] Called for 'glLinkProgramARB'
[OS4_GL_GetProcAddress] Failed to load 'glLinkProgramARB'
[OS4_GL_GetProcAddress] Called for 'glUseProgramObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glUseProgramObjectARB'
[OS4_GL_GetProcAddress] Called for 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Called for 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Called for 'glBindAttribLocationARB'
[OS4_GL_GetProcAddress] Failed to load 'glBindAttribLocationARB'
[OS4_GL_GetProcAddress] Called for 'glGetAttribLocationARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetAttribLocationARB'
[OS4_GL_GetProcAddress] Called for 'glGetUniformLocationARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetUniformLocationARB'
[OS4_GL_GetProcAddress] Called for 'glCreateShaderObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glCreateShaderObjectARB'
[OS4_GL_GetProcAddress] Called for 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Called for 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Called for 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Called for 'glShaderSourceARB'
[OS4_GL_GetProcAddress] Failed to load 'glShaderSourceARB'
[OS4_GL_GetProcAddress] Called for 'glCompileShaderARB'
[OS4_GL_GetProcAddress] Failed to load 'glCompileShaderARB'
[OS4_GL_GetProcAddress] Called for 'glBindFramebufferEXT'
[OS4_GL_GetProcAddress] Failed to load 'glBindFramebufferEXT'
[OS4_GL_GetProcAddress] Called for 'glDeleteFramebuffersEXT'
[OS4_GL_GetProcAddress] Failed to load 'glDeleteFramebuffersEXT'
[OS4_GL_GetProcAddress] Called for 'glGenFramebuffersEXT'
[OS4_GL_GetProcAddress] Failed to load 'glGenFramebuffersEXT'
[OS4_GL_GetProcAddress] Called for 'glFramebufferTexture2DEXT'
[OS4_GL_GetProcAddress] Failed to load 'glFramebufferTexture2DEXT'
[OS4_GL_GetProcAddress] Called for 'glCheckFramebufferStatusEXT'
[OS4_GL_GetProcAddress] Failed to load 'glCheckFramebufferStatusEXT'
[OS4_GL_GetProcAddress] Called for 'glActiveTextureARB'
[SDL_CreateMutex] Created mutex 0x6FFAA960
Edited by Raziel on 2020/12/2 9:40:13
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Another question (out of the context) and which i've probably asked before
There is still a GCC flag set for cross builds on (nearly all) PPC platforms called "-mlongcall"
from the darwin configure part:
# Pass -mlongcall to gcc so that it emits long calls
# which will allow for calls larger than 32MB. The linker
# will discard the calls if they are not needed, but we
# need to ensure the compiler emits them in the first place.
Does this still apply (to AmigaOS4/all PPC platforms)? Does this only apply (if at all) to cross builds? And if yes, why not on native builds? Where's the difference in the produced binary?
Thank you
Edited by Raziel on 2020/12/2 7:15:15
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
and this is with a static debug build...seems it crashes while opening the window?
[_OS4_INIT] IExec 0x02973054
[SDL_CreateMutex] Created mutex 0x6FFAA7A0
[OS4_InitThreadSubSystem] Main task 0x5380E1F0
[OS4_InitThreadSubSystem] Children mutex 0x6FFAA7C0, waiters mutex 0x6FFAA7E0
[OS4_OpenLibrary] Opening 'dos.library' version 50 succeeded (address 0x6FE97220)
[OS4_GetInterface] Getting interface for libbase 0x6FE97220 succeeded (address 0x6FB955D0)
[OS4_InitThreadSubSystem] dosBase 0x6FE97220, iDos 0x6FB955D0
[OS4_InitTimerSubSystem] Called
[OS4_InitTimerSubSystem] ITimer 0x6FF8E900
[OS4_InitTimerSubSystem] Timer frequency 66666666 Hz
[OS4_TimerCreate] Creating timer 0x44122298 for task 0x5380E1F0
[SDL_CreateMutex] Created mutex 0x6FFAA800
[SDL_CreateMutex] Created mutex 0x6FFAA820
[OS4_InitThreadSubSystem] Already initialized
[OS4_CreateDevice] *** SDL 2.0.12 video initialization starts ***
[OS4_CreateDevice] Build date: 27.4.2020
[OS4_AllocSystemResources] Called
[OS4_OpenLibraries] Opening libraries
[OS4_OpenLibrary] Opening 'graphics.library' version 54 succeeded (address 0x6FFB8420)
[OS4_OpenLibrary] Opening 'layers.library' version 53 succeeded (address 0x6FFFE4F0)
[OS4_OpenLibrary] Opening 'intuition.library' version 51 succeeded (address 0x6FF494D0)
[OS4_OpenLibrary] Opening 'icon.library' version 51 succeeded (address 0x62ADE0CC)
[OS4_OpenLibrary] Opening 'workbench.library' version 51 succeeded (address 0x6FEF808C)
[OS4_OpenLibrary] Opening 'keymap.library' version 51 succeeded (address 0x6FF622C0)
[OS4_OpenLibrary] Opening 'textclip.library' version 51 succeeded (address 0x61370DFC)
[OS4_OpenLibrary] Opening 'dos.library' version 51 succeeded (address 0x6FE97220)
[OS4_GetInterface] Getting interface for libbase 0x6FFB8420 succeeded (address 0x6FF3D000)
[OS4_GetInterface] Getting interface for libbase 0x6FFFE4F0 succeeded (address 0x6FF3C140)
[OS4_GetInterface] Getting interface for libbase 0x6FF494D0 succeeded (address 0x6FFFF800)
[OS4_GetInterface] Getting interface for libbase 0x62ADE0CC succeeded (address 0x6FDC27A0)
[OS4_GetInterface] Getting interface for libbase 0x6FEF808C succeeded (address 0x6FDC2E30)
[OS4_GetInterface] Getting interface for libbase 0x6FF622C0 succeeded (address 0x6FF8F500)
[OS4_GetInterface] Getting interface for libbase 0x61370DFC succeeded (address 0x613E9D20)
[OS4_GetInterface] Getting interface for libbase 0x6FE97220 succeeded (address 0x6FB955D0)
[OS4_OpenLibraries] All library interfaces OK
[OS4_FindApplicationName] GetCliProgramName: 'scummvm'
[OS4_FindApplicationName] Application name: 'scummvm'
[OS4_GetInterface] Getting interface for libbase 0x6FF6250C succeeded (address 0x6FEAD3D0)
[OS4_VideoInit] Called
[OS4_InitModes] Called
[OS4_LockPubScreen] Locking public screen
[OS4_LockPubScreen] Public screen 0x617879C0 locked
[OS4_GetDisplayMode] RTG mode 1343427328: w=2560, h=1440, bits=24
[OS4_CreateDefaultCursor] 0x440D9600
[OS4_CreateHiddenCursor] Called
[OS4_CreateCursor] Surface 0x440D9628, cursor 0x440D9720, hot_x 0, hot_y 0
[OS4_CopyImageData] Copying cursor data 1*1 from surface 0x440D9628 to buffer 0x440D9748
[OS4_GetDoubleClickTimeInMillis] Doubleclick time 1500 ms
[OS4_ShowCursor] Hiding cursor
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (1264,704) of size (32x32) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 32*32
[OS4_CreateIconifyGadgetForWindow] Don't add gadget for too small window 32*32 (OS4 bug)
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 32*32*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x48C23300 created for window ''
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_MakeCurrent] Called window=0x00000000 context=0x00000000
[OS4_GL_DeleteContext] Called with context=0x48C23300
[OS4_GL_DeleteContext] Found MiniGL context, clearing window binding
[OS4_DestroyWindow] Called for '' (flags 0xA)
[OS4_RemoveAppWindow] Removing AppWindow
[OS4_CloseSystemWindow] Closing window '' (address 0x54481890)
[OS4_CloseScreen] Public screen, not closing
[OS4_GL_FreeBuffers] Called
[OS4_GL_UnloadLibrary] Called 0
[OS4_DropInterface] Dropping interface 0x613EF420
[OS4_CloseLibrary] Closing library 0x613EF4F8
[OS4_InitThreadSubSystem] Already initialized
[SDL_CreateMutex] Created mutex 0x6FFAA840
[OS4_InitThreadSubSystem] Already initialized
[AMIGAINPUT_OpenLibrary] Called
[OS4_OpenLibrary] Opening 'AmigaInput.library' version 51 succeeded (address 0x5380CC48)
[OS4_GetInterface] Getting interface for libbase 0x5380CC48 succeeded (address 0x4F12DAB0)
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=1, axes=2, buttons=3
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=4
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_GamePort' (AI ID=3328) has no axes/buttons - ignoring.
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=8
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_HornetGP' (AI ID=7936) has no axes/buttons - ignoring.
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=4
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_sblive' (AI ID=3840) has no axes/buttons - ignoring.
[AMIGAINPUT_EnumerateJoysticks] ENUMJOY: id=1142038060, type=3, axes=0, buttons=8
[AMIGAINPUT_EnumerateJoysticks] Joystick 'PCI_sblive_hornet' (AI ID=24320) has no axes/buttons - ignoring.
[AMIGAINPUT_JoystickInit] EnumDevices returned 0
[AMIGAINPUT_JoystickInit] Found 0 joysticks
[OS4_InitThreadSubSystem] Already initialized
[SDL_CreateMutex] Created mutex 0x6FFAA860
[SDL_DestroyMutex] Destroying mutex 0x6FFAA860
[OS4_GetDisplayModes] Called
[OS4_GetDisplayMode] RTG mode 1019940: w=640, h=480, bits=8
[OS4_GetDisplayMode] RTG mode 1342246912: w=640, h=480, bits=8
[OS4_GetDisplayMode] RTG mode 1342247168: w=640, h=480, bits=16
[OS4_GetDisplayMode] RTG mode 1342247680: w=640, h=480, bits=24
[OS4_GetDisplayMode] RTG mode 1342181376: w=640, h=480, bits=8
[OS4_GetDisplayMode] RTG mode 1342181632: w=640, h=480, bits=16
[OS4_GetDisplayMode] RTG mode 1342182144: w=640, h=480, bits=24
[OS4_GetDisplayMode] RTG mode 1342312448: w=640, h=512, bits=8
[OS4_GetDisplayMode] RTG mode 1342312704: w=640, h=512, bits=16
[OS4_GetDisplayMode] RTG mode 1342313216: w=640, h=512, bits=24
[OS4_GetDisplayMode] RTG mode 1342377984: w=640, h=512, bits=8
[OS4_GetDisplayMode] RTG mode 1342378240: w=640, h=512, bits=16
[OS4_GetDisplayMode] RTG mode 1342378752: w=640, h=512, bits=24
[OS4_GetDisplayMode] RTG mode 1342443520: w=720, h=400, bits=8
[OS4_GetDisplayMode] RTG mode 1342443776: w=720, h=400, bits=16
[OS4_GetDisplayMode] RTG mode 1342444288: w=720, h=400, bits=24
[OS4_GetDisplayMode] RTG mode 1342509056: w=800, h=600, bits=8
[OS4_GetDisplayMode] RTG mode 1342509312: w=800, h=600, bits=16
[OS4_GetDisplayMode] RTG mode 1342509824: w=800, h=600, bits=24
[OS4_GetDisplayMode] RTG mode 1342574592: w=800, h=600, bits=8
[OS4_GetDisplayMode] RTG mode 1342574848: w=800, h=600, bits=16
[OS4_GetDisplayMode] RTG mode 1342575360: w=800, h=600, bits=24
[OS4_GetDisplayMode] RTG mode 1342640128: w=832, h=624, bits=8
[OS4_GetDisplayMode] RTG mode 1342640384: w=832, h=624, bits=16
[OS4_GetDisplayMode] RTG mode 1342640896: w=832, h=624, bits=24
[OS4_GetDisplayMode] RTG mode 1342705664: w=1024, h=768, bits=8
[OS4_GetDisplayMode] RTG mode 1342705920: w=1024, h=768, bits=16
[OS4_GetDisplayMode] RTG mode 1342706432: w=1024, h=768, bits=24
[OS4_GetDisplayMode] RTG mode 1342771200: w=1024, h=768, bits=8
[OS4_GetDisplayMode] RTG mode 1342771456: w=1024, h=768, bits=16
[OS4_GetDisplayMode] RTG mode 1342771968: w=1024, h=768, bits=24
[OS4_GetDisplayMode] RTG mode 1342836736: w=1152, h=870, bits=8
[OS4_GetDisplayMode] RTG mode 1342836992: w=1152, h=870, bits=16
[OS4_GetDisplayMode] RTG mode 1342837504: w=1152, h=870, bits=24
[OS4_GetDisplayMode] RTG mode 1342902272: w=1280, h=512, bits=8
[OS4_GetDisplayMode] RTG mode 1342902528: w=1280, h=512, bits=16
[OS4_GetDisplayMode] RTG mode 1342903040: w=1280, h=512, bits=24
[OS4_GetDisplayMode] RTG mode 1342967808: w=1280, h=720, bits=8
[OS4_GetDisplayMode] RTG mode 1342968064: w=1280, h=720, bits=16
[OS4_GetDisplayMode] RTG mode 1342968576: w=1280, h=720, bits=24
[OS4_GetDisplayMode] RTG mode 1343033344: w=1280, h=800, bits=8
[OS4_GetDisplayMode] RTG mode 1343033600: w=1280, h=800, bits=16
[OS4_GetDisplayMode] RTG mode 1343034112: w=1280, h=800, bits=24
[OS4_GetDisplayMode] RTG mode 1343098880: w=1280, h=1024, bits=8
[OS4_GetDisplayMode] RTG mode 1343099136: w=1280, h=1024, bits=16
[OS4_GetDisplayMode] RTG mode 1343099648: w=1280, h=1024, bits=24
[OS4_GetDisplayMode] RTG mode 1343164416: w=1280, h=1024, bits=8
[OS4_GetDisplayMode] RTG mode 1343164672: w=1280, h=1024, bits=16
[OS4_GetDisplayMode] RTG mode 1343165184: w=1280, h=1024, bits=24
[OS4_GetDisplayMode] RTG mode 1343229952: w=1600, h=900, bits=8
[OS4_GetDisplayMode] RTG mode 1343230208: w=1600, h=900, bits=16
[OS4_GetDisplayMode] RTG mode 1343230720: w=1600, h=900, bits=24
[OS4_GetDisplayMode] RTG mode 1343295488: w=1680, h=1050, bits=8
[OS4_GetDisplayMode] RTG mode 1343295744: w=1680, h=1050, bits=16
[OS4_GetDisplayMode] RTG mode 1343296256: w=1680, h=1050, bits=24
[OS4_GetDisplayMode] RTG mode 1343361024: w=1920, h=1080, bits=8
[OS4_GetDisplayMode] RTG mode 1343361280: w=1920, h=1080, bits=16
[OS4_GetDisplayMode] RTG mode 1343361792: w=1920, h=1080, bits=24
[OS4_GetDisplayMode] RTG mode 1343426560: w=2560, h=1440, bits=8
[OS4_GetDisplayMode] RTG mode 1343426816: w=2560, h=1440, bits=16
[OS4_GetDisplayMode] RTG mode 1343427328: w=2560, h=1440, bits=24
[OS4_InitThreadSubSystem] Already initialized
[OS4_OpenAhiDevice] ahi.device opened
[OS4_OpenAhiDevice] IO requests created
[OS4_OpenAhiDevice] deviceOpen = 1
[OS4_CloseAhiDevice] Closing device
[OS4_CloseAhiDevice] Freeing I/O requests
[OS4_CloseAhiDevice] Deleting message port
[OS4_CloseAhiDevice] Device closed
[OS4_AudioAvailable] AHI is available
[SDL_CreateMutex] Created mutex 0x6FFAA860
[SDL_CreateMutex] Created mutex 0x6FFAA880
[OS4_OpenDevice] handle 0x00000000, devname (null), iscapture 0
[OS4_OpenDevice] New format = 0x9010
[OS4_OpenDevice] Buffer size = 32768
[SDL_CreateSemaphore] Created semaphore 0x43F44090 with count 0
[SDL_SYS_CreateThread] Node 0x52B487F0
[SDL_SYS_CreateThread] Created new thread 'SDLAudioP1' (task 0x53D107E0, args 0x43F359D0)
[OS4_RunThread] This task 0x53D107E0, node 0x52B487F0, args 0x43F359D0
[OS4_TimerCreate] Creating timer 0x52B48804 for task 0x53D107E0
[SDL_SemPost] Signalling task 0x5380E1F0 for semaphore 0x43F44090
[SDL_SemPost] Semaphore 0x43F44090 value 1
[SDL_SYS_SetThreadPriority] Changed task 0x53D107E0 priority from 0 to 10
[OS4_ThreadInit] Called
[OS4_OpenAhiDevice] ahi.device opened
[OS4_OpenAhiDevice] IO requests created
[OS4_OpenAhiDevice] deviceOpen = 1
[SDL_SemWaitTimeout] Semaphore 0x43F44090 got signal 0x8000
[SDL_DestroySemaphore] Destroying semaphore 0x43F44090
[SDL_CreateMutex] Created mutex 0x6FFAA8A0
[SDL_CreateMutex] Created mutex 0x6FFAA8C0
[OS4_InitThreadSubSystem] Already initialized
[SDL_CreateMutex] Created mutex 0x6FFAA8E0
[SDL_CreateSemaphore] Created semaphore 0x43F359D0 with count 0
[SDL_CreateSemaphore] Created semaphore 0x43F5C418 with count 0
[SDL_SYS_CreateThread] Node 0x444D7150
[SDL_SYS_CreateThread] Created new thread 'SDLTimer' (task 0x53D10C60, args 0x43F44090)
[OS4_RunThread] This task 0x53D10C60, node 0x444D7150, args 0x43F44090
[OS4_TimerCreate] Creating timer 0x444D7164 for task 0x53D10C60
[SDL_SemPost] Signalling task 0x5380E1F0 for semaphore 0x43F5C418
[SDL_SemPost] Semaphore 0x43F5C418 value 1
[SDL_SemWaitTimeout] Semaphore 0x43F5C418 got signal 0x8000
[SDL_DestroySemaphore] Destroying semaphore 0x43F5C418
[SDL_SemPost] Signalling task 0x53D10C60 for semaphore 0x43F359D0
[SDL_SemPost] Semaphore 0x43F359D0 value 1
[OS4_LoadGlLibrary] Profile_mask 0, major ver 1, minor ver 3
[SDL_SemWaitTimeout] Semaphore 0x43F359D0 got signal 0x8000
[OS4_IsMiniGL] OpenGL 1.3 requested
[OS4_GL_LoadLibrary] Called 0
[OS4_OpenLibrary] Opening 'minigl.library' version 2 succeeded (address 0x613EF4F8)
[OS4_GetInterface] Getting interface for libbase 0x613EF4F8 succeeded (address 0x613EF420)
[OS4_GL_LoadLibrary] MiniGL library opened
[OS4_GetIDCMPFlags] Called
[OS4_GetWindowFlags] Called
[OS4_GetScreenForWindow] Window mode (public screen)
[OS4_CenterWindow] X centered
[OS4_CenterWindow] Y centered
[OS4_CreateSystemWindow] Opening window '(null)' at (960,480) of size (640x480) on screen 0x617879C0
[OS4_CreateSystemWindow] Window address 0x54481890
[OS4_SetupWindowData] '(null)' dimensions 640*480
[OS4_CreateIconifyGadget] Called
[OS4_CreateIconifyGadget] Image 0x54481C04 for gadget created
[OS4_CreateIconifyGadget] Gadget 0x54481D74 created and added
[OS4_ShowWindow] Showing window 'ScummVM'
[OS4_RefreshCursorState] Mouse shown 0
[OS4_ShowCursor] Hiding cursor
[OS4_SetPointerForEachWindow] Setting pointer object 0x53BE2384 (type 16) for window 0x54481890
[OS4_GL_CreateContext] Called
[OS4_GL_AllocateBuffers] Allocate double buffer bitmaps 640*480*32
[OS4_GL_AllocateBuffers] SRC FMT 6, SRC2 FMT 6, DST FMT 6
[OS4_GL_CreateContext] MiniGL context 0x4CD78300 created for window 'ScummVM'
[OS4_GL_GetProcAddress] Called for 'glEnable'
[OS4_GL_GetProcAddress] Called for 'glDisable'
[OS4_GL_GetProcAddress] Called for 'glIsEnabled'
[OS4_GL_GetProcAddress] Called for 'glClear'
[OS4_GL_GetProcAddress] Called for 'glColor4f'
[OS4_GL_GetProcAddress] Called for 'glViewport'
[OS4_GL_GetProcAddress] Called for 'glMatrixMode'
[OS4_GL_GetProcAddress] Called for 'glLoadIdentity'
[OS4_GL_GetProcAddress] Called for 'glLoadMatrixf'
[OS4_GL_GetProcAddress] Called for 'glShadeModel'
[OS4_GL_GetProcAddress] Called for 'glHint'
[OS4_GL_GetProcAddress] Called for 'glClearColor'
[OS4_GL_GetProcAddress] Called for 'glBlendFunc'
[OS4_GL_GetProcAddress] Called for 'glEnableClientState'
[OS4_GL_GetProcAddress] Called for 'glPixelStorei'
[OS4_GL_GetProcAddress] Called for 'glScissor'
[OS4_GL_GetProcAddress] Called for 'glReadPixels'
[OS4_GL_GetProcAddress] Called for 'glGetIntegerv'
[OS4_GL_GetProcAddress] Called for 'glDeleteTextures'
[OS4_GL_GetProcAddress] Called for 'glGenTextures'
[OS4_GL_GetProcAddress] Called for 'glBindTexture'
[OS4_GL_GetProcAddress] Called for 'glTexParameteri'
[OS4_GL_GetProcAddress] Called for 'glTexImage2D'
[OS4_GL_GetProcAddress] Called for 'glTexCoordPointer'
[OS4_GL_GetProcAddress] Called for 'glVertexPointer'
[OS4_GL_GetProcAddress] Called for 'glDrawArrays'
[OS4_GL_GetProcAddress] Called for 'glTexSubImage2D'
[OS4_GL_GetProcAddress] Called for 'glGetString'
[OS4_GL_GetProcAddress] Called for 'glGetError'
[OS4_GL_GetProcAddress] Called for 'glEnableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Failed to load 'glEnableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Called for 'glDisableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Failed to load 'glDisableVertexAttribArrayARB'
[OS4_GL_GetProcAddress] Called for 'glUniform1iARB'
[OS4_GL_GetProcAddress] Failed to load 'glUniform1iARB'
[OS4_GL_GetProcAddress] Called for 'glUniform1fARB'
[OS4_GL_GetProcAddress] Failed to load 'glUniform1fARB'
[OS4_GL_GetProcAddress] Called for 'glUniformMatrix4fvARB'
[OS4_GL_GetProcAddress] Failed to load 'glUniformMatrix4fvARB'
[OS4_GL_GetProcAddress] Called for 'glVertexAttrib4fARB'
[OS4_GL_GetProcAddress] Failed to load 'glVertexAttrib4fARB'
[OS4_GL_GetProcAddress] Called for 'glVertexAttribPointerARB'
[OS4_GL_GetProcAddress] Failed to load 'glVertexAttribPointerARB'
[OS4_GL_GetProcAddress] Called for 'glCreateProgramObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glCreateProgramObjectARB'
[OS4_GL_GetProcAddress] Called for 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Called for 'glAttachObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glAttachObjectARB'
[OS4_GL_GetProcAddress] Called for 'glDetachObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glDetachObjectARB'
[OS4_GL_GetProcAddress] Called for 'glLinkProgramARB'
[OS4_GL_GetProcAddress] Failed to load 'glLinkProgramARB'
[OS4_GL_GetProcAddress] Called for 'glUseProgramObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glUseProgramObjectARB'
[OS4_GL_GetProcAddress] Called for 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Called for 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Called for 'glBindAttribLocationARB'
[OS4_GL_GetProcAddress] Failed to load 'glBindAttribLocationARB'
[OS4_GL_GetProcAddress] Called for 'glGetAttribLocationARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetAttribLocationARB'
[OS4_GL_GetProcAddress] Called for 'glGetUniformLocationARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetUniformLocationARB'
[OS4_GL_GetProcAddress] Called for 'glCreateShaderObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glCreateShaderObjectARB'
[OS4_GL_GetProcAddress] Called for 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Failed to load 'glDeleteObjectARB'
[OS4_GL_GetProcAddress] Called for 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetObjectParameterivARB'
[OS4_GL_GetProcAddress] Called for 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Failed to load 'glGetInfoLogARB'
[OS4_GL_GetProcAddress] Called for 'glShaderSourceARB'
[OS4_GL_GetProcAddress] Failed to load 'glShaderSourceARB'
[OS4_GL_GetProcAddress] Called for 'glCompileShaderARB'
[OS4_GL_GetProcAddress] Failed to load 'glCompileShaderARB'
[OS4_GL_GetProcAddress] Called for 'glBindFramebufferEXT'
[OS4_GL_GetProcAddress] Failed to load 'glBindFramebufferEXT'
[OS4_GL_GetProcAddress] Called for 'glDeleteFramebuffersEXT'
[OS4_GL_GetProcAddress] Failed to load 'glDeleteFramebuffersEXT'
[OS4_GL_GetProcAddress] Called for 'glGenFramebuffersEXT'
[OS4_GL_GetProcAddress] Failed to load 'glGenFramebuffersEXT'
[OS4_GL_GetProcAddress] Called for 'glFramebufferTexture2DEXT'
[OS4_GL_GetProcAddress] Failed to load 'glFramebufferTexture2DEXT'
[OS4_GL_GetProcAddress] Called for 'glCheckFramebufferStatusEXT'
[OS4_GL_GetProcAddress] Failed to load 'glCheckFramebufferStatusEXT'
[OS4_GL_GetProcAddress] Called for 'glActiveTextureARB'
[SDL_CreateMutex] Created mutex 0x6FFAA960
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
I learned a bit over at os4coding.net about reading crashlogs.
So far i can see that it crashes before or while [OS4_GL_GetProcAddress] Called for 'glGetString' was computed.
The crash was produced by >7F061AB8: 807A0000 lwz r3,0(r26) ... so, a load/copy/read (word) operation from register 26, offset 0 to register 3.
Register 26 is NULL or zero 24: 00000000 00000000 00000000 4B7B5A80 4B7B5A18 45D41BB0 435F3C98 4B7B5A60
So, it tried to read a word from address zero which caused the crash, is that correct?
...
Now, glGetString sounds as if it would like to read something from somewhere, so it possibly *could* be the bad boy? If i go ahead and add some printf's around the glGetString command, should i be good?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Unfortunately nothing. In "dynamic" case there is this crash but my hypothesis seemed wrong, context was not deleted based on the serial log. I guess I have to try it myself. Just wondering how to get the dynamic linking working as there used to be some issues earlier. And yeah, I agree with your analysis about DSI, looked like a classical zero page hit.
In "static" case I cannot see any crash. Do you have more logs? This would be probably easier to test. And earlier when I built ScummVM statically there was no this crash issue after _glContext workaround, so I wonder why it popped up.
Crap, i thought i might have found a reason why it crashes. I checked out the stack usage of static builds the other day and Ranger reported that it went down to a few hundred kb...i don't know why, it used to leech at least one MB or more.
So, i thought, maybe the stack is the problem in shared builds, as i cannot check the stack usage with statics anymore (see above) there is a good chance that, with all the new engines, stack usage went up too and maybe it's crashing because of that? I locally enhanced the stack to 20 MB and then the crash changed to what you see now. I'll try and go even higher and see if there is some change.
edit: Nope, same crash with 200 MB stack
Nevermind, it's not the stack :-/
shared builds: I have added some shared dependent stuff to configure recently.
It should now be as easy as Quote:
sh ./configure --enable-plugins
to make the build as short as possible, use Quote:
sh ./configure --enable-plugins --disable-all-engines --enable-engine=scumm
edit 2: Oh, yes, you need all the sobjs...and the plugins
Hmm...create an assign called "Games:" somewhere and let the automatic installer do the rest Quote:
gmake amigaosdist
will extract and install all needed sobjs to a subdir called SOBJS in Games:ScummVM, the same with plugins.
static builds: Yes, static isn't affected and i don't know why either. There is something interfering in shared builds, it seems and i would *love* to nail it. If we only had a working debugger :-/
crash logs: I don't have any more logs that fundamentally differ. I can do more, just ask
btw: i now hit the "Memory exhausted" on linking a full build more often, i guess two or three more engines and i'm out Too bad
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
New log (with no difference), this time with gcc 8.4.0 from here
Crash log for task "scummvm_debug"
Generated by GrimReaper 53.19
Crash occured in module scummvm_debug at address 0x7DEF47BC
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
I was trying out a simple image display (SDL2) program of a few lines in size.
After fixing all the comnpilation errors i'm stuck at one.
#include <iostream>
This file is not found by the compiler Quote:
gcc -c -o Img_SDL.o Img_SDL.c In file included from Img_SDL.c:2: iostream.h:2:10: fatal error: iostream: No such file or directory 2 | #include <iostream> | ^~~~~~~~~~ compilation terminated. gmake: *** [Img_SDL.o] Error 1
The file itself resides in SDK:gcc/include/c++/9.1.0/iostream, so i guess it's a missing path or assing somewhere, but shouldn't the ones that are placed by the SDK installer be sufficient?
Here's the example code (yes, it's the - slightly adapted - SDL image display example, need it to test something else)
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg