• src/sbbs3/sbbsexec.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, February 01, 2022 01:26:56
    https://gitlab.synchro.net/main/sbbs/-/commit/5f2881f28b5ed36f112e31cc
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    Fix (loss of) carrier detect reporting in Virtual UART driver

    So Hobo and I have noticed that Global War was leaving game lock (*.LOK) files behind when he disconnected while in the game (e.g. due to the game not responding or something).
    This was happening because GWAR was not recognizing the loss of connection ("carrier detect" or DCD) and SBBS would ungracefully terminate the process after 5 seconds of being disconnected, thus the game lock files would remain and requiring manual clean-up.

    I discovered that if I changed the WAR.CFG file to use FOSSIL instead of UART, Global War would then correctly recognize the loss of carrier and exit gracefully (and not leave any .LOK files behind). So... I suspected an issue with the Virtual UART driver. It turns out, that a program that relies on the modem status register change interrupt (and doesn't "poll" the UART MSR register) might never know that the "carrier" was lost. This is fixed by waiting on the hungup_event in the interrupt_thread and deasserting DCD in the "virtual" MSR register and asserting the MSR change interrupt to notify the program that it has in fact changed. Good thing for WaitForMultipleObjects(). Uh huh.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, May 09, 2022 18:49:26
    https://gitlab.synchro.net/main/sbbs/-/commit/d395a548874bac3a46370a3d
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    Better RTS support

    Reducing log output (lowering log level of line 437 from LOG_INFO to LOG_DEBUG) highlighted an issue with Telix stopping RX. That was fixed by checking RTS in input_thread(). Qmodem needs RTS checked when writing the MCR.

    This improved RTS support has been tested with Telix, Qmodem, Telemate, and Banacom at full data rates.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, May 23, 2022 18:04:14
    https://gitlab.synchro.net/main/sbbs/-/commit/8dbbe0a38f295e6e773f745b
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    No need to call reset_yield() if we're not calilng maybe_yield()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, May 30, 2022 16:35:58
    https://gitlab.synchro.net/main/sbbs/-/commit/3ba5aa8d7a6633e248d57063
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    Store the UART register/settings in a struct for easy re-init

    Re-init the UART struct in the init routine to avoid confusion when making .ini file changes with older NTVDMs (including NTVDMx64) which don't re-load the VDDs for every invocation.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, May 30, 2022 17:23:54
    https://gitlab.synchro.net/main/sbbs/-/commit/19396b9c77e3da8e849eaf7a
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    Fix compile-breaking typos in last commit

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, June 04, 2022 16:04:34
    https://gitlab.synchro.net/main/sbbs/-/commit/30553f8a946b789856bb49c2
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    Better log messages and yielding upon ReadFile(mailslot) error.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, December 29, 2022 09:55:46
    https://gitlab.synchro.net/main/sbbs/-/commit/9488bda6b6a96006b41db017
    Modified Files:
    src/sbbs3/sbbsexec.c
    Log Message:
    Fix typo

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net