←back to thread

Microsoft Edit

(github.com)
486 points ethanpil | 1 comments | | HN request time: 0.001s | source
Show context
jksmith ◴[] No.44372826[source]
This is just a "because I wanted to" project. And I get that; done a lot of those myself just to understand what the hell was going on. But the rewrite of turbo vision into FPC and compiling to half a dozen targets has been around for 20 years. Turbo vision is probably the best text mode windowing library in existence. The cool fun kicks in when you can map a whole text screen to an array like so: var Screen: Array[1..80,1..25] Of Byte Absolute $B800; // or something like that as i recall

What turbo vision brought to the game was movable, (non) modal windows. Basically a lot of rewriting that array in a loop. Pretty snappy. I made a shitload of money with that library.

replies(6): >>44372927 #>>44373230 #>>44373408 #>>44374737 #>>44376013 #>>44381270 #
dleslie ◴[] No.44373230[source]
For those curious, here is a modern port of the C++ Turbo Vision that also supports Unicode:

https://github.com/magiblot/tvision

replies(1): >>44374924 #
san1927 ◴[] No.44374924[source]
lmao is any body still using turbo cpp?
replies(4): >>44375029 #>>44375402 #>>44379085 #>>44379927 #
1. nazgulsenpai ◴[] No.44379927[source]
Core memory unlocked... When I was ~10-12, I asked my dad (who knew nothing but thought he knew everything about computers) how to make programs for Windows because I couldn't in QBasic. His answer was "with C++!". He came home with a book Learn C++ In 24 Hours that had Turbo C++ on a single 3.5" floppy disk. Naturally, that did not work, but I still had fun failing to compile every program I attempted to write.