source: trunk/BOOTCODE/SPECIAL/APM.ASM@ 29

Last change on this file since 29 was 29, checked in by Ben Rietbroek, 15 years ago

AiR-BOOT v1.06 -- Complete sourceforge mirror. (r56) [2010-02-19]
Signature-date: 2006-03-13.
Also contains binairy releases from v1.01 to v1.06, cd-rom images, etc.
If you want the whole pre v1.07 shebang, checkout this revision's trunk.
The v1.06 reference version is in 'tags/v1.06r'.
Note that this reference version uses 'NL' for 'Dutch'.

File size: 1.4 KB
Line 
1; AiR-BOOT (c) Copyright 1998-2008 M. Kiewitz
2;
3; This file is part of AiR-BOOT
4;
5; AiR-BOOT is free software: you can redistribute it and/or modify it under
6; the terms of the GNU General Public License as published by the Free
7; Software Foundation, either version 3 of the License, or (at your option)
8; any later version.
9;
10; AiR-BOOT is distributed in the hope that it will be useful, but WITHOUT ANY
11; WARRANTY: without even the implied warranty of MERCHANTABILITY or FITNESS
12; FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13; details.
14;
15; You should have received a copy of the GNU General Public License along with
16; AiR-BOOT. If not, see <http://www.gnu.org/licenses/>.
17;
18;---------------------------------------------------------------------------
19; AiR-BOOT / APM SUPPORT
20;---------------------------------------------------------------------------
21
22; Here is APM Code to turn off the computer
23
24APM_TurnOffComputer Proc Near Uses ax bx cx
25 mov ax, 5301h
26 xor bx, bx
27 int 15h
28 mov ax, 530Eh
29 xor bx, bx
30 mov cx, 102h
31 int 15h
32 mov ax, 5307h
33 mov bx, 1
34 mov cx, 3
35 int 15h
36 ret ; We should never return here <g>
37APM_TurnOffComputer EndP
Note: See TracBrowser for help on using the repository browser.