WarpSE: 25 MHz 68HC000-based accelerator for Mac SE

JDW

Administrator
Staff member
Founder
Sep 2, 2021
1,656
1,416
113
53
Japan
youtube.com
Hmmā€¦ if the SWIM werenā€™t required separately - maybe? With the SWIM I feel like youā€™re talking $50-60+, plus the cost of a SuperDrive. Generally speaking, I feel like youā€™re going to have two camps:

1. Folks that are generally content with the machine as-shipped (or prefer the original configuration for historical accuracy; these folks probably have both an original SE and an FDHD)
2. Folks that want to max everything out, and who will jump at the WarpSE (including the FDHD ROM), and will supply their own SWIM and SuperDrive (or have an FDHD that theyā€™re upgrading with the WarpSE).

Iā€™m not sure there are many folks in between, that effectively want to convert their original SE to an FDHD. At least, I could see myself in either #1 or #2, but Iā€™m pretty sure I wouldnā€™t upgrade my 800k to be an FDHD - Iā€™d either add a WarpSE and live with 800k floppies, or Iā€™d pick up an FDHD and upgrade one (or both) of my SEs with WarpSEs.
Based on my previous dialog with Zane in this thread, when you have a WarpSE installed, it doesn't matter if your SE motherboard features an older IWM or newer SWIM chip because WarpSE comes with the SWIM flashed. With WarpSE, if you want the IWM (while keeping the WarpSE active), you just flash WarpSE using a vintage MacOS app. It's basically the same sort of app you use to flash the original ROM-inator), and you then have the older IWM which lets you have 400K and 800K drive compatibility (no 1.44MB drive compatibility). Again, this is the discussion I had with Zane earlier in this thread.

More things to note...

1. Even in a stock SE board without a WarpSE, you can use the newer SWIM chip with the older ROMs, and you get 400K/800K drive compatibility, regardless of whether you have a 1.44MB or 800K drive installed. I've not tested that only because I have a non-functional (due to rust) 800K drive installed in my SE Reloaded machine.

