Hi,
I've a CPC 6128 Plus and I should read the AUX port (the one with the RJ-11 cable for the light pen) what addresses should I read with INP() ?
Thanks :D
Read the signal from the CRTC, like any other light pen.
Frame:out &bcff,17 : L%=inp(&bfff):frame:out&bcff,16:H%=inp(&bfff)
Thank you for replies.
I actually don't want to use the port to connect a pen or gun but use it to receive data.
I'll try
I think, at that point, you just have a rubbish version of the joystick port with only a fire signal. I'm not sure the CRTC position could be usefully used really.
Not the position of the CRTC but the keys pressed.
Basically by simulating key presses I can construct a kind of morse code to pass messages to the CPC 6128Plus ;D ;D
But, since you can't really use the LPEN signal, you're just limited to signals you could send via the joystick port.
Quote from: Neurox66 on 17:05, 04 September 24Not the position of the CRTC but the keys pressed.
Basically by simulating key presses I can construct a kind of morse code to pass messages to the CPC 6128Plus ;D ;D
It won't be morse, as the pulses would all have the same length, but you could "bit-bang" some sort of serial data into the CPC.
Bryce.
Quote from: Neurox66 on 17:05, 04 September 24Not the position of the CRTC but the keys pressed.
Basically by simulating key presses I can construct a kind of morse code to pass messages to the CPC 6128Plus ;D ;D
Could send wacky data format to the analogue port? ???
Better use the joystick ports, not fun to fry the ASIC in the 6128plus.