Last active
September 24, 2016 03:05
-
-
Save toptensoftware/937745c970a4fa9d5aaee3a408e157fa to your computer and use it in GitHub Desktop.
Real Mode Addressing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public byte ReadByte(ushort seg, ushort offset) | |
{ | |
return memory[(seg << 4) + offset]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment