Open rexim opened 5 years ago
TL;DR : use qemu.
Type : Other
Version : Other/Unknown
Ram : 4M
Proc : 1 CPU
Do not add a virtual disk
Assuming you already compiled the game, you should have the pinpog
binary in the project directory.
$pinpog = [System.IO.File]::ReadAllBytes('pinpog')
$floppy = $pinpog + @(0) * (1474560-$bytes.Length)
[io.file]::WriteAllBytes('floppy_pinpog.vfd', $towrite)
head -c 1474560 /dev/zero > floppy_pinpog.vfd
sudo dd if=./pinpog of=./floppy_pinpog.vfd
pinpog_file = open("pinpog", "rb")
floppy_file = open("floppy_pinpog.vfd", "wb")
game_bytes = pinpog_file.read()
floppy_file.write(game_bytes + b'\x00'*(1474560-len(game_bytes)))
pinpog_file.close()
floppy_file.close()
In your virtual machine configuration > storage, add a floppy controller I82078 (floppy)
. Then add the newly created floppy image to the floppy controller (Add > Add > select the .vfd
file).
You can now run pinpog on VirtualBox.
You should run the game in QEMU