Better HN
topnewbestaskshowjobs
Log inSign up

yeokm1

671 karma · joined Oct 22, 2016 (10y ago) · 66 submissions

Submissions

1.

Bringing USB 3 and USB4/Thunderbolt to Windows 98 to 7(yeokhengmeng.com ↗)

4 points · by yeokm1 · 1mo ago · discuss

comment 1y ago · link · parent

Conventional wisdom states that running LLMs locally will require computers with high performance specifications especially GPUs with lots of VRAM. But is this actually true?

Thanks to an open-source llama2.c project, I ported it to work so vintage machines running DOS can actually inference Llama 2 LLM models. Of course there are severe limitations but the results will surprise you.

comment 2y ago · link · parent

If I were to tell you a PC has a floppy drive, optical drive, Sound Blaster card, serial, parallel and PS/2 ports running DOS, you would think I’m referring to a machine from the 1990s. But my very modern PC built in 2024 possess these characteristics!

I recently built myself a PC as my previous desktop components was insufficient for my current needs. I decided to build one with the ability to still reach back into the past to run DOS.

In this post, I will go through my thought process I went through to decide on the specifications as well as the journey I made to run MS-DOS 6.22 on it.

comment 2y ago · link · parent

I did an experiment on a relatively modern 2020 Thinkpad and found that it can still run DOS.

Modern features like Thunderbolt, 2.5 Gig Ethernet and Sound Blaster compatibility over Intel High Definition Audio can work which is pretty remarkable. Thanks to drivers that can actually be found online.

I also ran 8088 Domination and it seems to work well too.

This is however the end of the line, no more Thinkpads and likely other laptops made after this model generation will be able to run DOS natively.

5.

DOS's Last Stand on a Modern ThinkPad: X13 Gen 1 with Intel 10th-Gen Core CPU(yeokhengmeng.com ↗)

10 points · by yeokm1 · 2y ago · 2 comments

comment 3y ago · link · parent

I used Enhanced Doskey. http://paulhoule.com/doskey/

comment 3y ago · link · parent

They have already written an article about it :)

https://hackaday.com/2023/09/10/upgraded-graphics-gremlin-ad...

8.

HDMI ISA graphics card for vintage PCs by improving the Graphics Gremlin(yeokhengmeng.com ↗)

271 points · by yeokm1 · 3y ago · 53 comments

comment 3y ago · link · parent

With the recent attention on ChatGPT and OpenAI’s release of their APIs, many developers have developed clients for modern platforms to talk to this super smart AI chatbot. However I’m pretty sure almost nobody has written one for a vintage platform like MS-DOS.

10.

Building a DOS ChatGPT client in 2023(yeokhengmeng.com ↗)

5 points · by yeokm1 · 3y ago · 1 comment

11.

Teardown of Aircraft Transponder(yeokhengmeng.com ↗)

6 points · by yeokm1 · 6y ago · discuss

comment 6y ago · link · parent

I updated my blog post to include a memory and disk usage comparison :)

comment 6y ago · link · parent

The printf is just for example code.

In actual fact, I'll have to copy the data to a char array to be sent to display in the listbox.

comment 6y ago · link · parent

VC++ 1.52 has an internal text editor but nowhere near the capabilities of Visual Studio Code or any modern text editors.

I also use Git and sourcetree and they won't run on Win 2K.

comment 6y ago · link · parent

If someone has got a working TLS 1.2 on such an old OS, I'll like to know too. Because I certainly haven't saw any example.

I think the work to get TLS 1.2 working will certainly dwarf the work on this Slack app.

comment 6y ago · link · parent

I felt it was enough for me. :)

https://api.slack.com/

comment 6y ago · link · parent

Win 3.1 apps can also access memory in 64K segments which I only use 1 to hold the humongous HTTP+JSON reply from Slack.

Wikipedia says "However, no single process can use more than 16 MB.". Not sure where is the source of that though.

https://en.wikipedia.org/wiki/Windows_3.1x

comment 6y ago · link · parent

You are correct. My 390E has 384MB of RAM but only 256MB is accessible by Win 3.1.

An earlier blog post shows this http://yeokhengmeng.com/2016/09/windows-for-workgroups-3-11-...

comment 6y ago · link · parent

Hey thanks for the tips. Let me adjust the blog post to mention this point

comment 6y ago · link · parent

Hmm. Borland and Watcom compilers came up in my research. Will look into them for help next time!

comment 6y ago · link · parent

Thanks for raising this to me!

comment 6y ago · link · parent

Oh I did not know about this! I just based my understanding from the official Microsoft documentation. Thanks!

comment 6y ago · link · parent

Trumpet Winsock is not by Microsoft :P

comment 6y ago · link · parent

Noted. Will update my blog post!

comment 6y ago · link · parent

Something I can try next time! I didn't know about BearSSL before

comment 6y ago · link · parent

Unsure why it goes to twitter. Here is the blog post. http://yeokhengmeng.com/2019/12/building-a-new-win-3-1-app-i...

comment 6y ago · link · parent

Agreed. But such CDs are tough to locate today.
123