Is this on the Nanonote or the A320?Mortys said:PS : I've launch the first test version you send me and get segmentation fault after seeing the : Initiling A320 Video
Dosbox 0.73... message
terminate called after throwing an instance of 'char*'
They have a wikislaanesh said:Anyone know where the official Ben Nanonote toolchain and especially libraries are?
Currently this DOSBox build is a static build but it's using the Dingux libraries.
slaanesh said:That didn't seem to be the problem after all. After the first crash, subsequent runs would cause this statement to lock up. Which is probably typical behaviour.
So after a fresh boot, it gets passed this easily.
UPDATE:
Alright it's executing but always throwing an exception. Not seg faulting.
How do I determine the cause of this? C++ is not my string point. I'm a C and assembler kind of guy.Code:terminate called after throwing an instance of 'char*'
Anyone know where the official Ben Nanonote toolchain and especially libraries are?
Currently this DOSBox build is a static build but it's using the Dingux libraries.
int main(...)
{
try
{
<main body code here>
}
catch (char *s)
{
DebugOuput("Catch Exception '%s'", s);
}
return 0;
}
try
{
... (main code removed)
...
}
catch (char * error) {
printf("Exit to error: %s\n",error); //(I added this. Nothing is displayed)
GFX_ShowMsg("Exit to error: %s",error);
fflush(NULL);
if(sdl.wait_on_error) {
//TODO Maybe look for some way to show message in linux?
}
}
catch (int){
;//nothing pressed killswitch
}
catch(...){
//Force visible mouse to end user. Somehow this sometimes doesn't happen
SDL_WM_GrabInput(SDL_GRAB_OFF);
SDL_ShowCursor(SDL_ENABLE);
throw;//dunno what happened. rethrow for sdl to catch
}
slaanesh said:Yes, it does look like this:
Code:try { ... (main code removed) ... } catch (char * error) { printf("Exit to error: %s\n",error); //(I added this. Nothing is displayed) GFX_ShowMsg("Exit to error: %s",error); fflush(NULL); if(sdl.wait_on_error) { //TODO Maybe look for some way to show message in linux? } } catch (int){ ;//nothing pressed killswitch } catch(...){ //Force visible mouse to end user. Somehow this sometimes doesn't happen SDL_WM_GrabInput(SDL_GRAB_OFF); SDL_ShowCursor(SDL_ENABLE); throw;//dunno what happened. rethrow for sdl to catch }
slaanesh said:Sorry about the lack of alpha release. I was hoping to get the Nanonote version working but I haven't had any luck. It's bombing out somewhere in the CPU emulation code (i believe) - which is a bugger to debug.
Yes, the A320 version is working fine.Pleng said:slaanesh said:Sorry about the lack of alpha release. I was hoping to get the Nanonote version working but I haven't had any luck. It's bombing out somewhere in the CPU emulation code (i believe) - which is a bugger to debug.
So is the Dingoo version working? Any chance of an Alpha release of that?
slaanesh said:Alright it's almost done. Things are now beginning to work on the Nanonote and on the way I've found improvements that will work for A320 as well.
There are two minor remaining problem sfor the Nanonote:
Keyboard mapping isn't quite right.
There's no RED in the RGB of the display. I'm only getting Greens and Blues. This is most likely a little oopsy on my behalf.