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

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

#TurboC #Hack361 #MSDOS

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

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
https://archive.org/details/borland-turbo-c-v2.0

User and Reference Manual:
https://archive.org/details/bitsavers_borlandturer2.01988_23162264
https://archive.org/details/bitsavers_borlandturuideVer2.01988_19310204

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

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

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

https://makertube.net/w/u8rkCPatAKnR64e2otnnnn

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

PeerTube

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.

https://www.patreon.com/posts/lets-code-ms-dos-137253961?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

#letscode #msdos #turboc

A few weeks ago, I needed to compile my transputer assembler using Turbo C. So I wondered why I don't have my own copy of Turbo C? 😉 1990 rulezzz. 25 bucks, it looks like the 90s advertisements 🤩 and fits with my original DOS 3.3. #retro #development #borland #turboc
Retro geek t-shirt 🤓 unfortunately it's an M and does not fit me, especially with these #poledance shoulders. 💪
#borland #TurboC #retrocomputing
#turboc findings.