On Monday 22 January 2001 12:04, you wrote:
> > The easiest way to access the extended VRAM is through port #98. You can
> > also use VDP commands to access it, but there is no HMCM command, so you
> > can only transfer from extended VRAM to CPU at the pixel level, not at
> > the byte level. This is bad, because you have to know the screen mode.
> > Also, in SCREEN5 it's twice as slow as transferring bytes.
>
> Aha ...
> Maybe it will be too slow for the mapping routine.... Hmm.
If you access it through port #98, it's just as fast/slow as ordinary VRAM.
> I have another question. How can I do to detect if extend VRAM exists or
> if not?
Write data into it, read it back, if it matches there is extended VRAM
present. Just use a small string or something as data.
> There is another trouble: my GT doesn't have extende VRAM, so I don't
> know how to test routine :(
Print out the code, read it a couple of times, that will catch most bugs.
Then mail the program to Manuel and let him test it.
Bye,
Maarten
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html