How to inject programs into zx81 memory?
Re: How to inject programs into zx81 memory?
Sorry Paul, now you are wrong.
What you show is a program containing the program line
1 SAVE "ADVENT"
Surely this has to be saved as it is part of the program but programs not containing this or similar comments or statements don't have this information.
If you just enter "SAVE "ADVENT" it will be save without ADVENT in the .p file.
What you show is a program containing the program line
1 SAVE "ADVENT"
Surely this has to be saved as it is part of the program but programs not containing this or similar comments or statements don't have this information.
If you just enter "SAVE "ADVENT" it will be save without ADVENT in the .p file.
Re: How to inject programs into zx81 memory?
Ah... okay, I accept the correction!
Re: How to inject programs into zx81 memory?
Also there are no headers in a P file - it is just a dump of the system variables from $4009 onward to the $80 marker at E_LINE-1. Nothing more, nothing less.
Re: How to inject programs into zx81 memory?
I have to admit that i an a complete noob with respect to zx81, but i think you are also wrongPokeMon wrote:Sorry Paul, now you are wrong.
What you show is a program containing the program line
1 SAVE "ADVENT"
Surely this has to be saved as it is part of the program but programs not containing this or similar comments or statements don't have this information.
If you just enter "SAVE "ADVENT" it will be save without ADVENT in the .p file.
There's simply the ZX81's DFILE included in any .P file. And since you just typed "save "advent" it was displayed on screen while the file was saved and thus it's include as part of the DFILE in the .P file.
Re: How to inject programs into zx81 memory?
Okay, everybody - I was wrong, yeah?
Re: How to inject programs into zx81 memory?
I was referring to Pokémon. He was imho also wrong.poglad wrote:Okay, everybody - I was wrong, yeah?
My tape emulation just worked for the first time and i played a little bit tetris1k on the zx01. But few games I tested work. Hires doesn't seem to work at all on the zx01.
I'll release all the code tomorrow and if one of you owns a MIST FPGA board he might give it a try. I know that at least one of you guys has one ...
Re: How to inject programs into zx81 memory?
Hi,
The ".81" files is the true Mirror of Zx81's tape programs, it include de Bloc header "MYZX81NAMe", where the low case "e" is a reversed character to end the name header bloc.
".81" files equal : <name header> & "P" memory file.
In a "P" file, the name tag is lost...
The ".P" files from Xtender, aren't the true wave file mirror. Xtender used to patch le printer buffer with the Zx81 name, but the true Zx name can't be retrieved on a ".p" file.If you just enter "SAVE "ADVENT" it will be save without ADVENT in the .p file.
The ".81" files is the true Mirror of Zx81's tape programs, it include de Bloc header "MYZX81NAMe", where the low case "e" is a reversed character to end the name header bloc.
".81" files equal : <name header> & "P" memory file.
In a "P" file, the name tag is lost...
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: How to inject programs into zx81 memory?
No - I am not wrong.Harbaum wrote:I have to admit that i an a complete noob with respect to zx81, but i think you are also wrong
There's simply the ZX81's DFILE included in any .P file. And since you just typed "save "advent" it was displayed on screen while the file was saved and thus it's include as part of the DFILE in the .P file.
Did you prove or just guess ?
So I tried the EightyOne, with no data, enter SAVE "P" + NEWLINE which results in a short p-file with included DFILE without that SAVE command.
Even if you enter PRINT "HELLO" first and enter the SAVE command with this statement still on screen it would be saved without any text, just an empty DFILE.
Re: How to inject programs into zx81 memory?
Neither. I tested it but misinterpreted the result. A hello world program also contains this string inside its basic code. I saw that and thought it'd be the dfile.
Sorry. That proves that i am a zx81 noob. Although a zx81 was the first computer i touched in my life.
Sorry. That proves that i am a zx81 noob. Although a zx81 was the first computer i touched in my life.
Re: How to inject programs into zx81 memory?
Now this explains everything. I always thought .P files and .81 files were the same, just a renamed extension. So what I described was in fact the .81 file - thank you for the explanation!XavSnap wrote:".81" files equal : <name header> & "P" memory file.
In a "P" file, the name tag is lost...