1
0
Fork 0
dosbox-staging/include
Peter Veenstra 202bfa1155 New Drive type: overlay.
When active, this drive redirects new and changed files to a different location.
The files in the overlay and normal drive are merged on startup and kept up to date when the game changes something. 
Files in the overlay are priotizedi, if they exists, above the normal files. 
The drive will switch to an overlayed version of the file on the first write! (Not when opening the file in write-mode).
The overlay is capable of creating missing directories.

With the help of DBOVERLAY files, the drive keeps track of files that are present in the normal directory but deleted by the game. 
All changes are preserved between sessions. 

Current design principles/limitations/requirements:
1) All directories that can be used for saving, must exist already in the base before mounting. (they will be created by DOSBox if missing in the overlay)
2) All filenames inside the overlay directories are UPPERCASE and conform to the 8.3 standard except for the special DBOVERLAY files.
3) To keep point 1 valid at all times, support for creating/renaming/removing directories has been disabled.

Thanks for the help GOG.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4196
2019-03-25 13:49:25 +00:00
..
bios.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
bios_disk.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
callback.h Acknowledge mouse interrupt before entering user routine; fixes sound stutter during mouse movement in Eye of the Beholder III and Casino Tournament of Champions. Clear button counters in the mouse driver reset function; prevents unintended skipping of intro in MechWarrior and others. 2019-02-04 15:15:58 +00:00
control.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
cpu.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
cross.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
debug.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
dma.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
dos_inc.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
dos_system.h New Drive type: overlay. 2019-03-25 13:49:25 +00:00
dosbox.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
fpu.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
hardware.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
inout.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
ipx.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
ipxserver.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
joystick.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
keyboard.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
logging.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
Makefile.am Remove file that has not been used in a long time 2019-01-25 09:31:50 +00:00
mapper.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
mem.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
midi.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
mixer.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
mouse.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
paging.h Make feature checks consistent, include right header for memset, correct one off error in paging table size compare for when not using USE_FULL_TLB (jmarsh) 2019-01-28 14:26:19 +00:00
pci_bus.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
pic.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
programs.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
regs.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
render.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
serialport.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
setup.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
shell.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
support.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
timer.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
video.h Update year and address of FSF 2019-01-25 14:09:58 +00:00