a mega cool windows xp app
C 51.2%
C++ 39.4%
Nix 7.5%
CMake 1.9%
Shell 0.1%
7 1 3

Clone this repository

https://tangled.org/dunkirk.sh/shortwave
git@knot.dunkirk.sh:dunkirk.sh/shortwave

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Shortwave#

an app for rewind

a screenshot of windows xp with a text editor open saying "this will be a very cool app soon; just you wait"

Install#

You can download a pre-built binary from the releases or build it yourself using the nix flake.

Development#

this project uses nix for cross-compilation to windows xp. the key was using an older nixpkgs (22.05) since newer mingw toolchains use windows apis that don't exist in xp.

Quick Start#

# enter the dev environment (or use direnv)
nix develop

# build the app
nix build

# deploy to my xp vm folder
deploy-to-xp

Editor Setup (Zed)#

to get proper intellisense for win32 apis in zed:

# generate .clangd config with proper mingw headers
setup-dev

# restart zed

this creates a .clangd file that points to the actual mingw-w64 headers and avoids gcc intrinsics that cause clang issues.

Build Details#

  • uses mingw-w64 cross-compiler targeting i686-w64-mingw32
  • statically links runtime to avoid dll dependencies
  • targets windows xp (winver=0x0501) for maximum compatibility
  • older nixpkgs (22.05) prevents "procedure entry point" errors on xp

~

written in cpp. If you have any suggestions or issues feel free to open an issue on my tangled knot

© 2025-present Kieran Klukas