From 4ec565af2d15f2bddf63b853f304707789f81eb2 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 27 Feb 2006 20:33:28 +0000 Subject: [PATCH] Some documentation improvements Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2526 --- ChangeLog | 10 +++++++--- README | 50 +++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 46 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index d427ec84..39bb479d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,7 +27,7 @@ - Improved ADPCM emulation. - Fixed a few cpu instructions. - Always report vesa 2.0 and fix some colour issues with vesa games. - - Fix video mode 6. + - Fix video mode 0x06 and 0x0a. - Improvements to the joystick emulation. 4 buttons are supported as well. - Add VCPI emulation. No more ems=false with Origin games. - Fixed a lot of things in the boot code. Most booters work now. @@ -39,7 +39,7 @@ - Improve Composite CGA mode emulation. - Lots of vga compatibility changes. - Improved support for chained video modes. - - Improved mode and palete handling in cga modes. + - Improved mode and palette handling in cga modes. - Mount accepts ~ now. - Added a few of the EGA RIL functions. - Added TandyDAC emulation. @@ -48,12 +48,16 @@ - Fix some errors in the CD-ROM emulation layer. - Added an automatic work-around for some graphics chipsets. - Add PCjr support. - - Allow mousedriver to be replaced. Fixes a few games with come with their + - Allow mousedriver to be replaced. Fixes a few games that come with their own (internal) driver. - Improved dynamic cpu core so it can handle pagefaults and some obscure types of self-modifying code. - Added -noautoexec switch to skip the contents of [autoexec] in the configuration file. + - Improved v86 mode emulation (mainly for Strike Commander). + - Improved timer behavior. + - Improved extended keyboard support. + - Enhanced and added several DOS tables. - Made core_full endian safe. - Made pagefaults endian safe. - Compilation fixes for various platforms. diff --git a/README b/README index cb92aa1b..1d32eb04 100644 --- a/README +++ b/README @@ -354,21 +354,49 @@ MEM Program to display the amount of free memory. CONFIG [-writeconf] [-writelang] localfile - Write the current configuration or language settings to file. - "localfile" is located on the local drive, not a mounted drive in DOSBox. +CONFIG -set "section property=value" +CONFIG -get "section property" - The configuration file controls various settings of DOSBox: the amount - of emulated memory, the emulated soundcards and many more things. It - allows access to AUTOEXEC.BAT as well. - See section 9 (The Config File) for more information. + CONFIG can be used to change or query various settings of DOSBox + during runtime. It can save the current settings and language strings to + disk. Information about all possible sections and properties can + be found in section 9 (The Config File). - The language file controls all visible ouput of the internal commands - and the internal dos. + -writeconf localfile + Write the current configuration settings to file. "localfile" is + located on the local drive, not a mounted drive in DOSBox. + The configuration file controls various settings of DOSBox: + the amount of emulated memory, the emulated soundcards and many more + things. It allows access to AUTOEXEC.BAT as well. + See section 9 (The Config File) for more information. - Example: - To create a configfile in your current directory: - config -writeconf dosbox.conf + -writelang localfile + Write the current language settings to file. "localfile" is + located on the local drive, not a mounted drive in DOSBox. + The language file controls all visible ouput of the internal commands + and the internal dos. + -set "section property=value" + CONFIG will attempt to set the property to new value. At this moment + CONFIG can not report whether the command succeeded or not. + + -get "section property" + The current value of the property is reported and stored in the + environment variable %CONFIG%. This can be used to store the value + when using batch files. + + Both "-set" and "-get" work from batch files and can be used to set up your + own preferences for each game. + + Examples: + 1. To create a configfile in your current directory: + config -writeconf dosbox.conf + 2. To set the cpu cycles to 10000: + config -set "cpu cycles=1000" + 3. To turn ems memory emulation off: + config -set "dos ems=false" + 4. To check which cpu core is being used. + config -get "cpu core" LOADFIX [-size] [program] [program-parameters] LOADFIX -f