Results 1 to 4 of 4
  1. #1
    RetroSteve! My location

    Stephen Coates's Avatar
    Join Date
    Mar 2003
    Location
    Rotherham
    Posts
    2,105
    Downloads
    0
    Uploads
    0

    Accessing the parallel port

    I am yet to do any programming on the Amiga, but I thought that if I do, this might be a good place to start.

    The project I am working on at college, to put it simply, is to make an analogue to digital converter circuit which will connect to the parallel port on an IBM PC. Currently I have this working on a bidirectional port (8 bit ADC's data outputs connected directly to the data inputs on the parallel port), but soon will be changing this so it will go in as two nibbles through 4 of the 5 status inputs.

    As the Amiga has a bidirectional parallel port, I thought it could be possible to also have this working on the Amiga. The programme I have is written using Microsoft's QuickBasic on MS-DOS. I expect that being BASIC, alot of the programme would be the same, or very similar on the amiga, but being a completely different computer, the addresses of the parallel port are likely to be different to that of the PC, and the BASIC commands to access it might also be different.

    I was wondering if anyone could provide any information on programming the parallel port on the amiga using BASIC. And if so, what BASIC languages do you all recomend for the Amiga?

    Thanks
    Steve

  2. #2
    Retro Addict Administrator
    My location

    Burger Time Champion, Sonic Champion Harrison's Avatar
    Join Date
    Dec 2002
    Location
    UK
    Posts
    15,592
    Blog Entries
    1
    Downloads
    6
    Uploads
    14
    Blitz basic should be good for this.

    What will you actually be using the DAC for?

    If you haven't played a classic game in years, it's never too late to start!


  3. #3
    RetroSteve! My location

    Stephen Coates's Avatar
    Join Date
    Mar 2003
    Location
    Rotherham
    Posts
    2,105
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Harrison View Post
    Blitz basic should be good for this.

    What will you actually be using the DAC for?
    Should be able to use Blitz Basic. Motorolin said on amiga.org that he had used Blitz basic to control a parallel port relay board. I will just have to find a copy with a manual.

    I will be using the ADC for measuring anything that outputs a voltage between 0 and 5v. My main application is temperature. I intend to make a temperature sensing circuit with an LM335 IC. Then I can have he computer tell me what the temperature is and hopefully save this data to disk. Other things can also be measured with it. The data outputs on the parallel port can then be used to control any devices that are connected to them.

  4. #4
    I am Legion for we are many. Staff Member
    My location

    Buleste's Avatar
    Join Date
    Oct 2007
    Location
    Staffordshire Moorlands
    Posts
    4,079
    Downloads
    1
    Uploads
    0
    Just found these on Aminet. Hope you find some of them some use.
    A1200 Power Tower
    OS 3.9 / CGX4 / OS4.0
    Blizzard 210Mhz (overclocked to 266Mhz) 603e PPC with 25Mhz 040 (Overclocked to 33Mhz) 256Mb RAM
    ZIV
    CV64/3D
    3.2Gb HDD + 20GB HDD

Similar Threads

  1. A4000 IDE port
    By Harrison in forum Hardware
    Replies: 2
    Last Post: 5th August 2008, 10:44

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright classicamiga.com