VOGONS

Common searches


Search results

Display options

Re: M_TEXT Mode mouse cursor

The following temporary mod had no affect: void VGA_SetBlinking(Bitu enabled) { Bitu b; LOG(LOG_VGA,LOG_NORMAL)("Blinking %d",enabled); //if (enabled) { //TREV // b=0;vga.draw.blinking=1; //used to -1 but blinking is unsigned // vga.attr.mode_control|=0x08; // vga.tandy.mode_control|=0x20; //} else …

Re: M_TEXT Mode mouse cursor

in vga_attr.cpp, i tried to play with the mode control register 0x10 (particularly bit 3), but that didn't make anything change.... no matter what the cycles of the cpu is, the blink rate is still constant, so it seems to be interrupt driven. perhaps it is programed in the app after all...

Re: M_TEXT Mode mouse cursor

all i want is to stop the mouse cursor blinking because you loose track of where it is when you move the mouse. but ideally it should also highlight the characther underneath it too. i suppose i'll have to find out how to program it, unless you know something easy off the top of your head?

Re: DOSBox Shell: Batch file problems

i rember that problem exactly in the dos 5/6 days too! oh those were the days.... it is really true that the xp dos is not a real dos shell, which probably results in the peculiarities i exposed. anyway, now to the next problem (in another thread)... mouse cursors in text mode (blinks too slow).

Re: DOSBox Shell: Batch file problems

The only problem i see now is passing parameters (%2 %3 etc...) in call statements with "=" characters... behaviour is different in real dos to DOSBox.... i suppose this is another thread :) seems to be a DOS peculiarity: if %2 is /L= and %3 is 5, /L=5 can be called with %3. wierd but i got around …

Re: DOSBox Shell: Batch file problems

So guys, the problem is solved with 3 lines of code in shell_batch.cpp bool BatchFile::ReadLine(char * line) { Bit8u c=0;Bit16u n=1; Bit32u pos=0; DOS_SeekFile(file_handle,&pos,DOS_SEEK_CUR); //bugfix: get current file position DOS_SeekFile(file_handle,&pos,DOS_SEEK_SET); //bugfix: goto(set) file …

Re: DOSBox Shell: Batch file problems

the goto does work how it should (it rereads the file). i have tested by editing the batch file outside of dosbox while the batch file is running, and the goto jump always picks up the edits immediately... so i guess i have to implement something like this with a line pointer for the readfile.. any …

Re: DOSBox Shell: Batch file problems

yeah, i'd have to recompile the source of my program to add the rescan in but then it won't work in normal dos. i've tried adding a rescan in the shell_batch.cpp but with no success. do you have an idea how to do it? (my program has a shell that edits the batch file. that is - it keeps it open. not …

Page 1 of 2