Skip to content

Instantly share code, notes, and snippets.

@toptensoftware
Created September 24, 2016 03:27
Show Gist options
  • Save toptensoftware/9f63ffbe16652c7eb9ef121d8fc37929 to your computer and use it in GitHub Desktop.
Save toptensoftware/9f63ffbe16652c7eb9ef121d8fc37929 to your computer and use it in GitHub Desktop.
Sharp86's IBus interface
public interface IBus
{
byte ReadByte(ushort seg, ushort offset);
void WriteByte(ushort seg, ushort offset, byte value);
ushort ReadPortWord(ushort port);
void WritePortWord(ushort port, ushort value);
bool IsExecutableSelector(ushort seg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment