"Inline" BASIC Extensions
"Inline" BASIC Extensions
Various BASIC extensions, like scroll down, converted to "Inline" formats.
See the enclosed Readme for more info.
Enjoy;
Greg
Edit 05/02/23
Updated the Inline program with new routines.
See the enclosed Readme for more info.
Enjoy;
Greg
Edit 05/02/23
Updated the Inline program with new routines.
- Attachments
-
- Inline.zip
- Demo Program
- (59.75 KiB) Downloaded 11 times
-
- "Matrix Rain" screenshot
- MtrxRain.gif (2.33 KiB) Viewed 877 times
Last edited by GCHarder on Tue May 02, 2023 10:20 pm, edited 3 times in total.
Re: "Inline" BASIC Extensions
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.
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.
In theory, there is no difference between theory and practice. But, in practice, there is.
Re: "Inline" BASIC Extensions
Excellent Greg as always.
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.

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
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
Regards;
Greg
"Inline" Text scrolling routine
I'll add a smaller demo to the main program later on.
Regards;
Greg
Regards;
Greg
- Attachments
-
- Scrolling Text.zip
- (4.81 KiB) Downloaded 26 times
-
- Screen.gif (1.08 KiB) Viewed 1034 times
Re: "Inline" BASIC Extensions
Thanks Greg.
Nice code!
Nice code!
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: "Inline" BASIC Extensions
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:
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
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)
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
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81-siggi.zx-team.org/ZxTeaM
http://zx81-siggi.zx-team.org/ZxTeaM
Re: "Inline" BASIC Extensions
Could be a waste of Printer paper 

In theory, there is no difference between theory and practice. But, in practice, there is.
Re: "Inline" BASIC Extensions
if LPRINT is terminated by ';' NOTHING is printed
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81-siggi.zx-team.org/ZxTeaM
http://zx81-siggi.zx-team.org/ZxTeaM