Shutdown
In order to shutdown the system, you need to use the APM/ACPI (preferably calling the BIOS). There should be code for that in The Mobius.
Using INT15h (according to Tim's code which appears to be Menuet code)
- disconnect interface (ax=5304, bx=0)
- connect real mode interface (ax=5301,bx=0)
- enable power management (ax=5308, cx=bx=1)
- enable device power management(ax=530D, cx=bx=1)
- engage power management (ax=530f,cx=bx=1)
- driver version (ax=530E, bx=0, cx=102)
- set power state(ax=5307, bx=1, cx=3)
External Links
[TOPIC] http://www.osdev.org/phpBB2/viewtopic.php?t=16990 - Shutdown code with good explanation in C