search for: msg_apm_error_connect

Displaying 1 result from an estimated 1 matches for "msg_apm_error_connect".

2005 Sep 17
2
com16/com32 module for APM powerdown
..._flags], cx mov [apm_version], ax ; show apm version add ax, 0x3030 mov [apm_ver_maj], ah mov [apm_ver_min], al print msg_apmver ; connect to APM apm 1, 0, 0 jnc apmc ; try to break any other connection apm 4, 0, 0 ; try again apm 1, 0, 0 jnc apmc ; connection error print msg_apm_error_connect jmp exit ; apm connected apmc: print msg_apm_connected mov cx, [apm_version] cmp cx, 0x0101 jl apm_enable ; report driver version apm 0xe, 0, cx jnc apm_enable print msg_apm_vreport_err ; must enable apm bios? apm_enable: mov cx, [apm_flags] and cx, 0x4 jz apm_off ; enable...