From 7dbfe967af5638ae18179a7628724e5b213f8a4c Mon Sep 17 00:00:00 2001 From: tomch Date: Mon, 30 Nov 2009 21:33:48 +0000 Subject: [PATCH] Fix reading DIP SW1 for "external" CLK (115.2K mode) Fix two typos with baud rate (112.5K instead of 115.2K) --- AppleWin/docs/History.txt | 2 +- AppleWin/source/SerialComms.cpp | 3 ++- AppleWin/web/index.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AppleWin/docs/History.txt b/AppleWin/docs/History.txt index 8194a7a3..7da3264f 100644 --- a/AppleWin/docs/History.txt +++ b/AppleWin/docs/History.txt @@ -21,7 +21,7 @@ Restrictions/bugs: 1.17.1 - 27 Nov 2009 -------------------- Changes: -. SSC: Support 112.5K Baud +. SSC: Support 115.2K Baud . Dynamically generated 'Serial Port' drop-down menu - Save "Serial Port Name" to Registry (instead of drop-down menu index as "Serial Port") . Updated Help chm's "Transferring Disk Images" - thanks to David Schmidt diff --git a/AppleWin/source/SerialComms.cpp b/AppleWin/source/SerialComms.cpp index e3e95191..4b99844b 100644 --- a/AppleWin/source/SerialComms.cpp +++ b/AppleWin/source/SerialComms.cpp @@ -181,6 +181,7 @@ UINT CSuperSerialCard::BaudRateToIndex(UINT uBaudRate) case CBR_4800: return 0x0C; case CBR_9600: return 0x0E; case CBR_19200: return 0x0F; + case CBR_115200: return 0x00; } _ASSERT(0); @@ -584,7 +585,7 @@ BYTE __stdcall CSuperSerialCard::CommControl(WORD, WORD, BYTE write, BYTE value, UpdateCommState(); } - return m_uControlByte; + return m_uControlByte; } //=========================================================================== diff --git a/AppleWin/web/index.php b/AppleWin/web/index.php index cf0453a5..580fdc4b 100644 --- a/AppleWin/web/index.php +++ b/AppleWin/web/index.php @@ -31,7 +31,7 @@ Latest AppleWin compiled html help: AppleWin.chm
  • Changes: