We have VDP variables to get some minimal information on the state of the bitmap and sprite system, but right now this is very minimal.
Specifically there are variables for the currently selected (16-bit) bitmap ID, the number of bitmaps used, a buffer ID for an affine transform being applied to bitmap plots (if that's been set), the current sprite ID, and the number of sprites active.
What we are missing here is info on the bitmaps and/or sprites.
We should add variables to allow for reading more info on the currently selected bitmap, and the currently selected sprite (including info on the sprite's current bitmap).
This would allow ways to get bitmap sizes and format, and additional info for sprites like x, y coordinates, whether it's a hardware sprite, and the plot mode being used.
Getting access to bitmap info on the VDP would allow for buffered command sequences to read that info and use it - for example one could define a buffered command to "flip selected bitmap vertically" which could compose a suitable version of buffered command 24 to do that
We have VDP variables to get some minimal information on the state of the bitmap and sprite system, but right now this is very minimal.
Specifically there are variables for the currently selected (16-bit) bitmap ID, the number of bitmaps used, a buffer ID for an affine transform being applied to bitmap plots (if that's been set), the current sprite ID, and the number of sprites active.
What we are missing here is info on the bitmaps and/or sprites.
We should add variables to allow for reading more info on the currently selected bitmap, and the currently selected sprite (including info on the sprite's current bitmap).
This would allow ways to get bitmap sizes and format, and additional info for sprites like x, y coordinates, whether it's a hardware sprite, and the plot mode being used.
Getting access to bitmap info on the VDP would allow for buffered command sequences to read that info and use it - for example one could define a buffered command to "flip selected bitmap vertically" which could compose a suitable version of buffered command 24 to do that