home.social

#turbopascal — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #turbopascal, aggregated by home.social.

  1. Are you programming in #Rust and missing the usability of #TurboPascal?
    If so, this is the IDE for you!
    github.com/wojtczyk/trust

  2. using my extremely limited free time to add syntax highlighting for 1990s-era Turbo Pascal to the nano editor

    it actually made a big difference

    #nano #turbopascal #peasantsquest #homestarrunner #dos

  3. using my extremely limited free time to add syntax highlighting for 1990s-era Turbo Pascal to the nano editor

    it actually made a big difference

    #nano #turbopascal #peasantsquest #homestarrunner #dos

  4. using my extremely limited free time to add syntax highlighting for 1990s-era Turbo Pascal to the nano editor

    it actually made a big difference

    #nano #turbopascal #peasantsquest #homestarrunner #dos

  5. using my extremely limited free time to add syntax highlighting for 1990s-era Turbo Pascal to the nano editor

    it actually made a big difference

    #nano #turbopascal #peasantsquest #homestarrunner #dos

  6. using my extremely limited free time to add syntax highlighting for 1990s-era Turbo Pascal to the nano editor

    it actually made a big difference

    #nano #turbopascal #peasantsquest #homestarrunner #dos

  7. I am considering learning to program, not as a career but for myself. I have been wanting to do this for a long time but never really started. One thing I do know is that I like procedural languages as opposed to object-oriented ones. I am strongly considering QuickBASIC 4.5 or 7.1, and Turbo Pascal 6.0, but I don't know which to choose as a beginner. I know there are flavours of these that can work with Windows XP and 7, and maybe, one day, I will try them in their 32-bit varients. But for now, I am focusing on the DOS ones,since they are probably easier to learn and use. Is there anything I should know as a totally blind programmer? If I did choose to switch to a Windows varient of one of these languages, how difficult would the transition be?

    If it helps, these are the sorts of programs I use in Windows.

    Notepad Classic, Jarte (can simply use Edit or Wordperfect 5.1, or MS Word 5.5, but simple editor may be good for project)

    MPCHC (mp3 player, I don't mind a simpler one)

    Virtual Recorder (simple mp3 recorder/may be difficult in DOS)

    Thunderbird 102 (most likely too advanced for a beginner)

    TweeseCake, TWBlue (for Mastodon/there is already a DOStodon, but don't know if it's accessible)

    Reddit for Blind, Luna for Reddit

    Cook Timer (simple timers exist, but this may be good to create as a beginner project)

    Openbook, Kurzweil 1000 (ocr and pdf converter, too advanced for beginner)

    various audio and text-based games

    #16-bit #32-bit #accessibility #BASIC #blind #DOS #programming #QuickBASIC #TurboPascal #Windows7 #WindowsXP

  8. Heute Abend nochmal zum Abschluss meines Urlaubs eine ganz starke Retro Brise: #TurboPascal. Lang ist's her, dass ich damit mal unterwegs war. Im Bild sieht man ein Quellcode Teil von einem Programm, das ich gerade archiviere. Ich muss mal schauen, ob ich den Originalautor noch zu fassen bekomme. Bisher gibt es darüber jedenfalls _gar nichts_ im Netz. #retro #retrocomputing #pascal #lazarus

  9. Nach einem Sommerkurs #Basic bei der Migros Klubschule 1986, den ich als 11-Jähriger als Bedingung dafür besuchen musste, dass mir meine Eltern einen eigenen Homecomputer kauften, lernte ich ab 1988 im Informatik-Freikurs dank der Initiative meines Mathe-Lehrers am Gymnasium (damals noch 8 Jahre) neben #dBase und #WordPerfect auch #TurboPascal auf MS-DOS. Auch wenn ich kein Informatiker geworden bin, habe ich doch sehr davon profitiert.

    1/2

    borncity.com/blog/2023/12/03/4

  10. Nach einem Sommerkurs #Basic bei der Migros Klubschule 1986, den ich als 11-Jähriger als Bedingung dafür besuchen musste, dass mir meine Eltern einen eigenen Homecomputer kauften, lernte ich ab 1988 im Informatik-Freikurs dank der Initiative meines Mathe-Lehrers am Gymnasium (damals noch 8 Jahre) neben #dBase und #WordPerfect auch #TurboPascal auf MS-DOS. Auch wenn ich kein Informatiker geworden bin, habe ich doch sehr davon profitiert.

    1/2

    borncity.com/blog/2023/12/03/4

  11. worked a little bit more on my dos game thingy^^
    currently stable at 13000cycles (dosbox), approx. equal to a 486 cpu with an vga card^^ lot's of fun in the retro space #retro #gamedev #turbopascal #mode13

  12. Finally dug into Mode X. It can do some neat tricks 13h can't, but it's got some challenges as well... so I had to dust off my very rusty assembly skills

    youtube.com/watch?v=Cc0xtavXOUE

    #gamedev #retrogamedev #retrocomputing #retrogaming #msdos #indiedev #devlog #pascal #turbopascal

  13. I just realized something.. I used to love learning new things, i could get engrossed in something because it was simple to learn and easy to use.

    New "tech stack" doesn't seem to be like that anymore. It feels needlessly complex and invents a new 'standard' every time. It makes me angry and I hate learning, cause its no longer fun.

    Learning #borland #TurboPascal #pascal was fun and easy in High School. Moving to #C and #Perl in university was great and easy enough as well. Not that I was any kind of competent in C, but I felt I learned enough that it set me up on a trajectory to learn the finer details and gotchas.

    Things like #Python are annoying AF. Oh, your python program only works on 3.11 and not 3.12 or 3.13? That shouldn't be at all. From 2->3 sure I expect changes, 3->4, i would expect great changes as well. But not a minor change!

    Dabbling in #Go was fine actually, it didn't anger me much, and #Rustlang / #rust I'm still doing rustlings so I can't say much there.

    CLI tools are weird today too. Do they want to be a TUI, a true CLI tool or what?

    The #Unix philosophy made learning new tools nice and easy, at least I think so. Do one thing, do it well, make it so your output can be used as the input to another program and great!

    Things don't seem to follow that idea anymore.

    Or am I just old and biased cause my brain lost its elasticity?? I don't want to think i'm so egocentric as to not rule that out.

    #programming #OldManYellsAtClouds

  14. @beet_keeper somehow awesome (/if/ someone has PASCAL roots)

    *.*.*.* ⭐ 💾 💾 💾 ❤️ *.*.*.*

    I'd love to contribute!
    (and provide a website mirror)

    I wrote an #xcom "ufo-enemy unknown' #savegame editor in #TurboPascal back then 🤓 😎

    btw: do you know anyone of them (Jim, Gayle, Jimmy)?

  15. @psychotimmy @mina is Turbo Pascal still available somehow? I used to work with it for almost a decade… (I’ve possibly looked a little younger those days) #turbopascal

  16. 📚🔢 "Exploring Mathematics with Python" is a thrilling tale of swapping Turbo Pascal for #Python, but don't worry, the paper cuts from flipping through 1993 #nostalgia are totally FREE! 💻✨ Latex formatting and a sprinkle of new chapters by Andrew Davison—what a wild ride! 🚀😂
    coe.psu.ac.th/ad/explore/ #ExploringMathematics #TurboPascal #AndrewDavison #TechAdventure #HackerNews #ngated

  17. Apparently Turbo Pascal 7.0 and Turbo Debugger 5.0 aren't compatible. Does anyone know the latest TD version that can read TP binaries with a symbol table?

    #retrodev #retrocomputing #msdos #turbopascal

  18. @bagelcollie The #TurboPascal versions with the odd numbers were the good ones.

  19. I took a first stab at isometric maps on a 386. The new direction definitely makes things more challenging... and I'm not sure yet if I can pull it off.

    youtube.com/watch?v=2JZ35t_8q1A

    #gamedev #retrogamedev #retrocomputing #retrogaming #msdos #indiedev #devlog #pascal #turbopascal

  20. I've now also completed part 2 of "Factory" - Day 10 of #AdventOfCode in #TurboPascal on the #Xi8088 !

    It takes about 25 minutes to run and was quite the challenge to write, I had to learn more than I was prepared to.

    But with it, that's all 12 days completed, all in #Pascal, all on the #i8088.

    What a journey! Thank you so much, @ericwastl

    Oh, and I'm never doing Advent of Code in Pascal again! That was really a dumb idea 😅

    #Retrocomputing #DOScember

  21. I just completed "Christmas Tree Farm" - Day 12 of #AdventOfCode in #TurboPascal. Only in #DOSBox for now, until I get back home and run it on the real #Xi8088 hardware.

    I can already tell that parsing the input file will take a lot longer than solving!

    (No spoiler in the picture)

    #Retrocomputing #Pascal #DOScember

  22. Looks like I have a solution in #python for the second part of day 10.

    The code is very much NOT-pythonesque, as I have tried to prepare it for the translation to #TurboPascal. This solution also shouldn't need much memory space at all.

    It remains to be seen how long the 8088 will need to solve the few systems with a very large amount of combinations of free variables. But that will be for the weekend.

    #AdventOfCode

  23. I just completed "Reactor" - Day 11 of #AdventOfCode in #TurboPascal on the #Xi8088

    Thankfully, the problem is constrained enough that the memoization cache is actually very small. This is a good thing for our little 8088.

    Both parts solve really fast, but the first version of my input parsing procedure was taking a whopping 42 seconds 😅 I just couldn't leave it like that.

    #Retrocomputing #Pascal #DOScember

  24. Look, ma! No recursion! But no part 2 yet either...

    I completed part 1 of "Factory" - Day 10 of #AdventOfCode in #TurboPascal on the #Xi8088

    I'm pleased with my solution, where parsing the input file takes longer than solving (12.30 vs 10.39 sec).
    It's built around a short but non-trivial procedure written with the help of a StackOverflow post. Spoiler in picture.

    Now, it looks like I have a few things to learn before I can attempt to solve part 2...

    #Retrocomputing #Pascal #DOScember

  25. I just completed "Movie Theater" - Day 9 of #AdventOfCode in #TurboPascal on the #Xi8088 and I'm quite proud of my solution!

    I got the logic right for part 2 nearly immediately but plain brute force was way too slow: I had to crank up the CPU speed in #DOSbox quite a bit just to test it.

    Doing some precalc (likely not the same as what other people did 😉) on the input and re-thinking data structure helped a huge lot, going from 1 hour to less than 4 minutes!

    #Retrocomputing #Pascal #DOScember

  26. Oh my goodness, I did it. What a day!

    I spent the entire day to solve "Playground" - Day 8 of AdventOfCode in #TurboPascal on the #Xi8088 and I had a blast!

    I got all the logic right on first try for both parts, but the big question was: How do you sort up to a million entries on a machine that can't even store ten times less in memory, in a language where your arrays are less than 64KiB ? 🤯

    Obvious answer is "you don't", but then what? 😅

    So happy!

    #Retrocomputing #Pascal #DOScember

  27. I just completed "Laboratories" - Day 7 of #AdventOfCode in #TurboPascal on the #Xi8088 computer.

    Part 2 fits inside the same loop as part 1 with very few modifications.

    Then I could make it read the file line by line as it goes, instead of building the entire map in memory.

    By keeping track of the left and right limits of potential change, I could also reduce the memory accesses.

    With 1.3 second of total runtime, I'm very happy with my solution today !

    #Retrocomputing #Pascal #DOScember

  28. Yay, I'm home!

    It's not often that we have a first part that takes so much longer than the second one, but today I also wanted to show how long loading the input file took.

    Who'd have thought that reading and parsing this very simple file from the Compact Flash would take more than two seconds ?

    #AdventOfCode #Retrocomputing #TurboPascal #DOScember

  29. Anyone else learned #Modula as a #programming language in school? In 1992 I had a Structured Programming class at college and they used Modula-2. It was far easier to get things done than in C, which I was learning at roughly the same time.

    I also used Borland #TurboPascal a little and #Delphi later on and I have to say I liked all the #Pascal variants a lot more than any BASIC I've used before or after.

  30. @jamesog i cut my language teeth on #BASIC and #Pascal on my #Apple2e (and a bunch of #PET and #TRS80) back in the day. By college (1988) I was using #C, #LISP, et al on a variety of systems. I used #TurboPascal and #TurboC on a few college projects. Oh and #shell scripting. Lots of shell scripting. Ironically, I never touched #COBOL until I began work after college. Hehe #RetroComputing