[Coco] Bit-Banger Serial as external console?
Stephen Pereira
stephen.m.pereira.sr at gmail.com
Wed Mar 27 19:27:11 EDT 2019
Hi again, Art,
I was making it more complicated than I needed to. I did some experiments and found that BASIC definitely does not want a negative offset. Then I finally tried:
LOADM”REMOTE”,55808
That wrapped around within the 16 bit address space to put the code at $1900.
However, I find that the Color Forth bypasses what I set up with calls to $A1B1 (Blink The Cursor While Waiting For A Keystroke) and this seems to bypass my remote input driver. BAH! I still get all the output from the CoCo to the remote terminal, but the remote terminal cannot type into the CoCo. That’s the one thing that I need to get going.
Oh well, I wanted a project and it appears that I have one!
Thanks!
smp
- - -
Stephen Pereira
Bedford, NH 03110
KB1SXE
> On Mar 27, 2019, at 7:02 PM, Stephen Pereira <stephen.m.pereira.sr at gmail.com> wrote:
>
> Hi Art,
>
> I read the description for LOADM and it says that I can add an offset to where the program is supposed to load.
>
> The program is supposed to load at $3F00. I want it to load at $1900.
>
> How do I specify a negative offset? Is it simply -$2600?
>
> So would the command be:
>
> LOADM”REMOTE.BIN”,-&H2600
>
> or
>
> LOADM”REMOTE.BIN”,-9728
>
> Thanks in advance, for all your attention and advice!
>
> smp
> - - -
> Stephen Pereira
> Bedford, NH 03110
> KB1SXE
>
>
>> On Mar 27, 2019, at 6:03 PM, Arthur Flexser <flexser at fiu.edu <mailto:flexser at fiu.edu>> wrote:
>>
>> 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
>>
>
More information about the Coco
mailing list