is there a bios interrupt or something like that to wait?

95 Views Asked by At

i am trying to make a pong game operating system. I want to implement it in assembly(i know it wont be easy) and i need a way to time out, so that the ball can move every second to the right. i am in real mode, and i dont want to switch. if there is no way, then how can i do in in protected mode using c? I am using qemu-system-i386 and intel syntax. and is there any way to clear the screen? i didnt really find any way on that in real mode, only in protected mode.

i was following this tutorial for the basics, i am developing macos, same as this guy so this was the easiest to follow: https://github.com/cfenollosa/os-tutorial/tree/master

0

There are 0 best solutions below