The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CPU::Emulator::DCPU16::Device::Console - mapped console device for the DCPU16 emulator

SYNOPSIS

    $cpu->map_device('CPU::Emulator::DCPU16::Device::Console', $start_addr, $end_addr);
    

DESCRIPTION

METHODS

new <memory reference> <start address> <end address> <options>

Create a new console

set <address> <value>

Set the address of the mapped device to value.

get <address>

Get the value at address of the mapped device.

tick

Called after each instruction is called.

Prints out the current console.