Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

everybody-codes-tp50

Some solvers for puzzles from Everybody Codes in Turbo Pascal 5.0

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Coding Puzzles in TP 5.0

Some solvers for coding puzzles in Turbo Pascal 5.0. Created by Tuomas Lehti August 2025.

About

Everybody Codes, Advent of Code and FlipFlop Codes are ever-growing sets of programming puzzles, which may be solved in any programming language.

This repo contains the puzzles which I've chosen to solve using Turbo Pascal, which is an ancient Pascal IDE from the 1980s.. The project started with version 5.0, and to clear my concience I've since changed to 5.5, which is freely available.

I first run TP in an emulated 25 MHz 486 with 4 MB of memory and MS-DOS 4 as the operating system inside 86box. That has later been updated to to a 486DX2-66 with 8 megs of RAM and FreeDOS, once again to use legal and licensed software.

It should be possible to run the programs in more modern environments as well.

The motivation behind it all is to stay in touch with my past. Turbo Pascal was my next step after BASIC (VIC-20 and GWBASIC in PCs). It's fun to immerse myself back in that time and see how my programming skills have developed through the decades. I can now, with modern software and increased knowledge, accomplish things I never even dreamed of then, and I want to see if they would have been possible at the time.

This is just a hobby for me, as is programming in general. This repo may just cease to develop and evolve without prior warning, if things aren't fun anymore, or if I don't have the time to delve in the past.

Even though the repo is named after Everybody Codes, it now contains code for other coding puzzle sites as well. I may also add some code from Internationalization puzzles. Tips for other programming puzzle sites are always welcome.

Imaedit

Imaedit is a silly little disk image extractor to make the interoperability between the emulator and a modern git interface easier.

Synopsis

imaedit [-h] [-V] {list,extract} image.ima [destination]

Commands

list : list files in a disk image

extract : extract files from a disk image

Global Options

-h, --help : show help and exit

-v, --version : show the version number of the program and exit

Extract

Extracts the contents of the disk image into the destination directory. Existing files are not overwritten unless the image contains a newer version.

-q, --quiet : suppress output

-v, --verbose : also list skipped files

License

This project is licensed under the CC0 1.0 Universal Public Domain Dedication. This means you are free to use, modify, and distribute the contents of this repository without restriction.

Attribution Request

Although not legally required, I kindly ask that if you use this code elsewhere, you mention me (Tuomas Lehti) as the original author.

Thank you!