Code for this program is located in projects/snowball
Download PowerShell 7 or newer either from WinGet, Microsoft Store or Microsoft website (.msi).
Install powershell
from the Microsoft repos, qemu-system-i386
and dosbox
from somewhere else.
Make a copy of example
folder in projects
and rename it to something you like. Now you can add as many .c
/.cpp
/.h
files as you like!
- Open PowerShell console in this folder (you can use a regular shell on Linux)
./build.ps1 -project name-of-the-project
, for example, theexample
project inprojects
folder is built with the following command:./build.ps1 -project example
Script automagically compiles and links your project's files, names the executable as project-name.exe
and runs Windows 3.11 with your program in autorun.
Feel free to remove every .o
file you see! Other unnecessary files are listed in .gitignore
- Open Watcom 2.0 with WinG
- QEMU
- DOSBox
- The screen of QEMU is filled with static!
It probably happens because of the mouse driver. Wait until the static no longer changes, then try forcing OS to redraw the windows by dragging them around.
- WinG documentation
- Knowledge base with the docs for old Windows API: https://github.com/jeffpar/kbarchive