Metropoli BBS
VIEWER: asema.cpp MODE: TEXT (CP437)
//Copyright (C) Tommi Häkkinen 1993. C++ 3.1
#include <dos.h>
void asemat(int asema);
int main(void)
{
   asemat(1);
   return 0;
}
void asemat(int asema)
{
    union REGS regs;
    regs.h.ah=0xE;
    regs.h.dl=asema;   /*Asemat A=0,B=1 jne..*/
    regs.h.al=asema+1; /*Viimnen massamuistiasema A=1,B=2,jne*/
    int86(0x21,&regs,&regs);
}
[ RETURN TO DIRECTORY ]