Converting Bmp to p - WRX HIRES
Converting Bmp to p - WRX HIRES
Hi All.
Last week i did some changes in a ZX81 clone, trying to implement the WRX mod (2 diodes and resistor) using the internal DRAM, instead of RAMPACK.
It works….. i mean… almost.. (more details soon)
Before , i want to create some BMP files for testing..
Following the BMP2P tutorial (below) from Wilf Rigter i didn’t understand the step 5a ,5b and 6 regarding load command
(LOAD "*LOAD:C:NAME:16610:")
Is it necessary to use both? XTenders and Eighty one for conversion?
To create BMP for ZX do you use another method?
1. Download " BMP2P" , the ZX81 hires driver program.( BMP2P.P )
2. Run EightyOne and LOAD (BMP2P)
3. Ask yourself, "Who is that handsome guy?"
4. press N/L (space) to break the spell.
5. run XTenders
5. change the file name in line 20
6. load your own IMAGE.C file into the HFILE of BMP2P using LOAD "*LOAD:C:NAME:16610:"
7. then RUN to save the file to disk.
Thank you!
Regards
Luciano
Last week i did some changes in a ZX81 clone, trying to implement the WRX mod (2 diodes and resistor) using the internal DRAM, instead of RAMPACK.
It works….. i mean… almost.. (more details soon)
Before , i want to create some BMP files for testing..
Following the BMP2P tutorial (below) from Wilf Rigter i didn’t understand the step 5a ,5b and 6 regarding load command
(LOAD "*LOAD:C:NAME:16610:")
Is it necessary to use both? XTenders and Eighty one for conversion?
To create BMP for ZX do you use another method?
1. Download " BMP2P" , the ZX81 hires driver program.( BMP2P.P )
2. Run EightyOne and LOAD (BMP2P)
3. Ask yourself, "Who is that handsome guy?"
4. press N/L (space) to break the spell.
5. run XTenders
5. change the file name in line 20
6. load your own IMAGE.C file into the HFILE of BMP2P using LOAD "*LOAD:C:NAME:16610:"
7. then RUN to save the file to disk.
Thank you!
Regards
Luciano
Re: Converting Bmp to p - WRX HIRES
Hi Luciano
maybe Wilf wrote this instructions, while he had an EO version, which did not support loading of binary data at a given address (or that did not work, like in some EO versions )
So he used another emulator ("5. run XTenders") to do that:
LOAD "*LOAD:C:NAME:16610:" is the XTenders-command to load code in file "NAME" to the address 16610 (and to overwrite the image there).
You could do that also with EO, using the"File"-menu and select "Load memory block" and enter there the filename and the address 16610 there. Then you don't need to perform step 5a and can use only EO for that.
HTH Siggi
PS: I use EO Version 0.52, where the "Load memory block" works correctly ...
maybe Wilf wrote this instructions, while he had an EO version, which did not support loading of binary data at a given address (or that did not work, like in some EO versions )
So he used another emulator ("5. run XTenders") to do that:
LOAD "*LOAD:C:NAME:16610:" is the XTenders-command to load code in file "NAME" to the address 16610 (and to overwrite the image there).
You could do that also with EO, using the"File"-menu and select "Load memory block" and enter there the filename and the address 16610 there. Then you don't need to perform step 5a and can use only EO for that.
HTH Siggi
PS: I use EO Version 0.52, where the "Load memory block" works correctly ...
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: Converting Bmp to p - WRX HIRES
Hi Siggi.
I will test now and send you a reply soon.
Thanks a lot!
Luciano
I will test now and send you a reply soon.
Thanks a lot!
Luciano
Re: Converting Bmp to p - WRX HIRES
Siggi
I did the test.... the memory block loaded .. tks!
But EO couldn´t save the new file/tape .. i tested version 0.52 and 1.0
Any idea how to save it? maybe another emulator?
I did the test.... the memory block loaded .. tks!
But EO couldn´t save the new file/tape .. i tested version 0.52 and 1.0
Any idea how to save it? maybe another emulator?
Re: Converting Bmp to p - WRX HIRES
Did you check the latest version on source forge ?
http://sinclairzxworld.com/viewtopic.ph ... rge#p18295
http://sinclairzxworld.com/viewtopic.ph ... rge#p18295
Re: Converting Bmp to p - WRX HIRES
Hi Luciano
could you post the initial P-file you used and the image that you made (which should be moved into the P-file) that I could try to do the same thing that you did?
Siggi
could you post the initial P-file you used and the image that you made (which should be moved into the P-file) that I could try to do the same thing that you did?
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: Converting Bmp to p - WRX HIRES
Hi Siggi and Pokemon
I instaled the EO V1.2
Using the save tape command, it seems to save.. but not "really" save.
After opening the file saved, it returns to the previous one..
I found a sequence that works here.. Using the EO V1.2
1-open tape/ bmp2p.p
2-load memory block/ aaa.c (adress to save 16610) and click load file
3-new tape
4-save tape( but do not save, click cancel)
5-space bar 2 times.. than run
6-then finaly click in save tape, save.
Using this sequece works for me.. but is weird..
It follow attached the bmp2p file and aaa.c file(bmp converted.. i used one bmp downloaded in zx forum)
I instaled the EO V1.2
Using the save tape command, it seems to save.. but not "really" save.
After opening the file saved, it returns to the previous one..
I found a sequence that works here.. Using the EO V1.2
1-open tape/ bmp2p.p
2-load memory block/ aaa.c (adress to save 16610) and click load file
3-new tape
4-save tape( but do not save, click cancel)
5-space bar 2 times.. than run
6-then finaly click in save tape, save.
Using this sequece works for me.. but is weird..
It follow attached the bmp2p file and aaa.c file(bmp converted.. i used one bmp downloaded in zx forum)
Re: Converting Bmp to p - WRX HIRES
After loading the p file on the real hardware (zx81 clone) the image looks good.. but it lost the vertical sync.. a small difference.. it flips slowly..
Do you have some idea how to fix this issue? (image attached)
The Tv system from this computer is PAL-M (525 lines and 60hz ) similar to NTSC..
I tested using internal WRX mod on DRAMs and with external SRAMs too.. same results in both cases..
Is it possible to change some parameter in the Software, related to the vertical sync ?(50 or 60hz)
Or.. change some timing in the logic on the real hardware..
Any ideas are welcome
Regards
Luciano
Do you have some idea how to fix this issue? (image attached)
The Tv system from this computer is PAL-M (525 lines and 60hz ) similar to NTSC..
I tested using internal WRX mod on DRAMs and with external SRAMs too.. same results in both cases..
Is it possible to change some parameter in the Software, related to the vertical sync ?(50 or 60hz)
Or.. change some timing in the logic on the real hardware..
Any ideas are welcome
Regards
Luciano
- Attachments
-
- NO VSYNC.jpg (32.36 KiB) Viewed 3269 times
Re: Converting Bmp to p - WRX HIRES
Hi Luciano
line 10 of BMP2P.P contains the SAVE command to make the program autostart. Delete it and save the program manually. That makes life easier
What I did in EO:
LOAD BMP2.P (it runs and shows the picture)
press space to break program
delete line 10
load picture in aaa.c to address 16610
save modified program manually (if only one file is in the tape manager window, you can save it there as .P file)
If you enter RUN the program now shows the new picture, until you press BREAK. Then I get this: I think, the aaa.c is wrong. Its size is 6206 bytes, but the HIRES screen can hold only 192*256 Bits = 6144 Bytes.
So maybe something went wrong during the conversion from .BMP to aaaa.c
My real Zeddy shows the same picture.
It is stable when running in 50 Hz mode and also when running in 60 Hz mode.
Siggi
line 10 of BMP2P.P contains the SAVE command to make the program autostart. Delete it and save the program manually. That makes life easier
What I did in EO:
LOAD BMP2.P (it runs and shows the picture)
press space to break program
delete line 10
load picture in aaa.c to address 16610
save modified program manually (if only one file is in the tape manager window, you can save it there as .P file)
If you enter RUN the program now shows the new picture, until you press BREAK. Then I get this: I think, the aaa.c is wrong. Its size is 6206 bytes, but the HIRES screen can hold only 192*256 Bits = 6144 Bytes.
So maybe something went wrong during the conversion from .BMP to aaaa.c
My real Zeddy shows the same picture.
It is stable when running in 50 Hz mode and also when running in 60 Hz mode.
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: Converting Bmp to p - WRX HIRES
Hi Siggi
Thanks a lot.. now i can create my own BMPs
I will try to fix the vertical sync.. maybe is some hardware issue.
Do you know if it is possible to change a zx81 60hz version, to 50hz?
Thanks a lot.. now i can create my own BMPs
I will try to fix the vertical sync.. maybe is some hardware issue.
Do you know if it is possible to change a zx81 60hz version, to 50hz?