Package org.jnode.vm.objects

Examples of org.jnode.vm.objects.Counter.inc()


        regs.setReg32(SCBPort, 0);
        // disable
        regs.setReg32(SCBPort, 2);
        Counter count = new Counter("chrono");
        while ((Integer) count.getValue() <= 20)
            count.inc();
        regs.setReg16(SCBCmd, SCBMaskAll);
        int intr_status = regs.getReg16(SCBStatus);
        regs.setReg16(SCBStatus, intr_status);
        regs.getReg16(SCBStatus);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.