home.social

#turboc — Public Fediverse posts

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

  1. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  2. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  3. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  4. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  5. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  6. TIL there's a dosbox fork (dosbox-x) with a bunch of fancy features, including more realistic emulation of hercules monographics displays, which lets me more accurately re-experience my middle school XT clone computing experience.

    #TurboC #PcHack361

  7. TIL there's a dosbox fork (dosbox-x) with a bunch of fancy features, including more realistic emulation of hercules monographics displays, which lets me more accurately re-experience my middle school XT clone computing experience.

    #TurboC #PcHack361

  8. TIL there's a dosbox fork (dosbox-x) with a bunch of fancy features, including more realistic emulation of hercules monographics displays, which lets me more accurately re-experience my middle school XT clone computing experience.

    #TurboC #PcHack361

  9. TIL there's a dosbox fork (dosbox-x) with a bunch of fancy features, including more realistic emulation of hercules monographics displays, which lets me more accurately re-experience my middle school XT clone computing experience.

    #TurboC #PcHack361

  10. TIL there's a dosbox fork (dosbox-x) with a bunch of fancy features, including more realistic emulation of hercules monographics displays, which lets me more accurately re-experience my middle school XT clone computing experience.

    #TurboC #PcHack361

  11. I should have looked at the linker options more closely and turned on "Warn duplicate symbols" from the start...

    #TurboC #Hack361 #MSDOS

  12. I should have looked at the linker options more closely and turned on "Warn duplicate symbols" from the start...

    #TurboC #Hack361 #MSDOS

  13. I should have looked at the linker options more closely and turned on "Warn duplicate symbols" from the start...

    #TurboC #Hack361 #MSDOS

  14. I should have looked at the linker options more closely and turned on "Warn duplicate symbols" from the start...

    #TurboC #Hack361 #MSDOS

  15. I should have looked at the linker options more closely and turned on "Warn duplicate symbols" from the start...

    #TurboC #Hack361 #MSDOS

  16. Huh. For some reason Turbo C's time() is getting stuck in an infinite loop. Don't call it to seed the random number generator or determine the phase of moon and off we go...

    Hmm. Can't get the time() hang to repro in a trivial test program. I wonder what's going on here.

    Aha. time() called getdate() which conflicted with a function in Hack (that called getlt() that called time()). Not sure why that resulted in a hang instead of a crash due to stack overflow...

    #MSDOS #TurboC #Hack361

  17. Huh. For some reason Turbo C's time() is getting stuck in an infinite loop. Don't call it to seed the random number generator or determine the phase of moon and off we go...

    Hmm. Can't get the time() hang to repro in a trivial test program. I wonder what's going on here.

    Aha. time() called getdate() which conflicted with a function in Hack (that called getlt() that called time()). Not sure why that resulted in a hang instead of a crash due to stack overflow...

    #MSDOS #TurboC #Hack361

  18. Huh. For some reason Turbo C's time() is getting stuck in an infinite loop. Don't call it to seed the random number generator or determine the phase of moon and off we go...

    Hmm. Can't get the time() hang to repro in a trivial test program. I wonder what's going on here.

    Aha. time() called getdate() which conflicted with a function in Hack (that called getlt() that called time()). Not sure why that resulted in a hang instead of a crash due to stack overflow...

    #MSDOS #TurboC #Hack361

  19. Huh. For some reason Turbo C's time() is getting stuck in an infinite loop. Don't call it to seed the random number generator or determine the phase of moon and off we go...

    Hmm. Can't get the time() hang to repro in a trivial test program. I wonder what's going on here.

    Aha. time() called getdate() which conflicted with a function in Hack (that called getlt() that called time()). Not sure why that resulted in a hang instead of a crash due to stack overflow...

    #MSDOS #TurboC #Hack361

  20. Huh. For some reason Turbo C's time() is getting stuck in an infinite loop. Don't call it to seed the random number generator or determine the phase of moon and off we go...

    Hmm. Can't get the time() hang to repro in a trivial test program. I wonder what's going on here.

    Aha. time() called getdate() which conflicted with a function in Hack (that called getlt() that called time()). Not sure why that resulted in a hang instead of a crash due to stack overflow...

    #MSDOS #TurboC #Hack361

  21. Well this sure brings back memories.

    It runs a lot faster in DOSBOX than on the 10MHz 512KB Dual-360K-Floppy XT clone I originally ran it on when I was a kid.

    Disk Images
    archive.org/details/borland-tu

    User and Reference Manual:
    archive.org/details/bitsavers_
    archive.org/details/bitsavers_

    If you copy all 6 disks into a single INSTALL directory, you can run INSTALL.EXE from there and it'll do its thing.

    #Borland #TurboC

  22. Well this sure brings back memories.

    It runs a lot faster in DOSBOX than on the 10MHz 512KB Dual-360K-Floppy XT clone I originally ran it on when I was a kid.

    Disk Images
    archive.org/details/borland-tu

    User and Reference Manual:
    archive.org/details/bitsavers_
    archive.org/details/bitsavers_

    If you copy all 6 disks into a single INSTALL directory, you can run INSTALL.EXE from there and it'll do its thing.

    #Borland #TurboC

  23. Well this sure brings back memories.

    It runs a lot faster in DOSBOX than on the 10MHz 512KB Dual-360K-Floppy XT clone I originally ran it on when I was a kid.

    Disk Images
    archive.org/details/borland-tu

    User and Reference Manual:
    archive.org/details/bitsavers_
    archive.org/details/bitsavers_

    If you copy all 6 disks into a single INSTALL directory, you can run INSTALL.EXE from there and it'll do its thing.

    #Borland #TurboC

  24. Well this sure brings back memories.

    It runs a lot faster in DOSBOX than on the 10MHz 512KB Dual-360K-Floppy XT clone I originally ran it on when I was a kid.

    Disk Images
    archive.org/details/borland-tu

    User and Reference Manual:
    archive.org/details/bitsavers_
    archive.org/details/bitsavers_

    If you copy all 6 disks into a single INSTALL directory, you can run INSTALL.EXE from there and it'll do its thing.

    #Borland #TurboC

  25. Well this sure brings back memories.

    It runs a lot faster in DOSBOX than on the 10MHz 512KB Dual-360K-Floppy XT clone I originally ran it on when I was a kid.

    Disk Images
    archive.org/details/borland-tu

    User and Reference Manual:
    archive.org/details/bitsavers_
    archive.org/details/bitsavers_

    If you copy all 6 disks into a single INSTALL directory, you can run INSTALL.EXE from there and it'll do its thing.

    #Borland #TurboC

  26. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  27. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  28. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  29. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  30. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  31. New video for Patrons:

    Let's Code MS DOS 0x31: ANSI C Data Types

    The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C.

    patreon.com/posts/lets-code-ms

    #letscode #msdos #turboc

  32. New video for Patrons:

    Let's Code MS DOS 0x31: ANSI C Data Types

    The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C.

    patreon.com/posts/lets-code-ms

    #letscode #msdos #turboc

  33. New video for Patrons:

    Let's Code MS DOS 0x31: ANSI C Data Types

    The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C.

    patreon.com/posts/lets-code-ms

    #letscode #msdos #turboc

  34. New video for Patrons:

    Let's Code MS DOS 0x31: ANSI C Data Types

    The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C.

    patreon.com/posts/lets-code-ms

    #letscode #msdos #turboc

  35. New video for Patrons:

    Let's Code MS DOS 0x31: ANSI C Data Types

    The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C.

    patreon.com/posts/lets-code-ms

    #letscode #msdos #turboc