forked from nbs32k/open98
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun - vhd.bat
26 lines (22 loc) · 1.11 KB
/
run - vhd.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
echo select vdisk file="C:\Users\1337\Desktop\open98\hdd.vhd">C:\Users\1337\Desktop\open98\dprt
echo attach vdisk>>C:\Users\1337\Desktop\open98\dprt
diskpart /s C:\Users\1337\Desktop\open98\dprt
mkdir E:\SYSTEM
copy C:\Users\1337\Desktop\open98\ntoskrnl\ntoskrnl.elf E:\SYSTEM\NTOSKRNL.SYS
copy C:\Users\1337\Desktop\open98\vfs.tar.gz E:\SYSTEM\VFS.TAR.GZ
echo select vdisk file="C:\Users\1337\Desktop\open98\hdd.vhd">C:\Users\1337\Desktop\open98\dprt
echo detach vdisk>>C:\Users\1337\Desktop\open98\dprt
diskpart /s C:\Users\1337\Desktop\open98\dprt
del C:\Users\1337\Desktop\open98\dprt
:::PROMPT
::SET /P AREYOUSURE=Debug mode (Y/[N])?
::IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
::"C:\Program Files\qemu\qemu-system-x86_64.exe" -M smm=off -no-reboot -d int -hdd C:\Users\1337\Desktop\open98\hdd.vhd
::pause
:":END
::"C:\Program Files\qemu\qemu-system-x86_64.exe" -debugcon stdio -accel whpx -rtc base=localtime C:\Users\1337\Desktop\open98\hdd.vhd
::pause
ping 127.0.0.1 -n 3 > nul
"C:\Program Files\qemu\qemu-system-x86_64.exe" -debugcon stdio -m 2G -accel whpx -rtc base=localtime C:\Users\1337\Desktop\open98\hdd.vhd
pause