16UP is an Open Hardware Expansion board that will add a User Port to the Commodore 16, 116 and Plus/4 home computers.
The biggest difference between the Commodore 16/116 and the Plus/4, besides the different amount of RAM installed, is that the former lacks a User Port. In the past there were numerous attempts at making a cartridge for the Expansion Port that would fill this gap, but apparently none of them succeeded...
... None of them except this project, of course! :) 16UP will plug into the Expansion Port and "convert" it to a User Port that will be mostly compatible with that featured on the Plus/4. It can also be used on a Plus/4 in order to gain an extra User Port.
If you are interested in this board, please read this document carefully, there are a few aspects that you must be aware of.
There are currently two usable versions of 16UP:
- Version 2 has an onboard fully-compliant RS-232 interface. Since the Plus/4 only provides TTL-level serial signals on the User Port, it requires an external plug-in board in order to turn those into a real RS-232 port. 16UP V2 already includes the converter but this implies that the serial signals are not provided on the User Port edge connector. This is generally not a problem as most peripherals that connect to the User Port only use the parallel port it provides, but peripherals have emerged, which use both the parallel and serial signals at the same time and these cannot of course work with V2.
- Version 3 was developed in order to be compatible with those peripherals. The onboard RS-232 converter was removed and now the board features an 87.5% Plus/4-compatible User Port: all signals are available on the edge connector right where they should be, except /ATTN and the 9VAC power rails. These signals can still be provided through a pin header, which was extended to cover all signals in order to also facilitate scoping and experimentation. A plug-in board was developed for those who need RS-232 compatibility, while another one allows for a good degree of compatiblity with DB-25 PC-style parallel ports.
Both versions are valid and fully working, it is up to the user to choose what is best for them.
Both versions of 16UP can be configured to respond to two different address sets through the JP1 jumper:
This configuration will expose the ACIA (Serial port) at address $fd6x
and the MOS 6529 (Parallel port) at $fd7x
. These addresses are normally unused in both the C16/116 and +4, thus this setting is the most compatible, but it will need "special" software that either looks for the ports at these addresses or that allows the addresses to be configured manually.
On a +4, this configuration will effectively add a second User Port that can be used independently of the built-in one.
This configuration will expose the ACIA and MOS 6529 at the same addresses that are normally used on a +4 ($fd0x
for the ACIA and $fd10
for the 6529). Of course this means that it cannot be used on a +4 as the port would conflict with the built-in one. It is rather meant to be used on a C16/116, making it ALMOST (see below) compatible with all the +4 software that uses the User Port.
NOTE: Using this board on a C16/116 requires an internal modification in the machine. While this may sound impractical, it is fairly easy to perform and there are good reasons to perform it even if you are not interested in using this board. Please see this page for details.
If you perform the C16/116 modification, plug 16UP in the Expansion Port and want to use the Datassette, you will notice that the computer will no longer detect when you press Play upon the Press Play on tape prompt. This is absolutely normal and is actually a sign that the modification works as intended. If you really want to use the Datassette you can either remove the board from the Expansion Port or make a Y cable with one female and two male MiniDIN-7 connectors: the Datassette will plug into the female connector, while one of the two male ones will plug into the C16/116 and the other one into the MiniDIN-7 connector on the 16up board.
Hint: if you want to save wire and effort, it is enough to bring the Sense signal (Pin 6) to the connector that plugs into 16UP.
Another hint: if you use one of these instead of the female connector, you can make an adapter for the C64 (1530) Datassette ;).
Since all the serial signals are handled on-board, they are not brought out to the edge connector. Any peripheral that uses any signals besides P1-P8, /ATTN and /RESET just won't work with V2 and that's why V3 was developed.
The +4 User Port is made up of a few distinct elements, let's analyze them one by one:
The 8-bit parallel port can be implemented by a few different hardware components and is fully functional. There are a few caveats though:
- On V2, bit 1 is shared with the /CTS serial port signal: this should not cause too much concern but you should be aware that it will be forced low whenever you have something connected to the serial port that is not ready to accept data. In this case, just disconnect the device or remove the JP2 jumper (or set it to the HW position). Keep in mind that bit 1 must be high before using the serial port (or terminals will probably never know that the other end is ready to accept data), which is the case at reset/power-on.
- Bit 2 is shared with the Cassette Sense signal: if you have connected the Datassette Y cable to the board, whenever a key on it is pressed, bit 2 will be forced low. If you need to use the parallel port, press Stop on the Datassette in order to release all keys.
(Do not blame me for the above, these are questionable design decisions straight from Commodore and those problems also affect a real +4.)
The +4 User Port has all the signals required by an RS-232 interface, but they are at TTL voltage levels (i.e.: 0/+5V). This is fine if you need to connect a microcontroller like an Arduino but in order to turn them into a real RS-232 port, they need to be shifted to higher voltages.
As already mentioned, you will need to use an extra adapter that plugs into the User Port edge connector.
16UP V2 has such an adapter built-in and thus features a full RS-232 port on the onboard DE-9 connector.
All signals on the port are connected and usable, with the exception of Ring Indicator. DCD, DSR and /CTS are pulled to the asserted level in order to allow communication with devices/cables that do not use those signals.
When using the serial port, you must decide whether you want hardware flow control to be handled by the ACIA or by the KERNAL: this might sound odd but it is due to the fact that ACIA chips of the era have an hardware bug that causes the /CTS signal to be handled incorrectly. Commodore engineers must have found that out and decided to let the KERNAL handle it (if you look at the +4 schematics, you can clearly see that the signal was rerouted at a later stage). You can make your choice through the JP2/JP3 jumpers (always move them both to the same side!): the SW setting will pass /CTS to the KERNAL and is the recommended one as this is the configuration used on the +4. The HW position is only recommended if you are using a W65C51S chip (which should have fixed the bug) and is mainly meant as an experimental feature.
If you are looking for a terminal emulator, I recommend Term-80 as it is hands down the most feature-rich program of its kind (Hint: press CBM+HELP when you get lost) and supports communication at 19200 bps (Take that, C64!).
This is fully functional as on the original +4.
The /ATTENTION signal is not present on the C16/116 Expansion Port. Thus, if you need it, you will need to provide the board with it through the /ATTN (J1) connector on V2 or through the relevant pin of the J3 pin header on V3. The signal is available on pin 3 of the IEC (Serial) port and it can be connected in parallel to any other device you already have on that port, just break it out.
This is directly connected to the main power rails of the C16/116. Use common sense and do not draw "too much" power out of it.
This is not present on the C16/116 Expansion Port and thus the corresponding pins of the User Port are left unconnected on V2, while on V3 they can be powered from the relevant pins of the J3 pin header. This should not be a big deal though, as the main use case for this is to provide the higher voltages needed for a fully-compliant RS-232 interface but 16UP V2 has that built-in in a way that does not require an actual higher-voltage supply, and the same applies for the recommended adapter for V3. Let me know if you find any User Port peripherals that require it.
The parallel port on the +4 is driven through a MOS 6529 (U2 on the board). Since these days that IC is pretty hard to get hold of, an alternative circuit based on a 74LS654 was designed by Daniël Mantione and integrated into the board. Depending on what you choose to use:
- If you use an original MOS 6529: do NOT mount RN1.
- If you use a 74LS654: mount RN1.
There are various ICs that can be used as ACIA (U3):
- Original MOS 6551 or 8551 will work but are hard to find.
- The Western Design Center still produces the W65C51S, which is based on the original MOS design and is fully compatible with it. There is also an -N model but its compatibility is uncertain at this stage.
- Older similar chips recovered from older equipment, such as the Rockwell R6551(A)P, UMC UM6551(A), etc. can be found on Aliexpress, eBay, etc. easily and cheaply and should be perfectly compatible. Prefer models with an A in the part number. I did all my testing with an R6551P, by the way.
The board uses a GAL for address decoding. Either a GAL20 or GAL22 can be used and both can be programmed with the ubiquitous TL866 programmers. The required JED files can be found in the relevant directories. The GAL speed shouldn't matter too much, I used a 25ns model with no particular issues.
The 16UP documentation, including the design itself, is copyright © SukkoPera 2022-2023 and is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This documentation is distributed as is and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES whatsoever with respect to its functionality, operability or use, including, without limitation, any implied warranties OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE or infringement. We expressly disclaim any liability whatsoever for any direct, indirect, consequential, incidental or special damages, including, without limitation, lost revenues, lost profits, losses resulting from business interruption or loss of data, regardless of the form of action or legal theory under which the liability may be asserted, even if advised of the possibility or likelihood of such damages.
If you want to get some boards manufactured, you can get them from PCBWay through this link:
You get my gratitude and cheap, professionally-made and good quality PCBs, I get some credit that will help with this and other projects. You won't even have to worry about the various PCB options, it's all pre-configured for you!
Also, if you still have to register, you can use this link to get some bonus initial credit (and yield me some more).
You can also buy me a coffee if you want:
Inspiration for this board came from an uncompleted project by Solder/Synergy.
Other people from the Plus/4 World Forum helped, in particular:
- Daniël Mantione for the MOS 6529 replacement circuit.
- TLC (Levente Hársfalvi) for lots of information about the serial port.
- MCes for helping fine-tuning of the C16 modification.