Repository navigation
Easiest way to install: the ESPFuji web installer - Chrome or Edge on a computer, no command line (for an ESP32 that already works in an ESProFile). The script below adds backup and restore.
ESPFuji 1.1.5: a Lisa starts from an external ESProFile on a parallel card again. If you start your Lisa from an external ESProFile, please update. Everyone else gains faster disk transfers.
The ESProFile (Alex Anderson-McLeod's ESP32 ProFile emulator) joins your Wi-Fi and fetches web pages for Lisa and Mac XL programs through a "mailbox" file on the ProFile volume. Not the official ESProFile firmware, and not the official ESProFile repository (it is Tim O'Connor's fork). Alex has approved of this being published, but he does not support the ESPFuji firmware in any way: questions or bugs about ESPFuji go to this repository's Issues, never to Alex. The ESProFile boards and the stock emulator firmware remain Alex's work and his to support.
What 1.1.5 changes
- Error 85 when a Lisa is started from an external ESProFile on a parallel card is fixed. The "not supported" note of 1.1.4 is withdrawn.
- What was wrong. To start from a parallel card the Lisa uses the boot ROM on that card. The ROM of Apple's 2-port card (341-0193-A) lowers CMD and waits only about 0.9 milliseconds for the drive to answer with BSY; then it gives up with error 85. ESPFuji 1.1.2 and 1.1.4 answered after about 2 milliseconds (older versions were not measured). The Lisa's own boot ROM and the Office System wait far longer, which is why an internal ESProFile, and an external one used as a second disk, worked all along.
- Where the 2 milliseconds came from. The emulator switches its LED before every change of BSY, with analogWrite. In the Arduino ESP32 core these builds are made with (3.3.12) that call can wait for a whole period of the LED's 1 kHz PWM. The delay was not in the disk code and not in the network code.
- The fix. The LED's PWM is set up once at start; from then on the LED is switched by writing the output-select register of its pin. No library call is left in front of a change of BSY. Nothing in the transfer loops, the mailbox or the guards of 1.1.3 and 1.1.4 is touched.
- Disk transfers are faster for the same reason: on the bench, in the same three minutes about 2.3 times the reads and 3.2 times the writes of 1.1.4 (36,005 against 15,865 reads; 35,553 against 11,223 writes). How much a Lisa gains was not measured.
- Everything else is 1.1.4: the network core is parked for the length of every disk transfer, a block that does not arrive complete is not stored, a glitch on a control line is ridden out, a write whose command arrived damaged is refused.
Tested
- Lisa 2/10, Apple 2-port parallel card, an external ESProFile (ESP32 of chip revision 3.1) on its cable, the same board, cable and SD card in one sitting: 1.1.4 gave error 85 twice; the 1.1.5 code started the Office System 3.1 four times out of four (three with the external ESProFile alone, and once, with the released image, with an internal ESProFile mounted beside it). Started from the internal disk, the external ESProFile with 1.1.5 mounted as a second disk and a tool was copied onto it. Two controls on the same board: the stock firmware offered on the installer page (the stock 1.6 source built here with the same Arduino core) gave error 85 as well, and a factory-original build of the stock emulator (1.2) started the Lisa. The LEDs look as before.
- Bench (one ESProFile reading and writing another), with the same code under its test name 1.1.5a1: the answer to the host (BSY low after CMD low) takes 1.5 microseconds where 1.1.4 took about 2 milliseconds; in 145,000 handshakes with the radio busy none took longer than 14 microseconds.
- The released image itself on the bench: 36,006 reads and 35,582 writes in three minutes each and 18,008 reads through a restart, all with the radio busy, nothing odd or refused; its answer to the host takes 1.5 microseconds, and in 145,000 handshakes none took longer than 14 microseconds.
- For the plain ESP32 (the chip on the ESProFile boards). The ESP32-S3 image has the same LED change but NOT the parked core of 1.1.3, and it has never run on hardware. It is here for testers only.
If you used 1.1.2 or earlier on a disk you care about: update; keep any older backup of the disk image; if the Lisa reports a damaged disk, repair it from the Office System 1 diskette or go back to the backup. Copy the disk image off the SD card now and then.
Nothing changes for the programs: the same mailbox, requests and answers. The Lisa tools and the Mac XL applications need no update. Your espfuji.ini stays as it is. Wi-Fi still joins about a minute after power-up, or as soon as a program asks for the network.
Files
ESPFuji_1.1.5_esp32.merged.bin: the plain ESP32 module (the one in the ESProFile boards). Whole flash; write at address 0.ESPFuji_1.1.5_esp32s3.merged.bin: the ESP32-S3 module. Testers only: no parked core in it, never run on hardware (see above).flash_espfuji_release.py:backup(always first),flash,restore, with esptool 4 or 5 from any OS. Updating from any earlier ESPFuji: justflash(the card and its disk image are not touched).espfuji.ini.example: your network name and password, optionally more networks and your time zone, on the SD card root asespfuji.ini.Drive_Test_XL_1.0.dc42(800K Disk Copy 4.2 image),Drive_Test_XL_1.0.bin(MacBinary II),Drive_Test_XL_READ_ME.txt: unchanged.ESPFUJI_0_2_REVD.dc42: the Lisa test tool floppy (H, W, G, S), unchanged.ESPFuji_XL_1.1.dc42(800K Disk Copy 4.2 image),ESPFuji_XL_1.1.bin(MacBinary II),ESPFuji_XL_1.1_READ_ME.txt: unchanged.SHA256SUMS.txt
Install steps and everything else: the README in espfuji/; all changes in espfuji/CHANGELOG.md.
Known limits: some large HTTPS files (tens of KB, e.g. from raw.githubusercontent.com) can still come up short, and timeapi.io refuses connections through the drive (LisaSolstice then uses the drive's own clock). An occasional HTTPS fetch can still fail on a slow or busy network: try again. One page open at a time; HTTPS without certificate checks (like the FujiNet); no POST; 2.4 GHz Wi-Fi only.
Problems: ESPFuji questions and bugs go to this repository's Issues page. The ESProFile boards and the stock emulator are Alex's: https://github.com/alexthecat123/ESProFile.