UPDATED 23/8/95 - A BIT SLOW! BUT WORKS FOR 15/8/1995 ECM.  N.

*******************************************************************
This is a small project in order to develop a stand alone SKY card.
-------------------------------------------------------------------

*)	Actually, (16.April 1995) the software is working fine.
        all required SOURCES for the 09 SKY CODE are distributed with 
        this package !

*)	Following hardware requirements are necessary:
          - a adapter which fits into the decoder's card slot
              ( propably a modified SEASON interface )
          - a INTEL uP ( 87C51FB ) MTP version (about 40,- to 60,- DM)
              it is recommended to use a M_ore T_imes P_rogramable, because 
              it's nearly 120% sure that the software has to be changed
              from time to time :-)
              you can also use OTP's, or a different 8051 derivative, but
              it MUST have 16k of ROM !
          - a 16 Mhz cristal
          - a 1uF to 10uF capacitor

*)      Total costs: 
            - software = free
            - hardware = 50DM,- uP, 5,-DM printed board, 5DM,- components
            in total round about max. 60,- DM.

*)      the software is written in C ( i used the KEIL C51 Compiler ) and
        in Assembler ( i used the KEIL A51 ) - but it should be no big deal
        to use whatever is available on the market...

*)      how to setup the hardware ?

              +5V  o        -------------------------------
                   |        |              (Vcc) pin 40   |---o +5V
                   | +      |                             |
                 ------     |                             |
                 ------     |                             |
                   |        |                             |
                   |________| pin 9 (reset)               |
                            |                             |
                            |               (EA) pin 31   |---o +5V
                            |                             |
                    |-------| pin 18 (Xtal2)              |
                   ---      |                             |
             16Mhz | |      |                    pin 1    |---o  I/O
           crystal ---      |                             |
                    |_______| pin 19 (Xtal1)     pin 2    |---o  RESET
                            |                             |
                    --------| pin 20 (Gnd)                |
                    |       -------------------------------
                  ------         INTEL 87C51 FB (16K ROM)
                  Ground

         
     connections to the smart card adapter:

          +5V       :       must be connected to card 5V          ( C1 )
          Ground    :       must be connected to card ground      ( C5 )
          I/O       :       must be connected to card data I/O    ( C7 )
          RESET     :       must be connected to card reset       ( C2 )

     card pins are as followed:

-----snipp-------------------------------------------------------------------
According to ISO, a chip card is 85.60 mm long, 53.98 mm high, 0.76 mm
thick and the edges are rounded with a radius of 3.18 mm. It has eight
defined contact areas (C1 - C8 in the diagram below), each of which is
at least 2 mm wide and 1.7 mm heigh:


	   ______________________________________
	 /                                        \
	|                                          |
	|                                          |
	|    C1   C5                               |
	|    C2   C6                               |
	|    C3   C7                               |
	|    C4   C8                               |
	|                                          |
	|                                          |
	|                                          |
	 \________________________________________/



These contacts have the following purpose:


	C1	VCC	Supply voltage (+5 V, max. 200 mA)
	C2	RST	Reset signal
	C3	CLK	Clock signal
	C4	-	reserved
	C5	GND	Ground
	C6	VPP	Programming voltage (5-25 V)
	C7	I/O	Data input/output
	C8	-	reserved


The following table gives the precise location of the contact areas.
These areas are only minimum areas, the actual contacts might be larger
but must of course be properly isolated from each other.

In the following table,

	A	represents the maximum distance between the card's left
		edge and the contact area's left edge,
	B	represents the minimum distance between the card's left
		edge and the contact area's right edge,
	C	represents the maximum distance between the card's top
		edge and the contact area's upper edge,
	D	represents the minimum distance between the card's top
		edge and the contact area's lower edge.


		  A	  B	  C	  D
      -----------------------------------------
	C1	10.25	12.25	19.23	20.93
	C2	10.25	12.25	21.77	23.47
	C3	10.25	12.25	24.31	26.01
	C4	10.25	12.25	26.85	28.55
	C5	17.87	19.87	19.23	20.93
	C6	17.87	19.87	21.77	23.47
	C7	17.87	19.87	24.31	26.01
	C8	17.87	19.87	26.85	28.55


Older card systems (defined in a French AFNOR standard) had these
contacts located higher (distance from the top between 9.07 mm and
18.39 mm, distance from the left identical). As some decoders support
both contact area alternatives, make sure that this old contact area is
properly isolated or you'll produce a short circuit when inserting your
card. You may have noticed, that the contacts are arranged in the usual
1/10 inch (= 2.54 mm) system (i.e. like the pins of a 8-pin DIL chip).
-----snap-------------------------------------------------------------------

That's it, i hope this is enough information for you to make it working -
sorry for those who have not the technical knowledge to make it by their
own.

The only - lets say copyright - restriction i have with this is the following:

       I would prevent, that people which like to look on SKY programs,
       have to spend more money than necessary. That means, i would not see
       anybody trying to make money with this package !!!

so, lets have fun..........

PS:	any recommendations, ideas, hints, love-letters or whatever are
        highly appreciated........:-)))))))))

T/16.4.95
