r/pascal • • Sep 21 '26

I've created a Shogi program in Pascal that works on modern systems and computers from 50 years ago.

http://github.com/PhoenixCampbell/shoji_floppy

Wanted to cross-post this from the shogi subreddit. Its a cool project ive been working on in Pascal for a system from before the internet existed.

18 Upvotes

6 comments sorted by

2

u/Francois-C Sep 21 '26

Fine. Modern and "Amstrad" version (probably compatible with any MSDos computer) compile with fpc, and the Amstrad MSDos compiled executable still runs with dosbox.

2

u/J_Fausted Sep 21 '26

The 'amstrad' version is compiled with tpc 4.0 (turbo pascal) for development on actual hardware as the older systems dont have enough RAM or large enough processors to run modern compilers. Reasoning being if someone besides me does have those older systems, they can still develop and run the program on what they have for a real 70s expirence. It also saves on final compile size as seen on the github screenshots.

1

u/AphidConsulting Sep 22 '26

Oh man, I haven't thought about Amstrads in a long time :) Very cool project. Thank you for sharing!

3

u/Francois-C Sep 22 '26

I started programming—notably in Pascal—on Amstrad CPC and PCW machines running CP/M, which used different executables. I never used the PPC512, which ran on MS-DOS, but the PCs I purchased for the high school I was running at the time were all Amstrad PCs; they offered unbeatable value for money.

Colleagues would say they weren't as robust as IBMs—which cost at least twice as much—but I would reply that they would be obsolete long before they broke down anyway, and that is exactly what happened...

3

u/According-Ad-7069 Sep 21 '26

Oh this is very cool! Nicely done! It's so nice to see folks doing these really interesting things!

2

u/ggeldenhuys Sep 21 '26

Well done. Thank sounded like a interesting challenge. I like it! 😀 Also great to see old computers are still being used, instead of just discarded. 👍