{"id":207,"date":"2013-07-14T06:34:43","date_gmt":"2013-07-14T11:34:43","guid":{"rendered":"http:\/\/appleii.ivanx.com\/a2cloud\/?p=207"},"modified":"2023-09-10T12:08:31","modified_gmt":"2023-09-10T17:08:31","slug":"a2cloud-set-the-serial-port-speed","status":"publish","type":"post","link":"https:\/\/appleii.ivanx.com\/a2cloud\/a2cloud-set-the-serial-port-speed\/","title":{"rendered":"18. Increase serial port speed"},"content":{"rendered":"<p>I chose the default speed of 4800 baud for Pi as a lowest common denominator that should work in almost any situation, even a IIc using Z-Link without any kind of hardware handshaking serial cable. It should be fine for command-line stuff, but might be slower than you&#8217;d like if you use any full-screen programs (like cftp) or are transferring with YMODEM.<\/p>\n<p>You can try to use a faster baud rate with the following command:<\/p>\n<p><code>baud baudRate<\/code><\/p>\n<p><code>baudRate<\/code>\u00a0can be 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200. The change will take effect immediately (unless you&#8217;re not doing it from your Apple II itself, in which case it won&#8217;t do anything), so you&#8217;ll need to change the setting in ProTERM or Z-Link, too.<\/p>\n<p>If you want to make the change permanent, with the change taking effect on logout, use:<\/p>\n<p><code>baud -d baudRate<\/code><\/p>\n<p>To see the current speed, just type <code>baud<\/code> by itself.<\/p>\n<p>You&#8217;ll only be able to use 38400 or 57600 on a IIgs (and not with Z-Link), but Hugh Hood has come up with <a title=\"Hugh Hood's 115200 baud ProTERM macros\" href=\"https:\/\/groups.google.com\/forum\/#!searchin\/comp.sys.apple2\/115200$20hugh\" target=\"_blank\" rel=\"noopener\">clever ProTERM macros<\/a> that enable 115200 baud on any Apple II, and A2CLOUD provides them with ProTERM.\u00a0If you use 115200 baud, you&#8217;ll likely drop some characters, especially on an 8-bit Apple II. One strategy you might want to try is to use a slower speed normally, but then &#8220;upshift&#8221; to 115200 for transfers. When you&#8217;re done, you can switch back to the slower speed.<\/p>\n<p>To use Hugh&#8217;s macros, choose &#8220;Read Globals&#8221; from the &#8220;Misc&#8221; menu, and select either PT3.IIE.GLOBALS, PT3.IIC.GLOBALS, or PT3.IIGS.GLOBALS, depending on what computer you&#8217;re using.\u00a0Then, for a IIe or IIc\/IIc+, type solid-apple-F, and it will switch to 115200; you can still switch back to other speeds as usual from the &#8220;Online&#8221; window. For a IIgs, type shift-option-H, and it will switch to 115200 baud; to switch back to other speeds, type option-H to disable the macro. If you want these macros to automatically be available when ProTERM starts without having to use the &#8220;Read Globals&#8221; menu item, delete or rename PT3.GLOBALS, and then rename the appropriate globals file to PT3.GLOBALS.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I chose the default speed of 4800 baud for Pi as a lowest common denominator that should work in almost any situation, even a IIc using Z-Link without any kind of hardware handshaking serial cable. It should be fine for command-line stuff, but might be slower than you&#8217;d like if you use any full-screen programs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,2,4],"tags":[],"_links":{"self":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":18,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":877,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts\/207\/revisions\/877"}],"wp:attachment":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}