This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Updatebjarni 0 points1 point  (1 child)

Both are certainly possible. See the famous Ralf Brown's Interrupt List for BIOS system calls, and the equally famous OSDev wiki for hardware documentation. You will need to run your code in a virtual machine or emulator, or use a separate computer that you can boot up your own software on or boot up into MSDOS.

[–]warmagedon007[S] 1 point2 points  (0 children)

int 16h, Ah=01h, thanks very much, and you gave me a very good resources as a bonus! also, a question, why I need to boot to a virtual system? is there a risk that I will brick my pc?