X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modex16.c;h=aadbe523553841d7c1bf8501efff6b2d3e573643;hb=7f652d3942641b27776e60216616c54cd51999ee;hp=f01116b5257fbab4c24267157af17adc0b73ff20;hpb=d910ad2fc48491c391e1984e74616e50d28d95d7;p=16.git diff --git a/modex16.c b/modex16.c index f01116b5..aadbe523 100644 --- a/modex16.c +++ b/modex16.c @@ -213,7 +213,7 @@ modexClearRegion(page_t *page, int x, int y, int w, int h, byte color) { JNZ SCAN_START } } - + void modexDrawBmp(page_t *page, int x, int y, bitmap_t *bmp) { @@ -236,7 +236,8 @@ modexDrawBmpRegion(page_t *page, int x, int y, word nextBmpRow = (word) bmp->width - width; word rowCounter; byte planeCounter = 4; - + + //code is a bit slow here __asm { MOV AX, SCREEN_SEG ; go to the VGA memory MOV ES, AX