Add new comment
Lightpen
Submitted by Dan Dooré on Thu, 2006-04-20 10:09. PeripheralN/A
Information from Andy Gale taken from the Sam Coupé Scrapbook
Very simple really - the SPEN pin on the lightpen/audio port is usually pulled high internally with a resistor. This means that ports 248 and 504 are constantly updated with the x and y coordinates respectively of the raster beam. If SPEN is held low then those ports ‘stick’ at their current value. So, basically, your lightpen circuit should hold SPEN low and blip it high very briefly when the raster beam passes in front of the photodetector (you could use a photodiode, phototransistor, photodarlington - preferrably a fast one) - this shouldn’t take much more than one i.c.! Note that the x-resolution is not too great, and that line interrupts (often used for palette changes) will not operate. Sorry.
No pen actually ever got released for the Sam.



Recent comments
2 weeks 6 days ago
5 weeks 6 days ago
7 weeks 1 day ago
11 weeks 2 days ago
12 weeks 1 hour ago
13 weeks 5 days ago
13 weeks 5 days ago
15 weeks 1 day ago
15 weeks 1 day ago
17 weeks 5 days ago