Simple raycast engine written in Free Pascal for DOS real mode How to build You need free pacal cross-compiler for i8086-msdos, with Tiny memory model Execute the following command: ppcross8086 -Wtcom -Os -O4 -Xs raycast.pas