Open plattysoft opened 3 years ago
@plattysoft pull requests are welcome in this project, specially for small additions like this.
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.
There is
vdp_write
andvdp_memcpy
which are equivalents toVPOKE
, but I am missing an equivalent function toVPEEK
, which I would expect to bevdp_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 abuffer
that you use memcpy to put on the vdp and you can read from it, but there are other cases when having avdp_read
is useful, such as low level animations (mutable tiles)