mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
17 lines
430 B
C#
17 lines
430 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Hardware.PC.Bus.CPU {
|
|
public class Keyboard : Cosmos.Hardware.SerialDevice {
|
|
public Keyboard() {
|
|
mType = DeviceType.Keyboard;
|
|
}
|
|
|
|
public void InterruptReceived() {
|
|
byte xByte = PC.Bus.CPUBus.Read8(0x60);
|
|
ByteReceived(xByte);
|
|
}
|
|
}
|
|
}
|