mirror of
https://github.com/felixrieseberg/windows95.git
synced 2026-05-09 00:24:09 +00:00
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:
@@ -12,6 +12,8 @@
|
|||||||
"lint": "prettier --write src/**/*.{ts,tsx} && npm run check-links",
|
"lint": "prettier --write src/**/*.{ts,tsx} && npm run check-links",
|
||||||
"tsc": "tsc -p tsconfig.json --noEmit",
|
"tsc": "tsc -p tsconfig.json --noEmit",
|
||||||
"check-links": "node tools/check-links.js",
|
"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"
|
"postinstall": "patch-package"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user