SPeccy ON the ZeddY

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
Post Reply
User avatar
zsolt
Posts: 201
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: SPeccy ON the ZeddY

Post by zsolt » Fri Mar 16, 2012 3:03 pm

Hi All,
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! :D
The result:
VSYNC - SPONZY
VSYNC - SPONZY
SPONZY_wo_glitch.png (23.13 KiB) Viewed 4152 times
and the original:
VSYNC - ZX81 ROM
VSYNC - ZX81 ROM
ZEDDY_w_glitch.png (23.31 KiB) Viewed 4150 times
In the attachment you can find the (hopefully) last general (hardware independent) version of SPONZY.
Please try it!

Regards,
Zsolt
Attachments
sponzy_s8d.zip
(37.23 KiB) Downloaded 173 times
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]

User avatar
Andy Rea
Posts: 1546
Joined: Fri May 09, 2008 2:48 pm

Re: SPeccy ON the ZeddY

Post by Andy Rea » Fri Mar 16, 2012 10:36 pm

Hi Zsolt,

I've been following this thread off and on for some time, but untill recently i have not had a Zeddy capable of running sponzy, however i can now :D

my method maybe a little 'mad' but it works...

also it appears to work with my ZX81 turbo mode... BM0 took just 11 seconds to complete in slow mode !

i can save to and from tape.

i have no image stabily problems, using a CRT type monitor, with the 312 lines version (from the post above) have not tried the other lines versions

Great job you have done here,

Andy
AFK

User avatar
siggi
Posts: 887
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: SPeccy ON the ZeddY

Post by siggi » Fri Mar 16, 2012 11:41 pm

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 :mrgreen:
And when running in turbo mode (with the new ULA), the SPONZY is quite fast :o

Great work!

Siggi
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

User avatar
zsolt
Posts: 201
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: SPeccy ON the ZeddY

Post by zsolt » Mon May 28, 2012 7:02 pm

Dear Zeddy Fans,

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. :D

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)
Some statistics: compared to the original ROM a total of 2620 bytes changed. (see on the Heatmap)
SPchg2620.png (5.41 KiB) Viewed 3944 times
Best wishes,
Zsolt
Attachments
sponzy_final.zip
(573.13 KiB) Downloaded 305 times
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]

User avatar
siggi
Posts: 887
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: SPeccy ON the ZeddY

Post by siggi » Tue May 29, 2012 9:03 pm

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 :mrgreen: . But the next rainy period will be used for an update of my laptop ZX81 ....

Siggi
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

sirmorris
Posts: 2813
Joined: Thu May 08, 2008 5:45 pm

Re: SPeccy ON the ZeddY

Post by sirmorris » Wed May 30, 2012 8:08 am

Congratulations! This is a fabulous piece of work and you should be very proud :D

I am making sure that uber-zeddy will be able to run it!

User avatar
zsolt
Posts: 201
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: SPeccy ON the ZeddY

Post by zsolt » Fri Jun 01, 2012 4:08 pm

Thanks Charlie,
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: :oops: 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
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]

User avatar
zsolt
Posts: 201
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: SPeccy ON the ZeddY

Post by zsolt » Tue Jan 22, 2013 4:19 pm

Hi,
Here is the latest (+1 :mrgreen: ) 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.
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]

User avatar
zsolt
Posts: 201
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: SPeccy ON the ZeddY

Post by zsolt » Tue Mar 26, 2013 2:25 pm

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
Attachments
SPONZYwTOOLS.zip
(861.47 KiB) Downloaded 187 times
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]

User avatar
1024MAK
Posts: 2627
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: SPeccy ON the ZeddY

Post by 1024MAK » Wed Mar 27, 2013 12:23 pm

Thank you Zsolt ;) :D

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 :oops: (it's still in the "to-do" list). I WILL get there one day :roll:

Mark

Post Reply