一些 Pcem 和 QEMU 的参数和配置

2025-01-31

QEMU 启动 Windows 10 参数

qemu-system-x86_64 -hda ./win10.img -boot d -enable-kvm -machine q35 -device intel-iommu -smp 2,sockets=1,cores=2 -m 2G \
-vga std -net nic,model=e1000 -net user -usbdevice tablet -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \
-device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1

PCem 配置启动 Windows 98 SE

贴一个 config 里的 cfg

gameblaster = 1
gus = 0
ssi2001 = 0
voodoo = 1
model = 430vx
cpu_manufacturer = 0
cpu = 19
fpu = builtin
cpu_use_dynarec = 1
cpu_waitstates = 0
gfxcard = virge375
video_speed = -1
sndcard = es1371
cpu_speed = 28
disc_a = 
disc_b = 
hdd_controller = ide
mem_size = 131072
cdrom_drive = 200
cdrom_channel = 2
cdrom_path = /mnt/e267568b-ef50-4137-85c0-93f0f2e5abd4/iso/ja_win98_se_oem.iso
zip_channel = -1
hdc_sectors = 63
hdc_heads = 16
hdc_cylinders = 9142
hdc_fn = /mnt/e267568b-ef50-4137-85c0-93f0f2e5abd4/iso/win98.img
hdd_sectors = 0
hdd_heads = 0
hdd_cylinders = 0
hdd_fn = 
hde_sectors = 0
hde_heads = 0
hde_cylinders = 0
hde_fn = 
hdf_sectors = 0
hdf_heads = 0
hdf_cylinders = 0
hdf_fn = 
hdg_sectors = 0
hdg_heads = 0
hdg_cylinders = 0
hdg_fn = 
hdh_sectors = 0
hdh_heads = 0
hdh_cylinders = 0
hdh_fn = 
hdi_sectors = 0
hdi_heads = 0
hdi_cylinders = 0
hdi_fn = 
drive_a_type = 0
drive_b_type = 0
bpb_disable = 0
cd_speed = 72
cd_model = pcemcd
joystick_type = 0
mouse_type = 3
enable_sync = 1
netcard = rtl8029as
lpt1_device = none
vid_resize = 0
video_fullscreen_scale = 0
video_fullscreen_first = 1

[3DFX Voodoo Graphics]
type = 2
framebuffer_memory = 4
texture_memory = 4
bilinear = 1
dithersub = 1
dacfilter = 0
render_threads = 2
sli = 1
recompiler = 1

[Joysticks]
joystick_0_nr = 0
joystick_1_nr = 0

[SDL2]
screenshot_format = png
screenshot_flash = 1
custom_width = 640
custom_height = 480
fullscreen = 0
fullscreen_mode = 0
scale = 1
scale_mode = 1
vsync = 0
focus_dim = 0
alternative_update_lock = 0
render_driver = auto

[GL3]
input_scale = 1.000000
input_stretch = 0
shader_refresh_rate = 0.000000

[GL3 Shaders]
shaders = 0    

仅供参考