AminetAminet
Search:
84512 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/c/PAR_C.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:PAR: access using the SIMPLEST of C.
Author:wisecracker at tesco.net (Barry Walker)
Uploader:wisecracker tesco net (Barry Walker)
Type:dev/c
Version:1.00.04
Architecture:m68k-amigaos
Date:2006-07-26
Download:http://aminet.net/dev/c/PAR_C.lha - View contents
Readme:http://aminet.net/dev/c/PAR_C.readme
Downloads:910

Distribution: Public Domain, Emailware.

============================================================================

  Requirements Are:-
  ------------------

         Standard A1200.
         Standard Kickstart 3.0x and Workbench 3.0x or better.
         ~PAR_READ.lha~ IS REQUIRED from the hard/hack drawer of AMINET.
         (Dice-C is optional and in the dev/c drawer of AMINET.)
         (vbcc is also optional and in the dev/c drawer of AMINET.)

============================================================================

These are the executables and the EXTREMELY SIMPLE C(++) source code to
access PAR: as a ~VOLUME~ in read mode only. It is purely for my
experimental use only to use the PAR: DEVICE as a VOLUME. For more detailed
information about PAR: as a volume download the required ~PAR_READ.lha~ from
the hard/hack drawer of AMINET. This archive also includes an ARexx program
that does the same sort of thing.

These executables WILL ONLY run from the CLI/Shell and WILL hang if the
special hardware is NOT connected. The VERY SIMPLE hardware construction
instructions are inside the ~PAR_READ.lha~ archive in the hard/hack drawer
of AMINET. THIS ARCHIVE IS REQUIRED FOR CORRECT OPERATION AS WITHOUT IT
THE ~-ACK~ WILL NOT GET CONTINUOUSLY TOGGLED!!!

The purists out there will say that this is not quite the conventional way
of coding in C but anyone who knows me also knows that I don't stick
rigidly to ANY conventions. It is purely a starting point for those of you
out there wanting to experiment with home built external hardware through
the parallel port. NO KNOWLEDGE OF THE PARALLEL PORT IS REQUIRED AT ALL TO
OBTAIN ANY 8 BIT BINARY DATA SITTING ON IT, BUT THE VERY SIMPLE HARDWARE
FROM THE ~PAR_READ.lha~ ARCHIVE IS REQUIRED.

Now released with a default ~a.out~ executeable from the latest version
of ~vbccm68k.lha~, (circa 17-07-2006), for classic AMIGA machines.

----------------------------------------------------------------------------

History:-
---------

26-07-2006.
-----------
Version 1.00.04. Modified the simple code to print a decimal value for
the character grabbed, from 0 to 255, instead of printable extended ASCII
characters. (Recompiled using ~vbcc~ and ~Dice-C~.)

24-07-2006.
-----------
Version 1.00.03. Minor text correction.

23-07-2006.
-----------
Version 1.00.02. Added ~vbccm68k~ variant and minor alteration of code to
suit both ~vbccm68k~ and ~Dice-C~ C compilers. Another executeable generated
called ~a.out~ from ~vbccm68k~.

18-05-2006.
-----------
Version 1.00.01. Added ~Dice-C~ executeable as a running file, ~PAR_READ~.

06-12-2005.
-----------
Version 1.00.00. First upload to AMINET.

----------------------------------------------------------------------------

The archive is now Public Domain/Emailware and you may modify them as you
please for your OWN experiments. See below.

(Original idea and (C)2005 goes to B.Walker, G0LCU.)

----------------------------------------------------------------------------

                                IMPORTANT:-
                                -----------


    The Legal Stuff:-
    -----------------

    These programs are Public Domain and no profit will be made from them,
    also all of the files must remain unaltered and intact including this
    one. The author is not responsible for any damage to, or loss of, or
    failure of equipment or data caused in any way by the use of these
    programs. There is NO warranty with the use of these software releases
    and YOU USE THEM AT YOUR OWN RISK.

----------------------------------------------------------------------------

    Testing Evaluation:-
    --------------------

    An A1200 in 2MB, 6MB and 10MB modes using trapdoor memory AND/OR
    PCMCIA memory expansions.
    (It should work on an A500+ and A600 using KS2.0x but I haven't
    tried it.)

    All test conditions were/are running STANDARD KS3.0x and using
    standard ~topaz 8~ fonts throughout.

    I have no idea what a strange configuration setup will create so refer
    to the ~The Legal Stuff~ above.

----------------------------------------------------------------------------

                                 WARNING.
                                 --------

  1) DISCONNECT any faulty equipment under test from the MAINS supply.
  2) If a DC supply is used do NOT reverse polarity the connections.
  3) Do NOT power up any electronic item until it is safe to do so.
  4) CHECK and RECHECK all of your construction and repair work thoroughly.
  5) Handle ALL tools used with care.
  6) Beware of ALL types of solvents, glues and etching fluids.
  7) NEVER leave a soldering iron switched on unattended.
  8) KEEP everything OUT of the reach of small children.
  9) Switch OFF the AMIGA before disconnecting or connecting any hardware.
 10) And finally read 1) to 9) again.

----------------------------------------------------------------------------

   Contact:-
   ---------

   Mr Barry Walker, G0LCU,
   70 King George Road,
   Loughborough,
   Leicestershire,
   LE11 2PA,
   England.

   Email:-     wisecracker at tesco.net
   URL:-       http://homepages.tesco.net/wisecracker/G0LCU.HTM

   Author of the ~TestGear?~ projects in the ~hard/hack~ drawer of AMINET.

----------------------------------------------------------------------------

   A very useful HardWare related site, (C) Anthony Hoffman, for
   modifications, schematics, repairs and the like is:-

                          http://amiga.serveftp.net/

============================================================================


Contents of dev/c/PAR_C.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  269     628  42.8% -lh5- 8a43 Jul 25 18:20 PAR_C.info
[generic]                 5571    9760  57.1% -lh5- a2af Jul 23 19:42 PAR_C/a.out
[generic]                   94     101  93.1% -lh5- 2e83 May 15 19:44 par_c/par_c
[generic]                  329     562  58.5% -lh5- 4e66 Jul 24 07:52 PAR_C/PAR_C.info
[generic]                 2445    5797  42.2% -lh5- 1230 Jul 25 18:19 PAR_C/PAR_C.readme
[generic]                  197     317  62.1% -lh5- 977a Jul 24 07:52 PAR_C/PAR_C.readme.info
[generic]                 5430    8616  63.0% -lh5- 4997 Jul 23 19:42 par_c/par_read
[generic]                 1027    2226  46.1% -lh5- b746 Jul 23 19:42 PAR_C/PAR_READ.c
[generic]                  203     332  61.1% -lh5- 5a30 Jul 24 07:52 PAR_C/PAR_READ.c.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         9 files   15565   28339  54.9%            Jul 26 02:51

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>