siggi wrote:just an idea: perhaps you could move some of the addinional code (making the VSYNC pulse longer) behind the "out ($FF)" terminating the sync pulse?
Success!
The result:
VSYNC - SPONZY
SPONZY_wo_glitch.png (23.13 KiB) Viewed 8450 times
and the original:
VSYNC - ZX81 ROM
ZEDDY_w_glitch.png (23.31 KiB) Viewed 8448 times
In the attachment you can find the (hopefully) last general (hardware independent) version of SPONZY.
Please try it!
Hi ZSOLT
I also tested the 312 line version in my Zeddy. But after the 3rd crash when I tried to "burn" the EEPROM, I learnt, that I have to add a new line into my Sponzy-Rom-programming description: "POKE 101,64" (because now I have Andy's new ULA in my laptop Zeddy and have to enable the M1 logic ).
Now the programming has worked and after booting SPONZY everything was perfect (even with my sensible laptop display): no jitter/flicker, no grey line at the bottom, no pixel lines missing
And when running in turbo mode (with the new ULA), the SPONZY is quite fast
Great work!
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware http://zx81.ddns.net/ZxTeaM
More then a year ago i started this topic, and now here is the final version of SPONZY (by me). It has some changed and some new additional features, what you can activate with formula "REM >=command" - where the „>=” is SHIFT+Y (CHR$ 200):
REM >=fast
switches to FAST mode (no display)
REM >=slow
switches back into SLOW (displaying) mode
REM >=invs
inverts the printable area of the screen
REM >=tfsk
Toggles the Frame SKipping modes: to skip a frame or display both frames (instead of the previous "REM >=spup" "REM >=spdn" commands)
It speeds up the program execution, but it is not too eye-friendly solution
REM >=xdrv
redirects the tape-io handling to the external driver program
For more information see the "xdrv_itf.asm" file in the attachment
REM >=tape
restores the standard tape-io handling
Another feature of this version is a "DTV"-like menu driven program loader, which loads the TAP-format program files stored in the flash_ROM. Its curiosity is that during program-load it switches back to SLOW mode. This is of course much slower, but we can enjoy the spectrum-specific loading screens.
The additional hardware, designed for SPONZY, was modified a bit (the schematic is in the attachment).
With a jumper the system can boot also from the internal ROM.
Some statistics: compared to the original ROM a total of 2620 bytes changed. (see on the Heatmap)
Hi Zsolt
the new tape interface described in "xdrv_itf.asm" seems quite easy to be used. Do you think that it possibe to use a C program (compiled with z88dk for the Speccy) as file manager? It might use ROM calls, but I think the ROM is not reentrant. So there might occur problems, if the ROM is waiting for tape input and is called also by the file manager?
I did not install the new Sponzy rom, because the weather here in Germany is too good to do inhouse Zeddying . But the next rainy period will be used for an update of my laptop ZX81 ....
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware http://zx81.ddns.net/ZxTeaM
siggi wrote:..I think the ROM is not reentrant. So there might occur problems, if the ROM is waiting for tape input and is called also by the file manager?
Why not? I am not familiar with z88dk, but if you save all registers and use own stack (as described in xdrv_itf.asm) it is possible...
I forgot anything: what's then, if we want to save the screen (screen$ option)?
So before the filemanager starts, backup the complete HFILE and the attributes too ($4000-5AFF) and then restore all.
Regards,
Zsolt
Hi,
Here is the latest (+1 ) version of the SPONZY:.
I made some modification: I applied the uncompressed constants (as described in SG81 ROM),
so I got a little space for the joystick support of the "DTV"-like menu handler. (of course i hope it speeds up the interpreter too )
Regards,
Zsolt
Edit: the attachment was removed because it was buggy - use the improved version instead
Last edited by zsolt on Tue Mar 26, 2013 2:27 pm, edited 1 time in total.
Hi,
During tests of my new tool for SPONZY (to create a big ROM with TAP-files) I found a bug in the latest(+1) release of SPONZY - sorry . The attachment contains the improved version of the ROM, the "testMENU.asm" (this example shows how builds up a menu) and the new tool (fls4sponzy.exe) to easily create it.
Best wishes,
Zsolt
Good to see this still being developed and supported.
Alas, have not yet "made time" to get this to run on any of my Zeddies yet (it's still in the "to-do" list). I WILL get there one day
Standby alert
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Looking forward to summer being good this year.