Page 1 of 4

"Inline" BASIC Extensions

Posted: Thu Mar 09, 2023 9:53 pm
by GCHarder
Various BASIC extensions, like scroll down, converted to "Inline" formats.

See the enclosed Readme for more info.

Enjoy;

Greg

Updated the program, 08/30/23. Modified the Quick Print routine slightly.

Re: "Inline" BASIC Extensions

Posted: Thu Mar 09, 2023 11:43 pm
by Paul
This is an interresting piece of Software.
I had a quick run in EO and it's impressive.

I need to figure out how to use only one or two routines.
Maybe something for tomorrow.

Re: "Inline" BASIC Extensions

Posted: Fri Mar 10, 2023 11:45 am
by Moggy
Excellent Greg as always. :D

I have some of these routines but as separate units scattered amongst other programs so to speak and to see them presented in this form is a nice touch and like Paul I will have some fun with this, many thanks.

Re: "Inline" BASIC Extensions

Posted: Fri Mar 10, 2023 10:23 pm
by GCHarder
If you can think of any other, not too complicated, routines let me know. I'm thinking a one line text scroll might be useful, for instructions etc.

Regards;

Greg

"Inline" Text scrolling routine

Posted: Wed Mar 15, 2023 8:29 pm
by GCHarder
I'll add a smaller demo to the main program later on.

Regards;

Greg

Re: "Inline" BASIC Extensions

Posted: Wed Mar 15, 2023 8:47 pm
by Moggy
Nice! :D

Re: "Inline" BASIC Extensions

Posted: Wed Mar 15, 2023 9:24 pm
by XavSnap
Thanks Greg.
Nice code!

Re: "Inline" BASIC Extensions

Posted: Tue Mar 21, 2023 9:45 am
by siggi
Hi Greg
nice demos :)

Maybe the subroutine's interface to the machine code can be done more easily using LPRINT ;
if printable characters need to be passed to m/c.

Instead of poking the characters into the machine code:

Code: Select all

21 POKE L+1, CODE C$(1)
22 POKE L+3, CODE C$(2)
using
21 LPRINT C$(1 to 2);
is easier.

Then the machine code can fetch PRINTABLE(!) characters from printer buffer (address 16444....) and the length of the basic code does not need to be calculated to call the machine code (line 20).

A single number X can be passed to m/c using RAND X and fetch the number X from address 16434 by m/c.

Regards
Siggi

Re: "Inline" BASIC Extensions

Posted: Tue Mar 21, 2023 10:01 am
by Paul
Could be a waste of Printer paper :?:

Re: "Inline" BASIC Extensions

Posted: Tue Mar 21, 2023 10:08 am
by siggi
if LPRINT is terminated by ';' NOTHING is printed