First post, by cg_chas
This is a continuation of the thread at chessmaster 4000 turbo modem connectivity under windows 3.11, part of which is now more appropriate in this subforum.
The error is: Unhandled exception at 0x1029984f (msvcr90d.dll) in dosbox_debug.exe: 0xC0000005: Access violation reading location 0x00000002.
0x00000002 of course being a bad pointer.
According to the VC++ 2008 call stack, the offending code is the call to vsprint from this function:
#if SERIAL_DEBUG
void CSerial::log_ser(bool active, char const* format,...) {
if(active) {
// copied from DEBUG_SHOWMSG
char buf[512];
buf[0]=0;
sprintf(buf,"%12.3f [% 7u] ",PIC_FullIndex(), SDL_GetTicks());
va_list msg;
va_start(msg,format);
vsprintf(buf+strlen(buf),format,msg);
va_end(msg);
// Add newline if not present
Bitu len=strlen(buf);
if(buf[len-1]!='\n') strcat(buf,"\r\n");
fputs(buf,debugfp);
}
}
#endif
I just built DOSBox .73MB5 this morning so I have next to no familiary with it, but I will be looking into this debug log error in a little while so i can get a serial communcations log of the more significant issue- why my Chessmaster 4000 under Win3.11 under DosBox fails to work with the modem emulation or nullmodem emulation when other applications function in that environment.
Thanks in advance for any suggestions or full on assistance 😀
Chas