🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #9598

Re: IR universal for amiga

#9598
From: Steve Ludtke
Date: Tue, 08 Jan 1991 07:59
25 lines
1606 bytes
In article <10045@pasteur.Berkeley.EDU>, atn@cory.Berkeley.EDU (Alan Nishioka) writes...
>A while back there was a file (zapper.txt) going around about using
>a computer as a universal Infrared remote which learns and repeats
>back IR remote commands.
> 
>Has anyone written a program for use with the amiga?
> 
>I was trying this past weekend, but I couldn't get the joystick port
>or parallel port to go fast enough. (400ms pulses)
> 
>How can you speed up port access?  I was using Write() to par: and
>WritePotgo() for the joyport.
> 

Yes. I did this a couple of years ago on my ami, just for the heck of it. Speed
isn't really a problem. However, the various system interrupts (and task
switching) totally destroy the content of the signals. You need to disable
interrupts and task switching when you do your actual recieving/sending. This
of course means you can't use a lot of the system calls. I just wrote/read
directly from the joystick port. (btw - you CAN use low level graphics calls I
believe) Anyway, once I did that, everything worked fine.

Steve Ludtke					
Ludtke@physics.rice.edu
72335,1537 compuserve
Technical Details
Message-ID: <1991Jan8.060517.8189@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!rice!rice!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!atn

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!rice!rice!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!atn
From: ludtke@physics.rice.edu (Steve Ludtke)
Newsgroups: sci.electronics,comp.sys.amiga.hardware
Subject: Re: IR universal for amiga
Message-ID: <1991Jan8.060517.8189@rice.edu>
Date: 8 Jan 91 07:59:05 GMT
Sender: news@rice.edu (News)
Reply-To: ludtke@physics.rice.edu
Organization: Rice University
Lines: 25