Add npm run qemu / qemu:cdrom scripts (#368)

Boots images/windows95.img with the same device set the image was
configured against:

- ne2k_isa at iobase=0x300, irq=10 (matches the NE2000 ForcedConfig in
  SYSTEM.DAT and v86's port 0x300 / PIRQA->IRQ10)
- vmport=on so VBMouse picks up the VMware backdoor for absolute pointer
- sb16, pentium, acpi=off as before

qemu:cdrom forwards an ISO path: npm run qemu:cdrom -- /path/to.iso
This commit is contained in:
Felix Rieseberg
2026-04-14 10:21:24 -07:00
committed by GitHub
parent 7d48709cff
commit 3151ffff3c

View File

@@ -12,6 +12,8 @@
"lint": "prettier --write src/**/*.{ts,tsx} && npm run check-links",
"tsc": "tsc -p tsconfig.json --noEmit",
"check-links": "node tools/check-links.js",
"qemu": "qemu-system-i386 -m 128 -drive file=images/windows95.img,format=raw -device sb16 -M pc,acpi=off,vmport=on -cpu pentium -netdev user,id=mynet0 -device ne2k_isa,netdev=mynet0,iobase=0x300,irq=10",
"qemu:cdrom": "npm run qemu -- -cdrom",
"postinstall": "patch-package"
},
"keywords": [],