Virtual Machines

Virtual machines are an interesting area to investigate in the field of computer technology. It is a pursuit worthy of doing, to understand how VM’s work and how they are built.

I have started with this particular YouTube video: https://youtu.be/BNXP0w4Ppto?si=imnVqQVmkuttVmhj

A lot of ideas have come to my mind as I watch this video. First, the answer to a basic question, how does one make an OS virtual? I think, that, we can load the devices, like, CD drive, HDD, etc., as a file and execute their content as instructions for the CPU. There may be some processing required here, that would form a lesson in VM making. Next, the question of a display comes in, how does one show the OS in a window? The answer, I think, might be to somehow trap an interrupt or more than one of them to grab the screen data, then, render it in a buffer and then resize it before showing it in a window. The video gave a start to an idea of how one manages the RAM for a VM, it may be a vector of 32 bit data items.

Leave a Reply

Discover more from Amol's Code Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading