Examples of VgaState


Examples of org.jnode.driver.video.vgahw.VgaState

    public StandardVGA(ResourceOwner owner, IndexColorModel cm) throws ResourceNotFreeException {
        try {
            ResourceManager rm = InitialNaming.lookup(ResourceManager.NAME);
            vgaMem = rm.claimMemoryResource(owner, Address.fromIntZeroExtend(0xa0000), 0x9600,
                ResourceManager.MEMMODE_NORMAL);
            state640x480x16 = new VgaState(seq, crt, gra, att, 0xe3, cm);
            oldState = new VgaState();
        } catch (NameNotFoundException ex) {
            throw new ResourceNotFreeException("ResourceManager not found", ex);
        }
    }
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.