Welcome, Guest. Please login or register.

Author Topic: Light Pens  (Read 3435 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Light Pens
« on: December 16, 2008, 09:43:34 PM »
A light pen is little more than a photo transistor with a lens plus a button. I think the ones for the C64 work an the Amiga, too.
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Light Pens
« Reply #1 on: December 18, 2008, 07:22:45 PM »
Quote
bloodline wrote:
Lightpens only work on CRTs...

Good point, forgot about that.
Scandoubled VGA output may also be a bit of a problem, anywhere from reduced accuracy to no reasonable function at all.

Edit: here's an Atari project which would surely work on an Amiga, too: http://www.atariarchives.org/ecp/chapter_6.php
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Light Pens
« Reply #2 on: December 18, 2008, 07:33:54 PM »
Quote
Were lightpens ever actually good for anything, or just a silly gimmick?


Pretty cool actually, esp. on the Amiga (on the 64 accuracy was rather limited by HF output). The only thing I was missing was a horizontal table monitor since it's very tedious holding up your hand all the time.
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Light Pens
« Reply #3 on: December 19, 2008, 07:39:52 AM »
Pretty simple once you realize that the video output isn't just there but is built up line by line, from left to right. If you slow down time quite a bit then you can imagine the advancing electron beam hitting the phosphor right behind were the light pen currently points at. The phototransistor sends a pulse back to the video chip (Denise) which actually knows where it's currently at and just freezes the current horizontal and vertical counters to the lightpen register. :-D
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Light Pens
« Reply #4 on: December 19, 2008, 06:04:52 PM »
Hmm - I do remember using it on a friend's Amiga as mouse substitute with some kind of driver. I've got no idea if I had that driver, but I can't find it anyway. May have been the one in Aminet.