<?xml version="1.0" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>16Sector.com - Topic: ProTERM Macro for 115,200 Baud Support</title>
	<link>http://16sector.com/forum/proterm-v31-community-support/proterm-macro-for-115200-baud-support</link>
	<description><![CDATA[Yet Another A2 Hardware Source]]></description>
	<generator>Simple:Press Forum Version 3.1.2</generator>
	<atom:link href="http://16sector.com/forum?proterm-v31-community-support&#038;proterm-macro-for-115200-baud-support&#038;xfeed=topic" rel="self" type="application/rss+xml" />
<item>
	<title>hughhood on ProTERM Macro for 115,200 Baud Support</title>
	<link>http://16sector.com/forum/proterm-v31-community-support/proterm-macro-for-115200-baud-support/page-1/post-36/#p36</link>
	<category>ProTERM v3.1 Community Support</category>
	<guid isPermaLink="true">http://16sector.com/forum/proterm-v31-community-support/proterm-macro-for-115200-baud-support/page-1/post-36/#p36</guid>
	<description><![CDATA[<p>Fellas,</p>
<p>Here are the ProTERM 3.1 Global Macros I promised to support 115,200 baud Zilog SCC capability on the Apple IIGS built-in serial ports.</p>
<p>Please try them out and let me know of any problems, or if you feel I should expand the comments.</p>
<p>Just add these macros to your PT3.GLOBAL file (a text file) in place of the unused OPTION-'h' and OPTION-'H' macros and try them out.</p>
<p>OPTION-'h' resets everything to the ProTERM defaults (110 - 57600 baud), while OPTION-'H' kicks the serial ports into 115,200 baud mode.</p>
<p>I've attempted to make these 'user friendly'. For example, a message describes what is about to happen and allows you to cancel before invoking the 'guts' of the macro.</p>
<p>If your Modem hardware setup is not for one of the built-in IIGS serial ports, you'll get a message informing this, and the macro is cancelled.</p>
<p>Hugh Hood</p>
<p>P.S. - As soon as I get a positive report back on my patch to allow the Super Serial Card to communicate at 115,200 baud from within ProTERM, I'll add it to this same macro.</p>
<p>P.P.S. - In ProTERM, all items within * * are comments.</p>
<p>*<br />
==========================================================================<br />
ProTERM 3.1 High-Speed 115,200 Baud SCC Serial Port Macros<br />
by Hugh Hood / April 29, 2009<br />
==========================================================================<br />
*</p>
<p>*<br />
OPTION-h (lc): Restores available baud rates to ProTERM defaults.<br />
*<br />
@@h</p>
<p>BP 0</p>
<p>IF (ANd !(EQual (MEm 2385), 57), !(EQual (MEm 2385), 56)), {NOte<br />
"This macro is only for use with the Zilog 8530^m"+<br />
 "SCC Serial Ports built into the Apple IIGS." EXit}</p>
<p>NOte "This macro restores the available baud rates to the ProTERM defaults.^m^m"+<br />
     " To invoke a fixed 115,200 rate, use the  macro.^m^m"+<br />
     "                    Press   ESCAPE   to cancel."</p>
<p>IF $w, {EXit}<br />
                                            * If they cancel  exit *</p>
<p>IF $d, {KEy "^["}                           * Leave Editor *</p>
<p>IF (EQual (MEm 2385), 57), {MEm 2398,"D0"}<br />
                                            * Source clock from Baud Rate<br />
                                              Generator for Printer Port -<br />
                                              Channel B / $C039 SCC WR 11 *</p>
<p>IF (EQual (MEm 2385), 56), {MEm 2398,"50"}<br />
                                            * Source clock from Baud Rate<br />
                                              Generator for Modem Port -<br />
                                              Channel A / $C038 SCC WR 11 *</p>
<p>MEm 2388,"01"<br />
                                            * Enable Baud Rate Generator<br />
                                              SCC WR 14 *</p>
<p>MEm 2512,"4745444C4F4D"<br />
                                            * Set 16x Clock Mode Multiplier *</p>
<p>MEm 9162,"313130202033303020203132303020323430302034383030203936303020313932303033383430303537363030"<br />
                                            * Set Baud Rate List to<br />
                                              Default Rates *</p>
<p>DO "online:parameters","[ok]"<br />
                                            * Bump ProTERM to accept<br />
                                              changed values *</p>
<p>JSr 2355<br />
                                            * Bump Zilog SCC to accept<br />
                                              changed values *</p>
<p>EXit</p>
<p>*<br />
OPTION-H (uc) : Changes baud to a fixed, 115,200 rate.<br />
*<br />
@@H</p>
<p>BP 0</p>
<p>IF (ANd !(EQual (MEm 2385), 57), !(EQual (MEm 2385), 56)), {NOte<br />
"This macro is only for use with the Zilog 8530^m"+<br />
 "SCC Serial Ports built into the Apple IIGS." EXit}</p>
<p>NOte " This macro changes the baud to a fixed 115,200 rate.^m^m"+<br />
     "To restore default settings, use the  macro.^m^m"+<br />
     "              Press   ESCAPE   to cancel."</p>
<p>IF $w, {EXit}<br />
                                            * If they cancel  exit *</p>
<p>IF $d, {KEy "^["}                           * Leave Editor *</p>
<p>IF (EQual (MEm 2385), 57), {MEm 2398,"80"}<br />
                                            * Source clock from RTxC Pin<br />
                                              for Printer Port -<br />
                                              Channel B / $C039 SCC WR 11 *</p>
<p>IF (EQual (MEm 2385), 56), {MEm 2398,"00"}<br />
                                            * Source clock from RTxC Pin<br />
                                              for Modem Port -<br />
                                              Channel B / $C039 SCC WR 11 *</p>
<p>MEm 2388,"00"<br />
                                            * Disable Baud Rate Generator<br />
                                              SCC WR 14 *</p>
<p>MEm 2512,"8785848C8F8D"<br />
                                            * Set 32x Clock Mode Multiplier *</p>
<p>MEm 9162,"3131352E323131352E323131352E323131352E323131352E323131352E323131352E323131352E323131352E32"<br />
                                            * Set Baud Rate List to<br />
                                              115,200 Baud Rate *</p>
<p>DO "online:parameters","[ok]"<br />
                                            * Bump ProTERM to accept<br />
                                              changed values *</p>
<p>JSr 2355<br />
                                            * Bump Zilog SCC to accept<br />
                                              changed values *</p>
<p>EXit</p>
<p>*<br />
==========================================================================<br />
*</p>
]]></description>
	<pubDate>Thu, 30 Apr 2009 19:23:14 -0700</pubDate>
</item>
</channel>
</rss>