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

Feature request: Add vdp_read() #14

Open
plattysoft opened this issue Aug 8, 2021 · 2 comments
Open

Feature request: Add vdp_read() #14

plattysoft opened this issue Aug 8, 2021 · 2 comments

Comments

@plattysoft
Copy link

There is vdp_write and vdp_memcpy which are equivalents to VPOKE, but I am missing an equivalent function to VPEEK, which I would expect to be vdp_read.
Relying on the information of the VDP is a common pattern, so it would be good to have it.
I understand that in most cases you would have a buffer that you use memcpy to put on the vdp and you can read from it, but there are other cases when having a vdp_read is useful, such as low level animations (mutable tiles)

@retrodeluxe
Copy link
Owner

@plattysoft pull requests are welcome in this project, specially for small additions like this.

@plattysoft
Copy link
Author

I don't know enough assembly or the internals of the engine to be able to write that part, otherwise I would have gone for it straight away.

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

No branches or pull requests

2 participants