mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
21 lines
824 B
C#
21 lines
824 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Hardware.PC.Bus {
|
|
public class CPUBus : Cosmos.Hardware.Bus.CPUBus {
|
|
// These are public. Would prefer internal, but will cause issues
|
|
// in future as we add devices from other assemblies.
|
|
// What else can we do to restrict access to them?
|
|
//
|
|
// all plugs
|
|
public static void Write8(UInt16 aPort, byte aData) { }
|
|
public static void Write16(UInt16 aPort, UInt16 aData) { }
|
|
public static void Write32(UInt16 aPort, UInt32 aData) { }
|
|
|
|
public static byte Read8(UInt16 aPort) { return 0; }
|
|
public static UInt16 Read16(UInt16 aPort) { return 0; }
|
|
public static UInt32 Read32(UInt16 aPort) { return 0; }
|
|
}
|
|
}
|