[Coco] Bit-Banger Serial as external console?
Arthur Flexser
flexser at fiu.edu
Wed Mar 27 18:03:27 EDT 2019
If the code is position-independent, there's no need to reassemble it.
Just load it in to wherever you want it using an offset, and resave it
there. For example, if it is currently at $3F00 and you want it at
$2000, try LOADM"REMOTE",&H2000-&H3F00.
Art
On Wed, Mar 27, 2019 at 5:58 PM Stephen Pereira
<stephen.m.pereira.sr at gmail.com> wrote:
>
> Here I am, with the REMOTE code working…
>
> What I wanted to do was use this code in order to have a remote terminal for my version of Color Forth. I went ahead and gave it a try, but of course that does not work because the REMOTE driver (as published) sits in the middle of one of Color Forth’s screen buffers. When I invoke Color Forth, the remote terminal connection disappears, probably because the screen buffers are initialized in some way.
>
> The REMOTE driver is written in position-independent code, so I thought that I would simply type it in again at $1900, which is in a small area of memory not used by DECB or by Color Forth. I loaded in EDTASM so I could use the ZBUG to type the bytes in again, but I found that after I typed in several bytes, ZBUG crashed, so I must have been typing right into the memory being used by EDTASM - DOH!
>
> Now I have my work cut out for me. How can I get the 133 bytes of the driver loaded into memory at $1900 so I can SAVEM it to be loaded and run prior to loading and running Color Forth? Or, how can I use Color Forth to get those 133 bytes loaded from within Color Forth?
>
> I guess I know what I’m going to be working on for a while! 8-)
>
> smp
> - - -
> Stephen Pereira
> Bedford, NH 03110
> KB1SXE
>
>
> > On Mar 27, 2019, at 2:46 PM, Stephen Pereira <stephen.m.pereira.sr at gmail.com> wrote:
> >
> > I found it !!!
> >
> > Again, I took someone’s advice, and searched later Rainbows for any errata. In the January 1984 Rainbow, the following was posted:
> >
> > “In Rainbow Technical Editor Dan Downard’s article “Remote Operation of the Color Computer” (November 1983), the Baud rate must be changed. You can do this by POKEing &H3F01,&HB8 before running the program.”
> >
> > I did that POKE and everything works properly as expected.
> >
> > WHEW!!!
> >
> > smp
> > - - -
> > Stephen Pereira
> > Bedford, NH 03110
> > KB1SXE
> >
> >
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list