-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
47 lines (41 loc) · 1.08 KB
/
Copy pathrun.bat
File metadata and controls
47 lines (41 loc) · 1.08 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
REM ============================================================
REM TinyBootloader v2.0 - Run-Skript (QEMU)
REM ============================================================
REM Voraussetzung: QEMU im PATH
REM Download: https://www.qemu.org/download/
REM ============================================================
echo.
echo TinyBootloader v2.0
echo =====================
echo.
REM Pruefen ob QEMU existiert
where qemu-system-i386 >nul 2>&1
if %errorlevel% neq 0 (
echo [FEHLER] QEMU nicht gefunden!
echo Bitte installiere QEMU: https://www.qemu.org/download/
echo.
pause
exit /b 1
)
REM Pruefen ob Image existiert
if not exist tinyboot.img (
echo [FEHLER] tinyboot.img nicht gefunden!
echo Fuehre zuerst build.bat aus.
echo.
pause
exit /b 1
)
echo Starte QEMU mit Disketten-Image...
echo.
echo Tastenbefehle in QEMU:
echo Ctrl+Alt+F - Vollbild umschalten
echo Ctrl+Alt+G - Maus entsperren
echo Ctrl+Alt+2 - QEMU-Monitor
echo Ctrl+Alt+1 - Zurueck zum Bildschirm
echo.
qemu-system-i386 -fda tinyboot.img
echo.
echo QEMU beendet.
echo.
pause