VOGONS

Common searches


First post, by joe_pool_is

User metadata
Rank Newbie
Rank
Newbie

I have been unable to find any documentation on the [log] section in the dosbox.conf file (DOSBox 0.63). The closest explanation was found in the ChangeLog file. There are several settings that I am curious about:

  • int10
  • dma (direct memory access?)
  • fpu (floating point unit?)
  • paging
  • fcb (file control block?)
  • files
  • ioctl (I/O control)
  • exec
  • dosmisc
  • pit (programmable interval timer)
  • keyboard
  • bios
  • gui
  • misc
  • io

Obviously, some of the terms I understand, but what do the true/false values change in the way the program behaves? For example, I set the value for keyboard=false and mouse=false, but I still had use of my keyboard and mouse.

The reason I ask is that my program does not run correctly if all values are set to true, but runs sluggish when all are set to false. Randomly changing values will take a long time to process.

If it helps, most of these values are loaded in the file debug_gui.cpp. A segment of its code follows:

void LOG_StartUp(void) {
/* Setup logging groups */
loggrp[LOG_ALL].front="ALL";
loggrp[LOG_VGA].front="VGA";
loggrp[LOG_VGAGFX].front="VGAGFX";
loggrp[LOG_VGAMISC].front="VGAMISC";
loggrp[LOG_INT10].front="INT10";
loggrp[LOG_SB].front="SBLASTER";
loggrp[LOG_DMA].front="DMA";

loggrp[LOG_FPU].front="FPU";
loggrp[LOG_CPU].front="CPU";
loggrp[LOG_PAGING].front="PAGING";

loggrp[LOG_FCB].front="FCB";
loggrp[LOG_FILES].front="FILES";
loggrp[LOG_IOCTL].front="IOCTL";
loggrp[LOG_EXEC].front="EXEC";
loggrp[LOG_DOSMISC].front="DOSMISC";

loggrp[LOG_PIT].front="PIT";
loggrp[LOG_KEYBOARD].front="KEYBOARD";
loggrp[LOG_PIC].front="PIC";

loggrp[LOG_MOUSE].front="MOUSE";
loggrp[LOG_BIOS].front="BIOS";
loggrp[LOG_GUI].front="GUI";
loggrp[LOG_MISC].front="MISC";

loggrp[LOG_IO].front="IO";

/* Register the log section */
Section_prop * sect=control->AddSection_prop("log",LOG_Init);
sect->Add_string("logfile","");
char buf[1024];
for (Bitu i=1;i<LOG_MAX;i++) {
strcpy(buf,loggrp[i].front);
lowcase(buf);
sect->Add_bool(buf,true);
}
}

Is there an updated help file that talks about what these individual pieces of the code do?

Wanted: Gasoline and matches.

Reply 1 of 1, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it's for the logging of which events get logged (or more which warnings are blocked)

if it's false then normal warnings are blocked
error are still logged

if it's true then both normal and errors are logged

Water flows down the stream
How to ask questions the smart way!