Skip to content

Redesign launcher UI with 98.css#347

Merged
felixrieseberg merged 5 commits into
masterfrom
claude/sharp-shirley
Apr 11, 2026
Merged

Redesign launcher UI with 98.css#347
felixrieseberg merged 5 commits into
masterfrom
claude/sharp-shirley

Conversation

@felixrieseberg
Copy link
Copy Markdown
Owner

Replaces the sparse start/settings cards with a period-correct launcher built on 98.css.

What changed

  • Start screen → a Welcome to Windows 95 dialog: gradient side stripe, rotating "Did you know…" tip box, right-hand button column (Start Windows 95 / Settings…).
  • Settings → a tabbed Properties sheet (Floppy Drive / Network Share / Machine State) with group boxes, sunken read-only path fields, and an OK/Cancel footer.
  • Vendored 98.css plus its four Pixelated MS Sans Serif .woff/.woff2 files; index.html now loads that instead of 95css.css.
  • Removed the bottom taskbar nav (start-menu.tsx). Navigation goes through the dialog buttons so the launcher can't be mistaken for the running OS.
  • Rewrote root.less / start.less / settings.less for the new markup; dropped the old .btn / .card / .nav-* classes.

Notes for review

  • src/less/vendor/95css.css is now unreferenced and can be deleted in a follow-up.
  • onChangeCdrom in card-settings.tsx is still bound but unused (CD-ROM was already disabled before this change).

Patches src/ide.js before building: restores the dual master+slave writes
for ATA Command Block registers (Features, Sector Count, LBA Low/Mid/High)
that 1b90d2e7 changed to current_interface-only. Those registers are
channel-shared per ATA spec; Win95's ESDI_506.PDR writes them then switches
drive-select expecting the values to persist. Found via JS-only bisect.

Boots fresh in ~32s with the same sporadic-bluescreen rate as the prod build.
The new build has the tcp-connection bus event so SMB uses the clean path
instead of the connection-theft hack (guard added for the old-API monkeypatch
to skip if the bus handler already accepted).

tools/update-v86.js applies the source patch automatically. v86 checkout
left clean (patch stashed).
Replace the sparse start/settings cards with a Win95-styled launcher:

- Start screen is now a 'Welcome to Windows 95' dialog with a gradient
  side stripe, a rotating tip box, and a button column.
- Settings is a tabbed Properties sheet (Floppy / Network / State) with
  group boxes, sunken read-only path fields, and OK/Cancel.
- Vendored 98.css and its Pixelated MS Sans Serif fonts; dropped the
  old 95css-based .btn/.card/.nav classes.
- Removed the bottom taskbar nav (start-menu.tsx) — navigation now goes
  through the dialog buttons so the launcher isn't mistaken for the
  running OS.
The tab, file picker, and prop wiring are all back and styled to match
the new Properties sheet, gated on CDROM_ENABLED=false until v86's IDE
CD path works again.
@felixrieseberg felixrieseberg merged commit 17e0182 into master Apr 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant