Skip to content

Instantly share code, notes, and snippets.

View ringosham's full-sized avatar

ringosham

  • Newcastle University
View GitHub Profile
@ringosham
ringosham / IBM Xenix 2.0 setup.md
Last active December 12, 2025 00:16
IBM Xenix 2.0 setup on 86Box

IBM Xenix 2.0 setup

Important

This setup requires emulating via 86Box/PCem

Important

This setup is specifically for the IBM version of Xenix. Not the SCO distribution

Machine configuration

@ringosham
ringosham / lxgc.c
Created December 17, 2020 23:23
Manually clear WSL memory
#include <stdio.h>
// Must be run as root
// To build:
// cc lxgc.c -o lxgc
int write(const char *path) {
FILE *fp;
fp = fopen(path, "w");
int response = fputs("1", fp);