seaboard18
04-27-2007, 06:13 AM
---------------------------------
Aux Card Sharing Version 0.0.9
---------------------------------
Aux card sharing is intended to allow for the sharing and/or
logging of the smartcard.
- Version 0.0.1 - First release.
- Version 0.0.2 - Fixed an issue parsing packets
- Version 0.0.3 - Debugging
- Version 0.0.4 - Fixed issue with smartcard hanging. Only an issue when using (PK 1.23)
- Version 0.0.6 - Added map 57 support without smartcard.
- Version 0.0.8 - Added map 3b support without smartcard.
- Version 0.0.9 - Optimized a little - should not hog CPU anymore.
----------------
Operating System
----------------
- Pure DOS only for the card server - not a DOS window in a windows environment.
- Client(s) should be able to run in any OS but I have only tested DOS.
---------
Hardware:
---------
- 2 or more serial ports. (i.e. in order to share the card between
2 emu setups 3 serial ports are required on the aux card server)
* one serial port connects to the card in an ISO-7816 programmer if your using
a smartcard.
* one serial port connects to emu client #1 with a 'NULL Modem cable'
* one serial port connects to emu client #2 with a 'NULL Modem cable'
- PC should be a pentium 150 mhz or better while using a smartcard, and
if you are going to run cardless - pc will have to be faster - probably
in the range of 350 to 400 mhz - but as always this will be different
for every pc.
- The interface between the card server and emu client must be a 'NULL
Modem cable' - NOT just a regular serial cable with a gender changer.
========================
Command Line Parameters:
========================
Note: All command line parameters must be in UPPER CASE.
------
Ports:
------
/C# : Defines the serial port where the smartcard will be connected. The
# sign would be replaced by the decimal number of the serial port.
If you want to run cardless (map 57 only) do not put any /C command
line parameter.
(i.e.: /C2 - represents card on COM2)
/E# : Defines the serial port where client #1 will be connected. The
# sign would be replaced by the decimal number of the serial port.
(i.e.: /E1 - represents client #1 on COM1)
/EE# : Defines the serial port where client #2 will be connected. The
# sign would be replaced by the decimal number of the serial port.
(i.e.: /EE3 - represents client #2 on COM3)
---------------------
Custom Port Adresses:
---------------------
Format is /<PORT>A# where # is the address in decimal. So if your port
address was 2F8 in hex = 760 in decimal. (i.e. /CA760 etc.) Standard
addresses are used in most cases.
example:
--------
/EEA#: Defines the custom address of the serial port where client #2 is
connected. The # sign would be replaced by the decimal value
of the serial port address. Say the address was 3F0 in hex which
is 1008 in decimal. The custom address would be defined by adding
/EEA1008 to your command line.
Standard Port Adddress for COM1 - 4:
Port Address
===== =======
COM 1 3F8
COM 2 2F8
COM 3 3E8
COM 4 2E8
----------------
Custom Port IRQ:
----------------
Format is /<PORT>I# where # is the IRQ in decimal. (i.e. /CI3, /EI4, /EEI5 etc.)
If you are going to run (COM1 and COM3) OR (COM2 and COM4) simultaneously you
will need to define a custom IRQ's for COM3 and COM4.
/EEI#: Defines the custom IRQ of the serial port where client #2 is connected.
The # sign would be replaced by the decimal value of the IRQ.
(i.e.: /EEI5 - represents an IRQ of 5 for the client #2 port.)
----------------------
Communications Display
----------------------
/D : Display client & card communications. As always this feature uses a fair
bit of system resources so use when necessary.
-----------
Timestamps:
-----------
/T : Show timestamps and client port on packets.
--------
Logging:
--------
/L : Log communications to the log file (LOG.TXT). Logging should be done to
a 'Ramdrive' for best performance.
--------------------
Sample Command Line:
--------------------
Smartcard on COM2, EMU client #1 on COM1 and EMU client #2 on COM3 (with standard
address-[3E8] and custom irq-[5].)
With Smartcard:
---------------
AUXSHARE /C2 /E1 /EE3 /EEI5 /D
Without Smartcard:
------------------
AUXSHARE /E1 /EE3 /EEI5 /D
-----------
Keystrokes:
-----------
While the program is running there are a few keystrokes that will perform
certain actions.
'Q' : Capital Q (Shift-q) will quit the program.
'D' : Capital D (Shift-d) will toggle communications display on and off.
'T' : Capital T (Shift-t) will toggle timestamping on and off.
'R' : Capital R (Shift-r) will display a report of any client failures & card failures.
'1' : Number 1 will Reset client #1 - this is used if you have to turn off one of your
client emus, then when you restart your emu it will reconnect to the card server
without interrupting the other client. Stop client emu first - then hit this
keystroke before you attempt to reconnect your client emu.
'2' : Number 2 will Reset client #2 - this is used if you have to turn off one of your
client emus, then when you restart your emu it will reconnect to the card server
without interrupting the other client. Stop client emu first - then hit this
keystroke before you attempt to reconnect your client emu.
Works In Windows DOS
Aux Card Sharing [0.0.9] - by: sLaShEr
Intended for educational purposes only.
-----------------------------------------------------------
CLIENT 1 [COM 1] [ADDRESS=STD] [IRQ=STD] [FIFO=0]
-----------------------------------------------------------
Waiting for Client...
Get It Here
htxp://www.thefileshop.com/showthread.php?t=3408
Aux Card Sharing Version 0.0.9
---------------------------------
Aux card sharing is intended to allow for the sharing and/or
logging of the smartcard.
- Version 0.0.1 - First release.
- Version 0.0.2 - Fixed an issue parsing packets
- Version 0.0.3 - Debugging
- Version 0.0.4 - Fixed issue with smartcard hanging. Only an issue when using (PK 1.23)
- Version 0.0.6 - Added map 57 support without smartcard.
- Version 0.0.8 - Added map 3b support without smartcard.
- Version 0.0.9 - Optimized a little - should not hog CPU anymore.
----------------
Operating System
----------------
- Pure DOS only for the card server - not a DOS window in a windows environment.
- Client(s) should be able to run in any OS but I have only tested DOS.
---------
Hardware:
---------
- 2 or more serial ports. (i.e. in order to share the card between
2 emu setups 3 serial ports are required on the aux card server)
* one serial port connects to the card in an ISO-7816 programmer if your using
a smartcard.
* one serial port connects to emu client #1 with a 'NULL Modem cable'
* one serial port connects to emu client #2 with a 'NULL Modem cable'
- PC should be a pentium 150 mhz or better while using a smartcard, and
if you are going to run cardless - pc will have to be faster - probably
in the range of 350 to 400 mhz - but as always this will be different
for every pc.
- The interface between the card server and emu client must be a 'NULL
Modem cable' - NOT just a regular serial cable with a gender changer.
========================
Command Line Parameters:
========================
Note: All command line parameters must be in UPPER CASE.
------
Ports:
------
/C# : Defines the serial port where the smartcard will be connected. The
# sign would be replaced by the decimal number of the serial port.
If you want to run cardless (map 57 only) do not put any /C command
line parameter.
(i.e.: /C2 - represents card on COM2)
/E# : Defines the serial port where client #1 will be connected. The
# sign would be replaced by the decimal number of the serial port.
(i.e.: /E1 - represents client #1 on COM1)
/EE# : Defines the serial port where client #2 will be connected. The
# sign would be replaced by the decimal number of the serial port.
(i.e.: /EE3 - represents client #2 on COM3)
---------------------
Custom Port Adresses:
---------------------
Format is /<PORT>A# where # is the address in decimal. So if your port
address was 2F8 in hex = 760 in decimal. (i.e. /CA760 etc.) Standard
addresses are used in most cases.
example:
--------
/EEA#: Defines the custom address of the serial port where client #2 is
connected. The # sign would be replaced by the decimal value
of the serial port address. Say the address was 3F0 in hex which
is 1008 in decimal. The custom address would be defined by adding
/EEA1008 to your command line.
Standard Port Adddress for COM1 - 4:
Port Address
===== =======
COM 1 3F8
COM 2 2F8
COM 3 3E8
COM 4 2E8
----------------
Custom Port IRQ:
----------------
Format is /<PORT>I# where # is the IRQ in decimal. (i.e. /CI3, /EI4, /EEI5 etc.)
If you are going to run (COM1 and COM3) OR (COM2 and COM4) simultaneously you
will need to define a custom IRQ's for COM3 and COM4.
/EEI#: Defines the custom IRQ of the serial port where client #2 is connected.
The # sign would be replaced by the decimal value of the IRQ.
(i.e.: /EEI5 - represents an IRQ of 5 for the client #2 port.)
----------------------
Communications Display
----------------------
/D : Display client & card communications. As always this feature uses a fair
bit of system resources so use when necessary.
-----------
Timestamps:
-----------
/T : Show timestamps and client port on packets.
--------
Logging:
--------
/L : Log communications to the log file (LOG.TXT). Logging should be done to
a 'Ramdrive' for best performance.
--------------------
Sample Command Line:
--------------------
Smartcard on COM2, EMU client #1 on COM1 and EMU client #2 on COM3 (with standard
address-[3E8] and custom irq-[5].)
With Smartcard:
---------------
AUXSHARE /C2 /E1 /EE3 /EEI5 /D
Without Smartcard:
------------------
AUXSHARE /E1 /EE3 /EEI5 /D
-----------
Keystrokes:
-----------
While the program is running there are a few keystrokes that will perform
certain actions.
'Q' : Capital Q (Shift-q) will quit the program.
'D' : Capital D (Shift-d) will toggle communications display on and off.
'T' : Capital T (Shift-t) will toggle timestamping on and off.
'R' : Capital R (Shift-r) will display a report of any client failures & card failures.
'1' : Number 1 will Reset client #1 - this is used if you have to turn off one of your
client emus, then when you restart your emu it will reconnect to the card server
without interrupting the other client. Stop client emu first - then hit this
keystroke before you attempt to reconnect your client emu.
'2' : Number 2 will Reset client #2 - this is used if you have to turn off one of your
client emus, then when you restart your emu it will reconnect to the card server
without interrupting the other client. Stop client emu first - then hit this
keystroke before you attempt to reconnect your client emu.
Works In Windows DOS
Aux Card Sharing [0.0.9] - by: sLaShEr
Intended for educational purposes only.
-----------------------------------------------------------
CLIENT 1 [COM 1] [ADDRESS=STD] [IRQ=STD] [FIFO=0]
-----------------------------------------------------------
Waiting for Client...
Get It Here
htxp://www.thefileshop.com/showthread.php?t=3408