Hello
I used to have an account here a few years ago, but seem to have forgotten the username, password and email I used! Anyway, I am creating a small program in Assembly, which is put into the boot sector of a floppy disk, so I can play around with the computer, learn how it boots, etc. One thing I would like to learn how to do, but can't seem to find, is how to reset and turn off the computer. The closest I came to finding it was learning that there is some sort of interface with the ACPI in the BIOS. I had a look at a list of interrupts for the BIOS, and none seem to have any relationship with the ACPI. I wonder whether anyone could point me in the right direction as to how to interface with the ACPI, and send commands to restart or shut down the computer.
I have been doing all my testing inside a virtual machine with VirtualBox, and using virtual floppy images, so there is no risk of bricking the BIOS or anything like that.
Thanks
I used to have an account here a few years ago, but seem to have forgotten the username, password and email I used! Anyway, I am creating a small program in Assembly, which is put into the boot sector of a floppy disk, so I can play around with the computer, learn how it boots, etc. One thing I would like to learn how to do, but can't seem to find, is how to reset and turn off the computer. The closest I came to finding it was learning that there is some sort of interface with the ACPI in the BIOS. I had a look at a list of interrupts for the BIOS, and none seem to have any relationship with the ACPI. I wonder whether anyone could point me in the right direction as to how to interface with the ACPI, and send commands to restart or shut down the computer.
I have been doing all my testing inside a virtual machine with VirtualBox, and using virtual floppy images, so there is no risk of bricking the BIOS or anything like that.
Thanks