Insanity #10
30 ноября 2001
  Железо  

ZSock TCP / IP Stack - lronburg to access the Internet.

<b>ZSock TCP / IP Stack</b> - lronburg to access the Internet.
               ... ZSock - The Z88 TCP / IP stack ...



    A dream come true! Creation of Clive Sinclair, is now 
capable barazhirovat the expanses of the World Wide Web. 
Technology ZSock lets not even Spectrum ZX, but at least 
connect with Z88 many other Internet users. The document is 
contained in the original version with a brief summary in 
Russian at the end. 


                               *


    ... What is Zsock?


    ZSock is a work-in-progress TCP / IP stack for the Cambridge
z88 portable. The stack itself is written almost entirely in C
and was developed using z88dk - the z88 Development Kit.


    Zsock is supplied in the form of an application which is
also a package (A package is the z88 equivalent of shared
libraries or dlls) which permits you to be able to write network
aware applications with the minimum of hassle. Included within
the ZSock archive is an example user application and also a
daemon allowing file transfer.


    ... Zsock has the following features:


  - Connection to the 'net via the SLIP protocol

  - Implementation of IP / ICMP / UDP / TCP network layer

  - Resolving (forward and backward) of hostnames

  - Ping client

  - "Plugin" Network Driver Devices

  - Easily configurable

  - Extensive API to allow the writing of network applications


    ... The example application / daemon supplies:


  - A simple telnet program with a VT52 screen

  - A tftp daemon allowing file transfer to and from the z88


    ... History


    The ZSock project was started back in June 1998 with a
version implementing ICMP, UDP, TCP and a simple telnet
application in assembler. However is soon became clear that a
hand written assembler TCP stack is no fun, and so a decision
was made to write it in C. But where's the compiler? And so
started the story of z88dk but we'll leave that for now. Zsock
has been a long time in development (most of it spent sat on my
harddrive not doing much!) but since March 2000 it has been in a
usable state, exporting an API for other applications. With
release 12 (Febuary 2001), the tftp daemon returns allowing
automated file transfer to and from the z88 from across a
network.


                  z88dk - The z88 Development Kit


   ... What is z88dk?


    z88dk is a z80 C cross compiler supplied with an
assembler / linker and a set of libraries implementing the C
standard library for a number of different z80 based machines.
The name z88dk originates from the time when the project was
founded and supported only the Cambridge z88 portable.


    The compiler featured in z88dk is much enhanced Small C
compiler, the compiler accepts many features of ANSI C and is
only deficient in a few areas where implementation on a z80
processor might prove inefficient. The compiler performs simple
optimizations, but the bulk of the optimization is done by a set
of peep-hole rules, which will typically reduce the size of a
large project by up to a third.


    The libraries supplied with z88dk are designed to be as
generic as possible, indeed it is possible to port to a new
machine simply by supplying two library routines and some
startup code. It is hoped that one day z88dk will support as
many z80 based machines as there is information available and
sufficient interest in.


    ... Z88dk has the following features:


    - Small C + based compiler with structs, floats and other
ANSI extensions;

    - Module assembler / linker which only includes required
library routines;

    - Peephole optimizer with rulesets that reduce the size of
generated code by ~ 30% and improve speed;

    - Easily retargetted C library including studio routines;

    - Retargettable VT100 terminal;

    - Support for over a dozen z80 machines (see below for
details).


    ... Supported Targets


  z88dk produces code that will run on the following machines:


         Cambridge Computers z88, Sinclair ZX Spectrum,

         Sinclair ZX81, CP / M based machines, Amstrad

         NC100, VZ200/300, Sharp MZ series, TI

         calculators (TI82, TI83, TI83 +, TI85, TI86),

         ABC80 and the Jupiter Ace. Support is being

         developed for other z80 based machines including

         the Xircom Rex 6000. Preliminary support is also

         available for the Sam Coupe, MSX1 and

         Spectravideo machines.


    ... Platforms


    z88dk is known to run on the following platforms: Amiga,
BeOS, HP-UX 9, Linux, Solaris, Win32, Win16 and MSDOS. MSDOS
support may be dropped due to 7inherent limitations it presents.
OpenBSD compiles fail but z88dk should work if compilation is
performed by hand.


   ... Who's responsible?


    Dom Morris started the project in August 1998 targetting the
z88, and adding preliminary Spectrum support, and functional
Amstrad NC100 support. Stefano Bodrato is responsible for the
other ports. Henk Poley recently joined the z88dk team and is
refining and improving, with Stefano, the TI calculator support.


    So, if you have a problem with library support (except for
the z88) contact either Stefano or Henk, or a problem with
anything else, or if you want to retarget to a new machine
contact Dom.


                              *


    So, to create devices for kinship Spectrum
architecture that supports data transfer protocols,
used in internet'e: TCP / IP, SLIP, etc. All this allows
refer to the hosts, ie, servers, and receive from them 
information as well as to upload it. Already established a 
cross compiler, which designed to create programs to support 
this engineering solutions. Itself, this program, detailed 
technical Features available on the Internet through search 
engines on the key 'zsock'.






Other articles:

Introduction - A few words of the copyright.

Platform hallucinations - events, facts and announcements: Announcement of musical and graphic sites, updates on the Power Of Sound and Virtual TR-DOS, a new party from the X-Team and a new game from Darkmax, came kryaknuta version PUSSY, novsti from Inforkom etc.

Platform hallucinations - the official results of chaos constructions 2oo1.

Platform hallucinations - events, facts and announcements: Porting Star Heritage on Gameboy, and Raver preparing English translation of the game, is preparing a new number Deja VU and Adventurer, Kristof row with Himik'om, Judge Black Crow under General Sound, etc.

Phat'0 & Phat'1 - the official results of the Latvian party.

ZSock TCP / IP Stack - lronburg to access the Internet.

Sprinter - Material from the developers of a new version of the computer Sprinter 2000.

High Technology # 2 - News of high technology.

Paradox'2k +1 - The report on the party in Rostov.

Poisoned PPL Party'2k +1 - about the last party for the elite spektrumistov Glazov and Perm.

ASCii'2oo1 Interviews - Interviews taken during ASCii'2001: DJ MAX, Discipline group, Alexander Smets, Slick, Di, Lasoft, ZK System, Moonlight, Stigma, Sleeping Man, VAD, Noviset, Screamer, Steep, Owl.

with the bat on the world - Pictures of De (pi) mogolovah (zuakulise ASCii'2002).

BBC about the realities of the Internet - An encyclopedic reference.

Network Bardak - Looking Vyacheslav Skutina / Nemo on the web.

collapse of the Spectrum in Nizhny Novgorod - ProgMaster states.

Sinclair v. Wintel - Creator ZX Spectrum and its new project.

Spectrum Game room - Answers to questions: "What is the most popular hero?" What game was the first conversion on the Spectrum? "," What games were the first in its genre? "" What game is the first time was with the music? "," Kakaya game was first released for the Spectrum ZX? " etc.

Software for Sale - Buy yourself a little Speccy.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Authors - The edition ...
Laboratory - Error in STS v6.2 and fixing it.
Editor - found the scheme kontpollepa XT-klaviatupy. Perhaps skopo publish.

В этот день...   4 May