code: 9ferno

ref: 83246e296ea433b65b9d295b5e08fedd39ff1ab7
dir: /os/boot.original/pc/apm.c/

View raw version
#include "u.h"
#include "lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "io.h"

Apminfo apm;

void
apminit(void)
{
	if(getconf("apm0") && apm.haveinfo)
		changeconf("apm0=ax=%x ebx=%x cx=%x dx=%x di=%x esi=%x\n",
			apm.ax, apm.ebx, apm.cx, apm.dx, apm.di, apm.esi);
}