Closed ry755 closed 10 months ago
The read/write ones are not tested yet. The older code used the map/setup then hit the I/O ports given by the map
dumb bug hopefully fixed
Unfortunately that didn't fix the issue described here, still getting "Bad address".
Should also be fixed this time around 8)
I'm attempting to make an application that utilizes the bitmap (Graphics II) mode. As an initial test, I started by modifying gfxtest.c to test the TMS9918A with the following code:
Everything works up until the VDPIOC_WRITE ioctl, which returns EFAULT/"Bad address". I have tracked it down to this block of code. I can't tell if this is a bug in FUZIX (not likely, considering every TMS9918A-supporting platform I've looked at uses the same ioctl handling code) or, more likely, I'm just doing something wrong.
The docs/Graphics.md document mentions that these ioctls are not yet finished. Is this already a known issue? Or am I just doing something wrong here?