[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DHGR Translvania + Le Chat Mauve
Well, RGB cards have their own video scanner built in and can render video in different ways as needed. So, in the case of how I implemented JACE, there is an array of color burst flags for a scanline as it is being rendered. If the mode is text, or if the mode is double-hires and the "chat mauve" render flag is true and if the lo-order bit is low, then I capture that the color burst is off for that one byte. Otherwise, I mark that the color burst is active. When the scanner hits the end of the row (Horizontal blanking interval) then I take the scanline and render it accordingly using either color or B&W pixels. Because I do this during the HBL, it cuts down on re-rendering time. And if the video mode was unchanged and there were no changes to that scanline since the last VBL, I don't even bother rendering it to save more time. Took a while to get the kinks out but it seems to work ok now for the most part.