I just completed "Cafeteria" - Day 5 of #AdventOfCode in #TurboPascal, but only in #dosbox for the moment, not on the #Xi8088 because I'm at work 😅

Again, 8087 to the rescue!

I can't wait to see how long it will take on the real hardware, probably only a few seconds.

Did you know that #Pascal does not provide any procedure to sort the content of an array? Turbo Pascal did come with a very helpful example of a #QuickSort implementation as a reference, though.

#Retrocomputing #DOScember

I just completed "Printing Department" - Day 4 of #AdventOfCode in #TurboPascal on the #Xi8088

I have to confess that I abused the structure of strings in #Pascal to keep my indexes in range...

I was afraid it would be unbearably slow due to all the memory accesses, but I managed to make part 2 run in 45 seconds. For reference, the same code takes only half a second on the 486. Caches do help, I suppose...

#Retrocomputing #DOScember

Что было бы, если BASIC развивался вместо C и Python

Сегодняшние языки программирования стали сложнее, но представьте, если бы вместо C и Python развивался BASIC. Под катом расскажу о том, почему языки усложнились, а также попробую погрузиться в альтернативный сценарий развития. Читать

https://habr.com/ru/companies/ruvds/articles/971476/?utm_source=habrahabr&utm_medium=rss&utm_campaign=971476

#basic #программирование #языки_программирования #vba #pascal ++ #python #научпоп #история_it #ruvds_статьи

Что было бы, если BASIC развивался вместо C и Python

Сегодняшние языки программирования стали сложнее, но представьте, если бы вместо C и Python развивался BASIC. Под катом расскажу о том, почему языки усложнились, а также попробую погрузиться в...

Хабр

Что было бы, если BASIC развивался вместо C и Python

Сегодняшние языки программирования стали сложнее, но представьте, если бы вместо C и Python развивался BASIC. Под катом расскажу о том, почему языки усложнились, а также попробую погрузиться в альтернативный сценарий развития. Читать

https://habr.com/ru/companies/ruvds/articles/971476/

#basic #программирование #языки_программирования #vba #pascal ++ #python #научпоп #история_it #ruvds_статьи

Что было бы, если BASIC развивался вместо C и Python

Сегодняшние языки программирования стали сложнее, но представьте, если бы вместо C и Python развивался BASIC. Под катом расскажу о том, почему языки усложнились, а также попробую погрузиться в...

Хабр

I just completed "Lobby" - Day 3 of #AdventOfCode and I'm still doing it in #TurboPascal on the #Xi8088 computer!

The solve was reasonably straightforward today, with no limitations coming from the language itself. The generalized solution even fits nicely in a single 50 lines screen.

Part 1 is pretty much instant, but part 2 takes about 7 seconds to finish. That's how slow memory access is on this CPU.

#retrocomputing #pascal #DOScember

I just finished "Gift Shop" - Day 2 of #AdventOfCode in #TurboPascal on my #Xi8088.

An input file with lines longer than 255 characters, numbers too big to fit even in a LongInt, no regexps, no arbitrary large sets, these were all challenges posed by Turbo Pascal in addition to the slow 8088 CPU.

Part 1 finishes in 1 second but part 2 takes about 7 minutes...

#pascal #retrocomputing #DOScember

Pourquoi un point après le END dans ce fichier Pascal ?

https://videos.apprendre-delphi.fr/w/6qoJpsY34oucxAz5oJvMQZ

Pourquoi un point après le END dans ce fichier Pascal ?

PeerTube

I must say, the Wumpus art is fantastic (a bunch of games in this have nice cartoons), and the code looks sane. If you were looking to learn Pascal and retro game dev, this is nice.

I would *LOVE* to have this heavy metal WUMPUS shirt.
#retrocomputing #pascal #wumpus

@WoodooProd I think the only other book (there are several magazines) I've seen Apple Pascal games in:
https://archive.org/details/perfectpascalpro0000unse
#pascal #retrocomputing
Perfect Pascal programs : Free Download, Borrow, and Streaming : Internet Archive

vii, 278 pages : 25 cm

Internet Archive
×
Time for another programming option for the #AgonLight family... #Pascal! I've re-targeted PASTA/80, an open source Turbo Pascal 3 compatible cross-compiler that targets #z80 machines. It's still early days, so expect a lot of weirdness and issues, and things that can be improved. It has a dependency on sjasm+, so there are a few quirks in how I've had to pull together the Agon libraries. You also need a Pascal compiler to compile the compiler. All the instructions, source and some examples are on the github repo: https://github.com/sijnstra/pasta80/tree/agon #retrocomputing