beautypg.com

Juniper Systems Allegro DOS Manual User Manual

Page 241

background image

Software Developer's Guide for DOS Page 8-7

Allegro CPU Done Function (Allegro_CpuDone)
This function is called to restore the Power Manager to the normal state
after a CPU busy call.

void Allegro_CpuDone (void)
{

_asm
{

push

ax

push

bx

mov

ax, 2E0Bh

mov

bl, 1

// setup regs for function call

int 10h

// call cpu done function

pop

bx

pop

ax

}

}