So LINE is a BASIC token? Or you have to do a CALL?

-- John.

On Thu, Sep 12, 2019 at 2:37 PM Kurt McCullum <ku...@fastmail.com> wrote:

> In the Option Rom, I push all the code from the ROM to the ALTLCD, then I
> populate 65215 & 65216 with the memory location 64448 which is the first
> byte of the ALTLCD. That turns the LINE feature in the NEC Basic on. So
> whenever the Line function is called, it jumps to the code that is in
> ALTLCD.
>
> That allows me to put a piece of BASIC code at the beginning of the
> program that requires LINE. That one liner, calls the 7 byte loader code
> which populates the ALTLCD with the LINE code before it starts. And when
> the program is finished, ALTLCD can be used for whatever it needs to be
> used for.
>
> Kurt
>
> On Thu, Sep 12, 2019, at 2:00 PM, John R. Hogerhuis wrote:
>
>
>
> On Thu, Sep 12, 2019 at 1:46 PM Kurt McCullum <ku...@fastmail.com> wrote:
>
>
> Thanks Ken.
>
> That is definitely an option if I want to put the individual Pokes into
> the basic program. Which I may end up having to do. I was hoping for some
> bit of memory that I could count on always being there but at this point I
> am realizing that there may not be such a thing. I have the whole thing
> working if I poke the 7 bytes into ram (right now the top of ALTLCD). I can
> call that routine and it loads the LINE code into ALTLCD and the BASIC
> program is happy to use it. I put another chunk of code in the ROM for the
> XFER program and the same approach works to pull it from ROM into ALTLCD
> and then run. The only catch right now is the 7 byte load routine has to be
> poked into ram and then called.
>
>
> How do you call the LINE routine?
>
> -- John.
>
>
>

Reply via email to