Re: [ES40-developers] New Threading stuff
Status: Alpha
Brought to you by:
iamcamiel
From: Hittner, D. T. <dav...@ng...> - 2008-03-05 20:05:31
|
Well, at least there is a workaround - use the win32 gui instead of the SDL gui. Using the win32 gui *does* work - it's just that the win32 gui seems to have even more problems with failure to erase scrolled characters than the SDL gui does, and seems to "lock up" more frequently as well. :-( Thanks! Dave > -----Original Message----- > From: Camiel Vanderhoeven [mailto:iam...@gm...] > Sent: Wednesday, March 05, 2008 2:01 PM > To: Hittner, David T. > Cc: ES40 Developer Discussions > Subject: Re: New Threading stuff > > This is very strange... > > The call to SDL_SetVideoMode() in > bx_sdl_gui_c::dimension_update() never returns, which means > that the Cirrus' thread blocks the GUI lock. This lock in > turn blocks the CPU thread once it starts initializing the > graphics controller... > > This does not happen when using the win32 gui, only with SDL, > which explains why I haven't caught it (although - of course > - I really should have). > > I have no idea at this point what could cause this. > > Camiel. > > On Wed, Mar 5, 2008 at 7:13 PM, Camiel Vanderhoeven > <iam...@gm...> wrote: > > Hi David, > > > > > > On Wed, Mar 5, 2008 at 6:32 PM, Hittner, David T. > <dav...@ng...> wrote: > > > I downloaded the new threaded CVS, downloaded POCO, and > built it > > > (Release-Shared). > > > I did not delete any rom files or change my ES40.cfg file. > > > I then copied PocoFoundation.dll to my ES40 bin > directory, where > > SDL.dll > is. > > > > > > When I run ES40, this is what I see in the console, and it just > > hangs > there; > the SDL console never initializes. What am I > > doing wrong? > > > > I don't think you're doing anything wrong, I just tried > it, and it > > gets into a kind of deadlock on the VGA initialization. CPU > usage of > > the emulator drops to zero... I need to look into this. > > > > Camiel. > > > |