Changing Bank in SVGA mode ??

How I can change svga bank with OUT BIOS HELP or any other interrupt ???

What port I must write and what???

Here is how I do now:

MOV SVGABANK,DX ; /* else update bank */

MOV AX,4F05H ; /* VESA switch bank */

XOR BX,BX ; /* bx should be 0 */

shl dx,4

INT 10H ; /* and do it */


  • hi faggi,

    to draw a circle in asm is quite simple (and FAST) using the Bresenham drawing algorithm. If you want send to me some mail with info about videomode in whitch you want to draw a circle and I send you a source code :o)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!