HackerTrans
TopNewTrendsCommentsPastAskShowJobs

You can get Unicode working on DOS(twitter.com)

12 points·by vkaku·10 gün önce·8 comments
twitter.com
You can get Unicode working on DOS

https://twitter.com/i/status/2071469740141224272

9 comments

vkaku·10 gün önce
Modern UTF-8 encoding and present day tools makes it relatively easy to make many codepoints work relatively better even on DOS, thanks to readily available bitmap fonts.
vkaku·10 gün önce
Here's some code that's easy for a lot of people to play with, especially if you are looking to have it running on your firmware / other embedded projects.

https://github.com/guilt/3DGFX
tosti·7 gün önce
Of course, you can use pretty much any OS as a bootstrap loader for pretty much anything. There has been a loadlin.exe for example, it would load and run a Linux kernel. A gratis variant of BeOS also loaded from DOS iirc.
jmclnx·8 gün önce
Interesting. I wonder how memory is handled due to the # of potential characters in UTF-8, or maybe only a subset of characters are allowed. Or is there a TSR handling that from a database on disk.

I cannot get to the twitter site and xcancel just loops so I could n0t see the post.
suprjami·8 gün önce
Here is the post:

https://xcancel.com/_vkaku/status/2071469740141224272

It's mainly just an image and link to

https://github.com/guilt/3DGFX

Check the commit history for the addition of Unicode
DANmode·8 gün önce
Xcancel needs a rest sometimes - give it a rip now, ol son.
vkaku·6 gün önce
Within one segment of 64kB, you could load 8 or so blocks; You should be able to do 1 major CJK language overall (with 20-30 blocks) and Latin together and leave the rest of the memory for other things;

So you can make a proper application/browser with fonts compiled right into the core.
vkaku·6 gün önce
If you have a real fast disk and LRUed it you can go way higher
i18nagentai·5 gün önce