Mail Archives: djgpp/2000/01/05/08:25:35
sl writes:
> I was wondering how video-page scrolling and flipping works.
[...]
> I'm basically asking about the memory model being used to
> support these two features
It's entirely up to you. Video memory is just that: a large
area of memory. The display start address tells the hardware
what location in that memory it should start at when displaying
each frame, and the display width tells the hardware how many
bytes to skip past when moving from one scanline to the next.
You use VESA calls to control these values, and then do whatever
you like with the rest: it's up to you whether to treat this
memory as one large 2d area, or many smaller regions, or
anything else that you can come up with.
Shawn Hargreaves.
- Raw text -