root42
root42@chaos.social
July 06, 2026
root42
root42@chaos.social
July 05, 2026
root42
root42@chaos.social

New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

https://www.patreon.com/root42/posts/lets-code-ms-dos-162954930?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

#letscode #msdos #turboc

July 05, 2026
root42
root42@chaos.social

The M1 iMac is starting to show its age...

July 05, 2026
root42
root42@chaos.social

If anyone wants to print with #emacs under recent #macos releases:
1. Install ghostscript via "brew install ghostscript"
2. Put the following script into your $PATH and put (setq ps-lpr-command "lpr-ps") into your init.el

#!/bin/bash
uuid=$(uuidgen)
gs -sDEVICE=pdfwrite \
-sPAPERSIZE=a4 \
-dFIXEDMEDIA \
-dPDFFitPage \
-dCompatibilityLevel=1.4 \
-o "${TMPDIR}/${uuid}".pdf - && open "${TMPDIR}/${uuid}".pdf && sleep 1 && rm "${TMPDIR}/${uuid}".pdf

July 05, 2026