Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseMemoryInterface needs FileDump() helper #10

Open
beforan opened this issue Oct 4, 2017 · 1 comment
Open

BaseMemoryInterface needs FileDump() helper #10

beforan opened this issue Oct 4, 2017 · 1 comment

Comments

@beforan
Copy link
Owner

beforan commented Oct 4, 2017

Deferred from #4 until it's needed, since it's not a core part of the interface

@beforan
Copy link
Owner Author

beforan commented Oct 5, 2017

So this probably wants to turn into ByteDump or similar.really it should be taking an array of bytes, or a stream, to dump into memory.

Then the host application can choose to load those bytes from a file, or wherever.

  • It should check that the length of bytes does not exceed the memory space (i.e. the full 64k)
  • It should maybe check it doesn't wrap around (i.e. address + length doesn't exceed 0xffff)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant