TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Win16 Retro Development

203 点作者 naetius超过 2 年前

7 条评论

ComputerGuru超过 2 年前
Nice read. I wouldn’t have minded more technical details about the implementation and challenges, but that’s probably because I’ve had to write generic SVGA drivers to support generic graphics cards before. (I’m not clear on what was the more convenient alternative to VMs that the author ended up using, though?)<p>Side-bar but still on-topic: It <i>really</i> irks me to no end that Windows 3.x and Windows 95 could get a fairly hardware-agnostic (fallback) software-rendered GUI fully up and running and exposed to user space in the early 90s and even today Linux&#x2F;BSD can’t manage that (even just in SVGA mode) without vendor specific drivers. Xfree86 and then Xorg with the fb driver were attempts at doing the same but I can attest they never achieved that same universality. I had hoped EFI fb could finally give us the same for modern PCs but the chances of open source efifb drivers <i>in userland</i> working on a chipset&#x2F;implementation they haven’t been tested against are a real crapshoot.<p>I had “success” (compared to the status quo, not compared to the situation on Windows) writing X drivers that wrote to the kernel framebuffer but that broke when everything was rewritten or deprecated in order to support EFI. Even then, the support for listing supported modes and changing to them was very poor (which make sense given how little serious use the kernel frame buffer sees), never mind figuring out what modes intersected with those the display supported. Laptops with integrated plus discrete graphics cards (or desktop motherboards with the same) were also problematic for various reasons.
评论 #34120894 未加载
评论 #34121954 未加载
评论 #34120711 未加载
评论 #34124848 未加载
评论 #34129089 未加载
xvilka超过 2 年前
I should note, that OpenWatcom 2.0[1] is far better for supporting more recent C and C++ code, modern hosts and tooling, but still able to compile into 16 bit code. It is also actively maintained. Instead of MASM I recommend JWasm[2] + Jwlink[3]. Back in time I did a fork[4] of JWasm that has cleaner build system (CMake).<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;open-watcom&#x2F;open-watcom-v2">https:&#x2F;&#x2F;github.com&#x2F;open-watcom&#x2F;open-watcom-v2</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;Baron-von-Riedesel&#x2F;JWasm">https:&#x2F;&#x2F;github.com&#x2F;Baron-von-Riedesel&#x2F;JWasm</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;JWasm&#x2F;JWlink">https:&#x2F;&#x2F;github.com&#x2F;JWasm&#x2F;JWlink</a><p>[4] <a href="https:&#x2F;&#x2F;github.com&#x2F;JWasm&#x2F;JWasm">https:&#x2F;&#x2F;github.com&#x2F;JWasm&#x2F;JWasm</a>
评论 #34123183 未加载
kybernetyk超过 2 年前
Man, I&#x27;m a sucker for the Win 3.11 UI. I wish there was an option to use this style of UI on modern systems.
评论 #34293505 未加载
评论 #34122469 未加载
评论 #34122142 未加载
评论 #34122089 未加载
评论 #34122095 未加载
pjmlp超过 2 年前
Too retro, I was doing Win16 with Turbo Pascal for Windows and Turbo C++, both being shipped with Object Windows Library.<p><a href="https:&#x2F;&#x2F;winworldpc.com&#x2F;product&#x2F;turbo-pascal&#x2F;1x-win" rel="nofollow">https:&#x2F;&#x2F;winworldpc.com&#x2F;product&#x2F;turbo-pascal&#x2F;1x-win</a><p><a href="https:&#x2F;&#x2F;winworldpc.com&#x2F;product&#x2F;turbo-c&#x2F;1x-win" rel="nofollow">https:&#x2F;&#x2F;winworldpc.com&#x2F;product&#x2F;turbo-c&#x2F;1x-win</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Object_Windows_Library" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Object_Windows_Library</a>
ok123456超过 2 年前
CMake macros for cross compiling Win16 binaries with Openwatcom were just added to CMake earlier this month.
behringer超过 2 年前
I was just trying to get a development environment going for windows 2.0.<p>Anyone got any pointers what software to use. It feels like win 1 and 2 are skipped over, I can&#x27;t find much info on how to develop on them.
评论 #34123659 未加载
butz超过 2 年前
Windows 3.1 UI still looks much better than the mess that is latest Microsoft 365 (or whatever they call &quot;Office&quot; these days).