From: sparky4 Date: Fri, 18 Aug 2017 21:39:10 +0000 (-0500) Subject: i do not know 100% wat i have done but i plan on getting the borland c stuff and... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=d90a09a8fadcf79f1df0f5ac85986e2896e331d5;p=16.git i do not know 100% wat i have done but i plan on getting the borland c stuff and IMFPLAY to work againh --- diff --git a/bcexmm.dsk b/bcexmm.dsk index cd351bc4..0ef010ca 100755 Binary files a/bcexmm.dsk and b/bcexmm.dsk differ diff --git a/bcexmm.exe b/bcexmm.exe deleted file mode 100755 index 36a8a1f4..00000000 Binary files a/bcexmm.exe and /dev/null differ diff --git a/bcexmm.prj b/bcexmm.prj index c185ea31..e3ecc2f2 100755 Binary files a/bcexmm.prj and b/bcexmm.prj differ diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 77bbe963..c207e024 100755 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -1361,13 +1361,13 @@ extern char global_temp_status_text2[512]; void MM_ShowMemory (global_game_variables_t *gvar) { mmblocktype far *scan; - unsigned color,temp,x,y ,w,width,sw; + unsigned color,temp,x,y ,q,w,width,sw; sdword end,owner; byte scratch[160],scratch0[4096],str[16]; #ifdef MMSMSCANINFO mmshowmemoryinfo_t scaninfo[MAXBLOCKS]; byte scratch1[4]; - unsigned /*xpos,ypos, */oldq,q,maxq; + unsigned /*xpos,ypos, */oldq,maxq; boolean done,restarted,mmsmscaninfoxyposinew; ScanCode scancode; #endif @@ -1381,11 +1381,10 @@ void MM_ShowMemory (global_game_variables_t *gvar) #ifdef MMSMSCANINFO oldq = 0; restarted = false; mmsmscaninfoxyposinew = false; reset: - q = 0; #endif scan = gvar->mm.mmhead; - end = -1; w = 0; + end = -1; w = 0; q = 0; width = gvar->video.page[0].width; sw = gvar->video.page[0].sw; @@ -1501,9 +1500,9 @@ reset: //0000fprintf(stdout, "[%u]\n", q); scan = scan->next; -#ifdef MMSMSCANINFO +//#ifdef MMSMSCANINFO q++; -#endif +//#endif //0000if(gvar->video.VL_Started && color!=6) IN_Ack(gvar); } @@ -1592,7 +1591,9 @@ reset: modexClearRegion(&gvar->video.page[0], gvar->video.page[0].dx, gvar->video.page[0].dy, gvar->video.page[0].sw, gvar->video.page[0].sh, 8); }else #endif + { clrscr(); + } sprintf(global_temp_status_text, "block #%04u", q); MMSMPRINTMEMINFO // sprintf(global_temp_status_text, "%Fp", scaninfo[q].scan->useptr); MMSMPRINTMEMINFO sprintf(global_temp_status_text, "start: %04x", (unsigned)scaninfo[q].scan->start); MMSMPRINTMEMINFO diff --git a/src/lib/16_vl_1.c b/src/lib/16_vl_1.c index 57c59b30..b5c826da 100755 --- a/src/lib/16_vl_1.c +++ b/src/lib/16_vl_1.c @@ -26,8 +26,8 @@ #include "src/lib/16_vl.h" static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ -#define VGASTRIDEVARIABLE gvar->video.page[0].stridew -//vga_state.vga_stride +#define VGASTRIDEVARIABLE vga_state.vga_stride +//#define VGASTRIDEVARIABLE gvar->video.page[0].stridew //===========================================================================