Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please define IO ports for pins 15, 17, 19 #2

Open
Sanqui opened this issue Apr 3, 2024 · 3 comments
Open

Please define IO ports for pins 15, 17, 19 #2

Sanqui opened this issue Apr 3, 2024 · 3 comments

Comments

@Sanqui
Copy link

Sanqui commented Apr 3, 2024

Hi,

I'm making a custom cable for six (5.25 inch) PC floppy disk drives.

I have previously made a custom cable for four (3.5 inch) PC floppy disk drives, and did so by doing the following mapping:

set DRIVE_1_SELECT_LINE DRIVES_PORT_PIN03_OUT
set DRIVE_1_MOTOR_LINE  DRIVES_PORT_PIN01_OUT

set DRIVE_2_SELECT_LINE DRIVES_PORT_PIN07_OUT
set DRIVE_2_MOTOR_LINE  DRIVES_PORT_PIN05_OUT

set DRIVE_3_SELECT_LINE DRIVES_PORT_PIN11_OUT
set DRIVE_3_MOTOR_LINE  DRIVES_PORT_PIN09_OUT

This worked perfectly.

For my next cable, I would like to map

set DRIVE_4_SELECT_LINE DRIVES_PORT_PIN15_OUT
set DRIVE_4_MOTOR_LINE  DRIVES_PORT_PIN13_OUT

set DRIVE_5_SELECT_LINE DRIVES_PORT_PIN19_OUT
set DRIVE_5_MOTOR_LINE  DRIVES_PORT_PIN17_OUT

I can see from the schematic that pins up to 19 are usable in the floppy drives bus connector, but in the source code, the highest defined pin is DRIVES_PORT_PIN13_OUT. Would it be possible to define pins 15, 17, and 19? I'm not sure which would be the relevant constants. Thanks!

Note: This is not high priority because I made the cable using pins 10/14 and 13/6 and it works. However, should one want to make a cable for more than six PC drives, it would be necessary to use these pins.

@jfdelnero
Copy link
Owner

The reason is that floppy drive port (J4) pin 15, 17 and 19 are input signals only.

it should be technically possible to use the host port pins for this instead but i have to check how i have mapped them.

@jfdelnero
Copy link
Owner

checked : the host port pins can't be controlled by the software yet.

@Sanqui
Copy link
Author

Sanqui commented Apr 4, 2024

Ah, I understand, thanks for looking into it anyway! I don't currently plan on making a setup with more than 6 floppy drives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants