Don't understand what's wrong with my PCX code
问题 I have a code that shows a PCX using assembly By its width Example image 320x200 x=0, y=0 But if X ( StartPictX ) and Y ( StartPictY ) are unequal to 0, it ruins the picture. And I need to fix that... The original code: ;-------------------------------------- ; Load and show file *.PCX 320x200x256 ; ;-------------------------------------- IDEAL MODEL large P386 MACRO SHOWPCX StartX, StartY, fName mov ax, [StartX] mov [Point_X], ax mov ax, [StartY] mov [Point_Y], ax mov dx, offset fName call