Category Archives: Linux


C – Testing ncurses on linux – 007.

Today I will show a simple source code with two functions. This source code will try to read from a file named level.txt a string like this: 101010100000011111101110101010101 and show empty spaces and square ASCII based on this string. You can compile this source code from a file named screen.c like this:

Let’s see… Read More »

C – Testing ncurses on linux – 006.

Today, I will show a source code with ncurses that show you extended characters. Run the executable into your tty not on the terminal, because you don’t see all of these characters. Let’s see the source code :


C – Testing ncurses on linux – 005.

In this tutorial, I will show you how to put buttons like a matrix:

The derwin() function is used to create a new window with these arguments : win is the parent window in which the subwindow will be created. 1 is the number of rows of the subwindow. 4 is the number of… Read More »

C – Testing ncurses on linux – 004.

In this tutorial, I will show you something very simple without using the ncurses library. It is about using arguments in the command line. Create a file default.c and complete it with the source code below:

Use the gcc command tool to build this source code:

You can test the new command named… Read More »

C – Testing ncurses on linux – 003.

Another source code with ncurses. This time the source code will create a window with all colors.

This is result of the source code:

Windows – Qemu emulate Raspberry Pi ARM in Windows 10.

If you want to try the Raspberry Pi ARM operating system in Windows 10 then you need to install the Qemu free and open-source emulator. I used this version qemu-w32-setup-20220419 from the official webpage. After installation, you need to download in the same folder with the qemu installation this software kernel-qemu-4.4.34-jessie and the Rasberry Pi… Read More »