Macrolife and L-Sys strings
Macrolife and L-Sys strings
I've posted an L-Sys prog for 16K machine and a Macrolife prog for a WRX64K machine. This program merges both of these to produce some nice high res images. It is menu driven so you don't have to figure out what parameters to use for the L Strings, although there are a couple of settings you can change. Most of the parameters come from LSYS strings created for FRACTINT. This is set one there are more to come.
As noted this is for a 64K WRX capable machine. The program comes in two parts, SET01Info, must be run first as it loads the menu screen and MC routines to lower RAM. It can be run from a 16K machine if you just want to read the info without loading the data.
I recommend the NO$ZX emulator because it maintains the display during FAST mode.
Enjoy;
Greg
- Attachments
-
- ML&LS-Set 1 (WRX64K).zip
- TZX and p file programs
- (14.94 KiB) Downloaded 1401 times
Re: Macrolife and L-Sys strings
Hi Greg
I am using my USB filemanager to load your programs from USB stick. Which memory addresses are used by your programs? I need some space to load the USB filemanager to an unused location to be not overwritten when the programs are running (if possible).
SIggi
I am using my USB filemanager to load your programs from USB stick. Which memory addresses are used by your programs? I need some space to load the USB filemanager to an unused location to be not overwritten when the programs are running (if possible).
SIggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
http://zx81.ddns.net/ZxTeaM
Re: Macrolife and L-Sys strings
Hi Siggi;
I'm assuming your referring to lower ram?
The areas used in lower ram are...
8000-14336 HIRES DFILE $2000-$3800
14337-15129 SCREEN MENU $3801-$3B19
15130-15979 MC PROGS $3B1A-$3E6B
15999-16389 FREE SPACE $3E7F-$3FFF 390 BYTES
As you can see there are 390 free bytes remaining. Hope that's enough, if not let me know how much you need I might be able to consolidate some stuff and move things around a bit.
Regards;
Greg
I'm assuming your referring to lower ram?
The areas used in lower ram are...
8000-14336 HIRES DFILE $2000-$3800
14337-15129 SCREEN MENU $3801-$3B19
15130-15979 MC PROGS $3B1A-$3E6B
15999-16389 FREE SPACE $3E7F-$3FFF 390 BYTES
As you can see there are 390 free bytes remaining. Hope that's enough, if not let me know how much you need I might be able to consolidate some stuff and move things around a bit.
Regards;
Greg
Re: Macrolife and L-Sys strings
Hi Greg
no I meant all ram: The UFM (USB filemanager) is 8 K in size and is available for addresses 8-16K, 16-24 K, 32-40K and 40K-48K.
I used the version running at 40-48K to load the first part, but is seems to be overwritten when the first part is running.
So I loaded UFM again to 40-48K and loaded the second part of your program and started it. It worked, but I am not sure, if something has been overwritten when I loaded UFM the second time.
Siggi
no I meant all ram: The UFM (USB filemanager) is 8 K in size and is available for addresses 8-16K, 16-24 K, 32-40K and 40K-48K.
I used the version running at 40-48K to load the first part, but is seems to be overwritten when the first part is running.
So I loaded UFM again to 40-48K and loaded the second part of your program and started it. It worked, but I am not sure, if something has been overwritten when I loaded UFM the second time.
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
http://zx81.ddns.net/ZxTeaM
Re: Macrolife and L-Sys strings
Hi Siggi;
Ah, I see. The easiest solution would be to change the value of RAMTOP in line 2020 to whatever value works for you. The upper 6K from $E000 upwards is reserved for a copy of the HRDFILE. So you could set it to anything lower than that. The only change is that you won't have as much memory for creating strings. Probably not a problem most of the time as by the time they get to several thousands of characters long the image is just a big blob anyway, if scaled.
Regards;
Greg
Ah, I see. The easiest solution would be to change the value of RAMTOP in line 2020 to whatever value works for you. The upper 6K from $E000 upwards is reserved for a copy of the HRDFILE. So you could set it to anything lower than that. The only change is that you won't have as much memory for creating strings. Probably not a problem most of the time as by the time they get to several thousands of characters long the image is just a big blob anyway, if scaled.
Regards;
Greg
Re: Macrolife and L-Sys strings
Here's set 2
- Attachments
-
- ML&LS-Set 2 (WRX64K).zip
- TZX and P files
- (15.09 KiB) Downloaded 209 times
Re: Macrolife and L-Sys strings
Here's set 3
- Attachments
-
- ML&LS-Set 3 (WRX64K).zip
- Programs
- (15.5 KiB) Downloaded 245 times
Re: Macrolife and L-Sys strings
Here's set 4
- Attachments
-
- ML&LS-Set 4 (WRX64K).zip
- Programs
- (51.86 KiB) Downloaded 196 times