11 – Developing an Operating System – Tutorial – Episode 5 – Reduce size, Linker Script and Standard GCC – OSDEV

This post is dedicated to osdev.org community and #osdev IRC channel at freenode servers. If you have followed my tutorial so far, you might have noticed that our kernel is almost 128 MB in size. We have multiple issues with our compilation process which we must fix before we go further. Let’s list down the issues and why do we […]

8 – Developing an Operating System – Tutorial – Episode 4 – Basic VGA Driver and printf

8 – Developing an Operating System – Tutorial – Episode 4 – Basic VGA Driver and printf

In previous episode, we learnt about switching to protected mode (32-bit), calling C code from assembly language, reading form hard disk, and accessing video memory to display message on the screen. In this episode, we will create a basic video driver. Which will allow us to keep printing message on the screen by just calling a function, so that we […]

7 – Developing an Operating System – Tutorial – Episode 3 – Protected Mode, Read Disk, GDT and Initiate Kernel (C)

In previous episode we learnt about memory offset. In this episode, we are going to reach two very important milestones. YouTube Video coming soon 1 – Switching from Real Mode to Protected Mode and define Global Descriptor Table (GDT)2 – Read kernel from disk and Initialize Kernel written in C language. Let us have a quick look at what we […]

6 – Cross-Compiler (GCC, Linker, ELF) on Windows 10 using WSL (Windows Subsystem for Linux)

How to install GCC on WSL (Windows Subsystem for Linux)? As you all are already aware about that I am developing an operating system. I like to use Windows as my main operating system. I love Windows and have been using it since Windows 3.11. To develop an operating system, one need cross compiler – read more here – https://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F […]

3 – Solved: Error CS0012: The type ‘Object’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’.

Recently I was consuming library from github, which used netstandard library. My project is in .NET Framework 4.6.2 so I had to also add reference of .NET Standard library in my project. Even after adding reference I was getting the error while compiling project through TFS / Azure DevOps Build. Error was: Error CS0012: The type ‘Object’ is defined in […]