Package com.loomcom.symon.devices

Examples of com.loomcom.symon.devices.Acia



    @Test
    public void readingBuffersShouldResetStatus()
            throws Exception {
        Acia acia = new Acia6551(0x0000);

        acia.rxWrite('a');
        acia.txWrite('b');


        assertEquals(0x08, acia.read(0x0001));

        assertEquals('a', acia.rxRead());
        assertEquals('b', acia.txRead());

        assertEquals(0x10, acia.read(0x0001));
    }
View Full Code Here

TOP

Related Classes of com.loomcom.symon.devices.Acia

Copyright © 2018 www.massapicom. 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.