2. Newer SE ROMs require you to boot from System 6.0.3 or newer, but the older ROMs let you boot into System 1.0. Presence of a SWIM or IWM shouldn't impact this, but I don't have newer ROMs to test that. I do know that I cannot boot System 0.85 even with my older SE ROMs and IWM, but that is the System Software with funny looking folder icons that shipped with the original 128K's tour disk, so it's not a huge loss. The Mac Plus (in theory because I don't have a Plus to test) and earlier Macs (tested by me) can boot from System 0.85, however.

3. If you have a 1.44MB SuperDrive floppy drive and old ROMS and IWM, you should be able to use that drive to read/write 400K & 800K disks, but just not 1.44MB disks. I've not tested a 1.44MB floppy drive in my SE, however, to confirm that.
 

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
612
93
Columbus, Ohio, USA
Based on my previous dialog with Zane in this thread, when you have a WarpSE installed, it doesn't matter if your SE motherboard features an older IWM or newer SWIM chip because WarpSE comes with the SWIM flashed.
No! I just wanna be clear that this isnā€™t true. The SWIM isn't something you can flash or store somewhere to enable 1.44M floppy support. The WarpSE will have the FDHD ROM but not the SWIM chip. It's not something that can be added to the Mac without connecting to the floppy drive. So you will have to supply your own SWIM chip if you want to use 1.44M floppies.
 

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
612
93
Columbus, Ohio, USA
Now the real question is, why hasn't someone reimplemented the SWIM? It's just a state machine... Someone oughta do that. I'm only good at processors and RAM controllers. I kinda suck at I/O so someone else oughta tackle that project.
 
  • Like
Reactions: retr01

retr01

Senior Tinkerer
Jun 6, 2022
2,474
1
796
113
Utah, USA
retr01.com
No! I just wanna be clear that this isnā€™t true. The SWIM isn't something you can flash or store somewhere to enable 1.44M floppy support. The WarpSE will have the FDHD ROM but not the SWIM chip. It's not something that can be added to the Mac without connecting to the floppy drive. So you will have to supply your own SWIM chip if you want to use 1.44M floppies.

Okay, the disk storage I/O would be handled by the SE logic board's IWM or SWIM since WarpSE is the accelerator. Correct?
 

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
612
93
Columbus, Ohio, USA
Okay, the I/O would be handled by the logic board since WarpSE is the accelerator. Correct?
Yeah. Now if someone could come up with the Verilog code or logic schematic of a SWIM chip, we could just integrate that on the WarpSE and put our own 20-pin floppy connectors. Big Mess O' Wires has his Yellowstone disk controller for the Apple II but I think it's only an IWM, not a SWIM. I'm not aware of any other IWM/SWIM implementations so we're outta luck.
 

retr01

Senior Tinkerer
Jun 6, 2022
2,474
1
796
113
Utah, USA
retr01.com
Yeah. Now if someone could come up with the Verilog code or logic schematic of a SWIM chip, we could just integrate that on the WarpSE and put our own 20-pin floppy connectors.

Yeah...I wonder.

Big Mess O' Wires has his Yellowstone disk controller for the Apple II but I think it's only an IWM, not a SWIM. I'm not aware of any other IWM/SWIM implementations so we're outta luck.

IWM. IWM has been used with Apple II for a long time. Perhaps. I have the Yellowstone in my IIGS. Hmmmm.
 

retr01

Senior Tinkerer
Jun 6, 2022
2,474
1
796
113
Utah, USA
retr01.com
Yellowstone uses Lattice FPGA, which may have been programmed in the designs of the Universal Disk Controller by Laser vTech.

1681893170525.png

 

Crutch

Tinkerer
Jul 10, 2022
293
228
43
Chicago
However, the 400K support was dropped beyond System 7.1, AFAIK. So, with System 7.1 and below, can use 400K.

The ability to write 400K disks was dropped at some point I think (but believe it was later than 7.1?? maybe Iā€™m wrong). But you can certainly still read 400K disks with later system versions. I do it all the time on my SE/30 running 7.5.5.
 
  • Like
Reactions: retr01

mdeverhart

New Tinkerer
Apr 17, 2022
9
3
3
My point (which I probably muddled), was just that Iā€™m skeptical thereā€™s much of a market for replacement SE ROMs, other than maybe as a repair part. Clearly thatā€™s just my opinion, and I donā€™t have any data one way or another to back it up.

That said, it sounds like it would be the same hardware as the IIgs ROM01 kit that Zane / GW already sells, so at least itā€™s not a new hardware design.
 
  • Like
Reactions: Patrick

Melkhior

Tinkerer
Jan 9, 2022
98
50
18
The ability to write 400K disks was dropped at some point I think (but believe it was later than 7.1?? maybe Iā€™m wrong). But you can certainly still read 400K disks with later system versions. I do it all the time on my SE/30 running 7.5.5.
My muddled memory of that era tells me it might not be so much an hardware issue as a filesystem issue. Original Macs were using MFS (Macintosh FileSystem) on the 400K floppies, before the introduction of HFS (Hierarchical FileSystem) that may or may not have coincided with the introduction of the 800K in the Plus.
I suspect 400K floppy using MFS were dropped somewhere in the 7 era, but 400K floppy in HFS remained supported.
 
  • Like
Reactions: Patrick

Crutch

Tinkerer
Jul 10, 2022
293
228
43
Chicago
My muddled memory of that era tells me it might not be so much an hardware issue as a filesystem issue. Original Macs were using MFS (Macintosh FileSystem) on the 400K floppies, before the introduction of HFS (Hierarchical FileSystem) that may or may not have coincided with the introduction of the 800K in the Plus.
I suspect 400K floppy using MFS were dropped somewhere in the 7 era, but 400K floppy in HFS remained supported.

To my knowledge, the ability to read 400K floppies with any format was never dropped during the System 7 era. Certainly my SE/30 running 7.5.5 can read MFS-formatted 400k floppies just fine. (The folders donā€™t show up ā€¦ but the files are all there.)

(While it was theoretically possible to format a 400K floppy using HFS, in practice this was never done. MacGUI has a nice blog post explaining how to do it if you really want to.)

FWIW LowEndMac (which is not always correct) claims that the ability to write 400k floppies was removed in 7.6, and the ability to read 400k floppies was removed in OS 8. (Not in 7.1 as was stated above.)

Sorry to Zane etc. for the tangent.
 

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
612
93
Columbus, Ohio, USA
Just grabbed the Sony-Tektronix AWG2040 out of storage. Iā€™m gonna use it to try overclocking the WarpSE. This thing can output an arbitrary waveform at up to 1 gigapoint per second:
432C75DC-5036-4A02-AA41-BC7E9B2EBE08.jpeg
This piece of equipment is admittedly overkill for clock generation purposes. It can output any wave and at quite high sample rates but Iā€™m just using it to put out a 33 MHz square wave. I just donā€™t have any other equipment that can put out a square wave at such a high (> 25 MHz) speed. It has a nice enough output:
DC9FE1F3-AA86-4044-B648-7B7B6DEA8585.jpeg
1.3 ns is a fast enough edge rate. Too slow and you get problems where different chips see the clock go off at substantially different times. I usually aim for a 1ns clock edge in 10-100 MHz systems but this is good enough.
 
Last edited:
  • Like
Reactions: retr01

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
612
93
Columbus, Ohio, USA
Ooooo! Wow! šŸ¤©

So, maybe we can up the WarpSE to 40 Mhz? What about the crystals?
I mean, itā€™s open source so you can do anything with it you want. Weā€™re going to be selling 25 MHz units, but I am just seeing how much further it can go. There are always the ā€œworst caseā€ and ā€œtypicalā€ specs in engineering specifications including for chips. So if I bump the clock up too far past 25 MHz, the RAM and Xilinx CPLD will have to operate faster than their worst-case specs. And the CPU as well, plus itā€™s already overclocked by 5 MHz.
 
  • Like
Reactions: retr01

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
612
93
Columbus, Ohio, USA
Small update. As I mentioned earlier, the first 15 prototypes of the WarpSE require a few mod wires on the board between some of the socketed chips including the MC68k CPU. The first prototype used large diameter modwire but this prevented us from installing the CPU and ROML sockets:
IMG_0614.jpeg


We want to bin all of our CPUs for 25 MHz operation before soldering them down. Iā€™m no good at really fine soldering so Garrett had to assemble a new board with the mod done in such a way that the CPU and ROML sockets could be put on:
IMG_0611.jpeg


See that little red wire? Much lower profile than the previous mod so now we can put the socket on and bin CPUs.

I had like 26 ā€œfakeā€ or ā€œrefurbishedā€ (as in the markings had been sanded off and new markings printed) MC68HC000s from some Shenzhen seller laying around so I tried em. They all worked! I was afraid maybe theyā€™d be old MC68000s which obviously canā€™t run at 25 MHz.

Now that Iā€™ve checked the CPUs, the prototype batch can be finished! Prototypes will use these ā€œfakeā€ chips but the production units will have recycled socket pull MC68HC000s with original non-fake markings.
 
Last edited:

Patrick

Tinkerer
Oct 26, 2021
435
1
224
43
oh interesting. the Package for the CPU is square. i was expecting it to be rectangle.