Metropoli BBS
VIEWER: vgetscre.fix MODE: TEXT (ASCII)
segment=vapcode;

/* vprintstring */
offset=27fe; find=a0; replace=a1;  /* mov al, screenmo-> mov ax, screenmo */
offset=2801; find=32e4; replace=9090; /* xor ah,ah -> nops */
offset=286a; find=880e; replace=890e; /* mov screenmo,cl -> mov screenmo,cx */

/* vsetscreenmode */
offset=29dd; find=58a2; replace=58a3;   /* mov ..,al-> mov ..,ax */

/* vgetscreenmode */
offset=29e7; find=8ed9a0; replace=8ed9a1; /* mov al,.. -> mov ax,.. */
offset=29ec; find=32e4;   replace=9090;   /* xor ah,ah -> nops */

/* voutstring */
offset=2a27; find=8edb5a598a1e;  replace=8edb5a598b1e; /* mov bl,.. -> mov bx,.. */
offset=2a2f; find=32ff53; replace=909053; /* xor bh,bh --> nops */


/* VeRsIoN= */

/*  Patch to fix VAP API GetScreenMode */
/*  Version 1.01 PTF (920824)                                       */
/*  Copyright (c) Novell Inc. 1992.  All Rights Reserved.           */
/*                                                                  */
/* This patch fixes the OS so that it will return a word instead of a byte */
/* The patch is for v2.2(5,10,50,100) ded and nonded versions */
/* NOTE: The API works correctly in v2.15C */


[ RETURN TO DIRECTORY ]