Talk:µIEC

From C64-Wiki
Jump to navigationJump to search

uIEC FAQ[edit source]

Is there a pinout for the plugs on the uiec?

On the uIEC/CF, the pinout is:

1: GND
2: 5V Vcc
3: RESET (Connect to IEC RESET if you want uIEC ot reset when computer resets.)
4: RS232 RXD (38400 bps, 5V logic)
5: RS232 TXD (38400 bps, 5V logic)
6: IEC SRQ
7: IEC DATA
8: IEC CLK
9: IEC ATN
10: unused

On units with the secondary 2 pring header, the pinout is:
Switch 01: (closet to main connector):
Switch 02:


Switch 1 By grounding SW\witch 0 and 1, you can utilize the disk swap functionality.




How do I support all the commodore characters in filenames with the uIEC?

If you need to support files with characters that will not be accepted in the DOS world (\/:& and a few others, as I recall), consider the XE command:
XEnum Sets the "file extension mode". This setting controls if files on FAT are written with an x00 header and extension or not.

Possible values for num are:
0: Never write x00 format files.
1: Write x00 format files for SEQ/USR/REL, but not for PRG
2: Always write x00 format files.
3: Use SEQ/USR/REL file extensions, no x00 header
4: Same as 3, but also for PRG

If you set mode 3 or 4, extension hiding is automatically enabled.

This setting can be saved in the EEPROM using XW, the default value is 1. For compatibility with existing programs that write D64 files, PRG files that have D64, D41, D71, D81 or M2I as an extension will always be written without an x00 header and without any additional PRG file extension.

You should set XE2 before copying files with strange characters to the uIEC. That will ensure the correct filenames are saved to the FAT disk. uIEC will correctly parse the "internal" name inside the P00 file when doing any file operations.

You can use this adhoc, turning it to 2 when creating such files, and turning it to something else (I use 3 myself) at other times, or set it to 2 and then do XW to set it permanently.