Skip to content

DolphinDOS 3 board for (but not only) C128DCR internal 1571

Notifications You must be signed in to change notification settings

ytmytm/c128dcr-DolphinDOS3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DolphinDOS 3

This project recreates work done on DolphinDOS 3 by SilverDream! in KiCad with some adjustments for C128DCR. Go there for a lot of information about DolphinDOS.

The goal was to get rid of 40-wire ribbon cable between daughterboard and IDC to IC adapter and plug the board directly into C128DCR mainboard into U101 (6502 CPU) footprint.

With a ribbon cable extension the same board can be still used with 1571 from C128D or standalone 1571 or installed in 1541/1541-II.

DolphinDOS 3 PCB top view

Project

All the Kicad files are in dolphindos3-kicad/ folder.

Also check dolphindos3-kicad/plots/ for schematic PDF and gerbers for manufacturing.

Schematic is available there as well.

Branch sd-rev2a is frozen to reflect SD! design recovered from Gerber files he published and with recreated schematic.

Design changes

  • IDC socket and CPU socket swapped around, additional footprint for pins going down to C128DCR U101 socket
  • support for 64K ROM (27E512), short/open JP3 to choose which half is used; if you have C128 Kernal switcher then connect JP3 square pad there so that A15 line (pin 1 of ROM) of both C128 Kernal and 1571CR DOS changes simultaneously
  • JP3 makes JP1 obsolete you can switch between stock (or JiffyDOS) and DolphinDOS on the fly; JP1 can be used to disable onboard RAM
  • support for 32K (62256) and 8K (6264) SRAM chips; for 32K option additionally JP4 and JP5 choose if PIA port B bits 0 and 1 are used to select 8K bank visible in $6000-$7FFF range; this is not supported by any software right now; you can keep those jumpers open

Parts

  • 6x DIP 14 sockets
  • 2x DIP 28 sockets
  • 3x DIP 40 sockets
  • 1x 74LS04
  • 3x 74LS08
  • 2x 74LS32
  • 1x 62256 or 6264 SRAM
  • 1x 32K or 64K EPROM/EEPROM (e.g. 27E512)
  • 1x PIA 6821 (e.g. MC6821L)
  • 9x 0.1uF capacitors (104)
  • 4x 10K resistors
  • 5x 2-pin square goldpins and jumpers
  • 2x 20-pin round goldpins
  • 10 wire ribbon cable (about 1m)
  • 10 pin IDC socket
  • 10 pin IDC connector
  • user port connector

For logic chips 74xx the HCT or F series is fine too.

Optionally (not needed for C128DCR):

  • 40 pin IDC socket
  • 40 pin ribbon cable
  • 40 pin IDC to DIP socket adapter

C128DCR preparation

  1. Desolder U101 (6502)

C128DCR mainboard with U101 removed

  1. Put a socket in that place

C128DCR mainboard with socket in U101

  1. Put back 6502 and test if the drive still works

PCB assembly

Start with resistors, then solder in pins that will go down to the mainboard PCB. You need round goldpins, not square ones. After that solder in all the IC sockets. Finally add capacitors and jumpers.

I have omitted JP2 because C128DCR has drive reset built-in.

Since I have kernal switcher I should have omitted JP3 and just solder a wire between JP3 square pin and U32 pin 1 (A15 pin) from the very beginning.

For the same reason I'm not going to use JP1 to disable DolphinDOS. It's enough for me to switch between top 32K of ROM chips with DolphinDOS 3 and the bottom half with JiffyDOS. Shorting JP1 would disable PIA, RAM expansion and would use the onboard DOS ROM.

Assembly is quite easy but there is a lot of solder points - over 200. If I ever do a second revision I would replace all the logic by two GALs of just go with SMD for 74xx logic.

Installation in C128DCR

Carefully align the pins from DD3 daughterboard with U101 socket and push it in. Put some insulation sheet over the underlying ICs just in case.

You can test the board already, even without the cable. After UI command it should report Dolphin DOS.

DolphinDOS 3 daughterboard installed in U101 socket

Note the cable alignment. When crimping the IDC connector make sure to align red wire with the small triangle on the connector. I didn't put strain relief part here because that could make the whole assembly to tall and bump against drive mechanism. Having strain relief would also make it impossible to remove the table through user port opening without removing the mainboard first - it would be too tall.

Parallel cable

I have routed the cable to the back of the computer, then under the power supply to the user port opening.

USER PORT signal Flat 10
B /FLAG2 1 (red)
C PB0 2
D PB1 3
E PB2 4
F PB3 5
H PB4 6
J PB5 7
K PB6 8
L PB7 9
8 /PC2 10

The user port side looks like this. Side with 9 wires with red one connected to pin B is the bottom. The last, 10th wire (/PC) is connected to pin 8 on the top side.

Userport cable for DolphinDOS 3

Firmware / ROMs

Firmware is in roms/ folder:

Remarks

Supposedly the C128 Kernal ROM is based on earlier revision than the one used in C128DCR. This means it should be compared against stock ROM and reapplied on the last revision of the C128 Kernal.

The same ROM is used for all 1571 drives. The 1571CR from C128DCR has a different MFM controller, so this part supposedly doesn't work anymore. Again, if DD3 ROM would be compared against stock 1571 DOS hopefully changes could be reapplied on the 1571CR ROM. However I think it's not as important as the C128 Kernal issue.

1541

For 1541-II instead of DolphinDOS 3 I recommend DolphinDOS 2 which is much simpler and uses far fewer components.

Exactly the same cable pinout for 10-wire parallel cable coming in from 1541 is used in my built-in Swiftlink coupled with CIA#2 project.

Quick tests

Use @X command to control DolphinDOS options. Read the manual (copy from Project64 for all the options that you can control with @X.

If sucessfully enabled the directory listing should be noticeably faster (it uses RAM as a cache) and load should report start/end addresses:

C128 screen with DolphinDOS 3 activityC64 screen with DolphinDOS 3 activity

Results

Benchmark results from 64'er speed test show that in C64 mode the internal 1571 drive is almost 31 times faster on PRG LOAD than a stock 1541.

64'er speed benchmark in C64 mode