Jump to content
IGNORED

Atari Light Pen


Fletch

Recommended Posts

I'm writing a simple database program in Atari Basic for my work. Ideally I would like to be able to use an Atari Light Pen to navigate the menus I have created to access the data.

 

My problem is finding the commands in basic that allow me access to the light pen information. I assume I need to open a channel for the screen, but after that I'm not sure how to input the information from the Pen.

 

Any input is appreciated.

 

Thanks!

 

Pete

Link to comment
Share on other sites

A light pen can be quite simply plugged into controller port 0, as if it were a paddle or joystick. It can be read straightforwardly with the statements PEEK(564) and PEEK(565). And that is all there is to it. That is, from an engineering point of view, you understand.

 

Read this article -

 

http://www.atarimagazines.com/creative/v9n...tpost_Atari.php

 

WRL

Link to comment
Share on other sites

Thanks for the tips fellows. As for why I'm writing this program is pretty simple. I work in a light manufacturing environment that tends to get very greasy and dusty. The company I work for is very small and cost is always an issue. I can buy whole 8-bit systems for less than $100 and they just work. The fanless operation helps in the harsh environment and since the data being retrieved is pretty simple speed is not an issue.

 

On the other hand, I have never been that great at programming. I admin a network of Mac/PCs, but networking and programming don't always mix. I was always fairly decent at simple Atari Basic programming so thats what I use when I can. The owner is happy because he doesn't need to spend big bucks on consultants and hardware and I'm happy because I get paid to screw around with my life long hobby.

 

So, I wish my story was something cool like Nasa, but alas its just pretty boring.

 

Thanks again for the info!

 

Pete

Link to comment
Share on other sites

Just wanted to thank you guys for the tips on the light pen. I have finished my database and with the light pen the users can just point and press their way through the appropriate screens to retrieve the data they need. I guess touch screen has replaced the need for the pen, but this is one nifty little device.

 

It seems a shame that Atari never really demonstrated the possible uses of the Light Pen. The software that comes with the Light Pen for drawing is pretty slick as well. For anyone who doesn't own one, I'd recommend picking one up. The Pens are only $20 new in box from B&C.

 

Thanks again!

 

Pete

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...