News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Neurox66

AUX Port

Started by Neurox66, 18:13, 01 September 24

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Neurox66

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
CPC 464+ with C4CPC and Gotek HxC USB Drive - 
CPC 6128+ with Nova, FlashGordon,AmsDap, SymbiFace III -
CPC 6128 with M4 ... and other Amstrad computers

GUNHED

Read the signal from the CRTC, like any other light pen.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

McArti0

Frame:out &bcff,17 : L%=inp(&bfff):frame:out&bcff,16:H%=inp(&bfff)
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Neurox66

#3
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 
CPC 464+ with C4CPC and Gotek HxC USB Drive - 
CPC 6128+ with Nova, FlashGordon,AmsDap, SymbiFace III -
CPC 6128 with M4 ... and other Amstrad computers

andycadley

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.

Neurox66

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
CPC 464+ with C4CPC and Gotek HxC USB Drive - 
CPC 6128+ with Nova, FlashGordon,AmsDap, SymbiFace III -
CPC 6128 with M4 ... and other Amstrad computers

andycadley

But, since you can't really use the LPEN signal, you're just limited to signals you could send via the joystick port.

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

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.

dthrone

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? ???
SOH Digital Entertainments

GUNHED

Better use the joystick ports, not fun to fry the ASIC in the 6128plus. 
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Powered by SMFPacks Menu Editor Mod