ZEDDYNET

Discussions about Sinclair ZX80 and ZX81 Hardware
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZEDDYNET

Post by tdg8934 »

I was thinking of other uses for Zeddynet. Has anyone developed a way to have it communicate to a wireless network printer? Neat concept. I'm not really a programmer but trained as an Electrical Engineer I can figure many things out. Comments?

Tim
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: ZEDDYNET

Post by siggi »

Hi Tim
I have written a printer driver to "print" via ZeddyNet into a file, which is held on a TNFS fileserver (e. g. a windows or unix system). There it can be printed out to any real printer there or be used as text file for other purposes. So the Zeddy does not need to know the graphic language of a network printer, because the printer driver of the server will do that.

The printer driver runs above 32K, so your Zeddy must be able to run machine code programs there.
It "prints" the character (held in register A when called) to the TNFS file.

I also patched the ROM of my Zeddy not to "print" to the Sinclair printer, but to call my network-printer (if it has been loaded before). So I can use the LLIST, COPY and LPRINT commands in BASIC to print into the file at the server.

The source of the printer driver is (like other ZeddyNet programs) there:
http://forum.tlienhard.com/phpBB3/viewt ... 616#p18803

But if you want to write your own ZeddyNet applications: I can provide the ZeddyNet libs and include-files for Z88DK ...

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZEDDYNET

Post by tdg8934 »

Siggi,

I think I found the file "pr2file.zip" you are referring to (as I don't understand German): http://forum.tlienhard.com/phpBB3/viewt ... f=2&t=1740 . It looks like it uses $A000 (37000) which is above the 32K ram. I use ZXPand at 8k-40k range so it should work for that. However, ZXPand also patches the ROM for LLIST, COPY, LPRINT for a couple of their new commands like CAT and CONFIG I believe but can be disabled also.

I don't know if I'll be able to write any ZeddyNet applications but I would like to look at the ZeddyNet libs and include-files for Z88DK and see what can be done. (tdg8934@gmail.com)

Thanks,

Tim
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: ZEDDYNET

Post by siggi »

Hi Tim
yes, "pr2file.zip" is the printer driver. But if you cannot use the BASIC LLIST or LPRINT routines, you have to write your own routines to do that (e. g. read the program line by line and sent the formatted file listing byte per byte to the printer driver).

But if you want to run machine code programs above 32K, you have to modify your Zeddy (keyword "M1 NOT modification"), because otherwise the ULA will not allow to run the machine code above 32K properly. Here is that modification:
M1_NOT.gif
M1_NOT.gif (1.48 KiB) Viewed 4001 times
I hope, that ZXPAND will allow that (and does not mirror the 32-40K area sometimes to the 8-16K area).

Then you will be able to run the printer driver, or NCLI (the network command line interface to load/store files on the TNFS-server) or other programs above 32K.

I will publish the latest version of the Z88DK ZeddyNet libs and an Englisch version of NFM (Network File Manager) and NCLI soon.

Siggi

EDIT: PS: ZeddyNet applications are written in C (Z88DK: http://www.z88dk.org/forum/) and assembler (Z88DK) ....
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: ZEDDYNET

Post by siggi »

Hi Tim,
the libraries and include-files to write ZeddyNet-programs in C using Z88DK can be downloaded from in Tom's forum:
http://forum.tlienhard.com/phpBB3/viewt ... 892#p21892

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZEDDYNET

Post by tdg8934 »

I have been looking over Z88DK for the ZX81 and the zeddnet programs on the German link site and it's a bit overwhelming for a guy that's not really a C programmer by trade. I'll need a lot more training and exposure to Z88DK before I'll even attempt any Zeddynet program. I only hope I don't get frustrated to early and walk away. :(

I'll keep at it but very slowly to figure out C programming for the ZX81 first.

Thanks - Tim
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: ZEDDYNET

Post by siggi »

Hi Tim
there is the documentation for Z88DK:
http://www.z88dk.org/wiki/doku.php

And in Tom's forum you can learn programming in C with Z88DK and a Zeddy. But it is in German:
http://forum.tlienhard.com/phpBB3/viewforum.php?f=8

Maybe Google translator can help. But then the NSA will also know, what is going on in the Zeddy-world ;)

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZEDDYNET

Post by tdg8934 »

Thanks Siggi. The tutorial on Toms forum is already available in English that someone already used Google to translate into an rtf document.

I have also done a lot of digging around on z88dk and seen the wiki site.

I'll keep studying it and try and see how it all works.

Thanks,

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

Re: ZEDDYNET

Post by 1024MAK »

tdg8934 wrote:Thanks Siggi. The tutorial on Toms forum is already available in English that someone already used Google to translate into an rtf document.
Hi Tim

Do you have a link to the English version? I keep meaning to explore Z88DK and learn C, but have not got around to it yet. A tutorial would help ;)

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: 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 later in the year.
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZEDDYNET

Post by tdg8934 »

viewtopic.php?t=1043

Attached is the document.

Tim
Attachments
z88dk_tutorial.pdf
(386.89 KiB) Downloaded 217 times
Post Reply