Hacker News new | ask | show | jobs
by jquast 3939 days ago
The default video bios mode is used as-is here, https://en.wikipedia.org/wiki/Video_BIOS

There is no terminal emulator here. This hello world text is written directly to video memory -- and yes, there is a character rom, so placing a string of words in memory OR'd with bits set for video attributes (the #defines there) make it color.

2 comments

Furthermore, see an example of setting the mode explicitly from PC-DOS: https://github.com/johannesl/EditANSi/blob/master/ea.asm#L23 and http://fleder44.net/312/notes/18Graphics/index.html
More detailed article on the text mode:

https://en.wikipedia.org/wiki/VGA-compatible_text_mode

(Many, including me, still consider the original IBM VGA text font to be one of the most well-designed and readable for displaying text.)