Character and color cycling effect in C on DOS

As mentioned in my previous post about playing with DJGPP and GCC 10 on DOS, I have been redoing my small character and color cycling effect in text mode. The original version in JavaScript can be seen here. To understand why we can’t access video memory directly and need to use the DPMI service to create a selector to access the required real-mode segment address, please refer to section 18.4 of the DJGPP FAQ....

May 27, 2021 · 2 min

Playing with Kore JSON API

Kore 4.0.0 has been released a few days ago, and features a brand new JSON API allowing to easily parse and serialize JSON objects. During the last couple of years, I have been using Kore for various projects, including exposing hardware sensor values over the network via very simple APIs. In this article, I would like to present a generalization of this concept and show how easy it is to expose system information with Kore....

September 7, 2020 · 2 min

The journey back to C

A few months ago, I realized that I would be celebrating 20 years of C programming this February. Although I had several few years of hiatuses back and then, that’s still a very long period for a single language. My journey back to C started in the spring of 2015, out of envy to scratch a long time itch and write a Web log analyzer. I found Essential C to be a great refresher, which got me motivated and Logswan happened....

February 21, 2018 · 1 min