iic: the drive on the back is the drive number, and a IIc Plus boots it
The other axis of the disk port turns out not to be a latch. A IIc Plus keeps its internal and its external 3.5-inch drive both on port 5 and tells them apart by drive number — "internal 3.5-inch drive at $C500 (port 5, drive 1)" against "external UniDisk 3.5 or Apple 3.5 drive at $C500 (port 5, drive 2)" (Apple Computer, Inc., 1989b, p. 86) — so the port says which *kind* of drive and the drive number says *whose*, and the drive number is the IWM's own. The glue chip's pins agree: `INTEN*` is "a latched output bit to enable internal drive" and `ENB2` "follows EN2X* or ROMEN1* if addressing mapped device space to select external drives" (Table 11-15, p. 328), one enable line each, the second being the IWM's ENABLE2 qualified by the address decode. So nothing had to be built; what was missing was the proof, and there is now a system test that boots a IIc Plus to the System Utilities with its only disk in the drive on the back and the drive in the case left empty. Ignore the drive select and the test stops reaching ProDOS at all. A five-and-a-quarter drive on the back is still out of reach, and three guesses at what writes `3.5 DRIVE*` were measured and buried. Not the address executed from: the port-6 driver straddles `$C100-$DFFF`, stepping the head and running its read loop inside that space while the instruction that starts the motor runs outside it. Not the port address: with a five-and-a-quarter disk in the machine, `$C0Ex` is the only page the firmware ever touches, never `$C0Dx`. Not a write against a read on the SEL pair: both polarities break the 3.5-inch path. With such a disk present the firmware still touches only the five glue addresses already spoken for and never the three that are not. Reading the pinout closely did settle something. Every address line the chip has is on it — A5, A6, A7 to pick the register, A9, A10, A11 to place it (Figure 11-13, p. 327) — and A8 is not, so it cannot tell `$ce00` from `$cf00` and answers across both pages. Bank 1 of the ROM says the same from the other side: five hundred and twelve zero bytes there, two pages of hole rather than one. The window is that wide now, with a test for the aliasing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GgsYL8D46Cd7iQEZG7Z76J