Skip to content

Commit

Permalink
memalias needs more clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jan 4, 2025
1 parent 0b1238a commit d965f51
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions contrib/windows/installer/dosbox-x.reference.setup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,9 @@ debuggerrun = debugger
#DOSBOX-X-ADV:# 24: 16MB aliasing. Common on 386SX systems (CPU had 24 external address bits)
#DOSBOX-X-ADV:# or 386DX and 486 systems where the CPU communicated directly with the ISA bus (A24-A31 tied off)
#DOSBOX-X-ADV:# 26: 64MB aliasing. Some 486s had only 26 external address bits, some motherboards tied off A26-A31
#DOSBOX-X-ADV:# 32: 4GB aliasing. This is normal for most 486/Pentium and later systems and is the default for most values of cputype.
#DOSBOX-X-ADV:# 36: 64GB aliasing. Recommended if you are emulating more than 3.5GB of RAM and Pentium Pro/II Page Size Extensions.
#DOSBOX-X-ADV:# 40: 1TB aliasing. Recommended if you are emulating more than 63GB of RAM and Pentium Pro/II Page Size Extensions.
# nocachedir: If set, MOUNT commands will mount with -nocachedir (disable directory caching) by default.
# freesizecap: If set to "cap" (="true"), the value of MOUNT -freesize will apply only if the actual free size is greater than the specified value.
# If set to "relative", the value of MOUNT -freesize will change relative to the specified value.
Expand Down
3 changes: 3 additions & 0 deletions dosbox-x.reference.full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ debuggerrun = debugger
# 24: 16MB aliasing. Common on 386SX systems (CPU had 24 external address bits)
# or 386DX and 486 systems where the CPU communicated directly with the ISA bus (A24-A31 tied off)
# 26: 64MB aliasing. Some 486s had only 26 external address bits, some motherboards tied off A26-A31
# 32: 4GB aliasing. This is normal for most 486/Pentium and later systems and is the default for most values of cputype.
# 36: 64GB aliasing. Recommended if you are emulating more than 3.5GB of RAM and Pentium Pro/II Page Size Extensions.
# 40: 1TB aliasing. Recommended if you are emulating more than 63GB of RAM and Pentium Pro/II Page Size Extensions.
# nocachedir: If set, MOUNT commands will mount with -nocachedir (disable directory caching) by default.
# freesizecap: If set to "cap" (="true"), the value of MOUNT -freesize will apply only if the actual free size is greater than the specified value.
# If set to "relative", the value of MOUNT -freesize will change relative to the specified value.
Expand Down
5 changes: 4 additions & 1 deletion src/dosbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,10 @@ void DOSBOX_SetupConfigSections(void) {
" starting with cputype=8086 will use a memalias of 20 even if you later change cputype to 386.\n"
" 24: 16MB aliasing. Common on 386SX systems (CPU had 24 external address bits)\n"
" or 386DX and 486 systems where the CPU communicated directly with the ISA bus (A24-A31 tied off)\n"
" 26: 64MB aliasing. Some 486s had only 26 external address bits, some motherboards tied off A26-A31");
" 26: 64MB aliasing. Some 486s had only 26 external address bits, some motherboards tied off A26-A31\n"
" 32: 4GB aliasing. This is normal for most 486/Pentium and later systems and is the default for most values of cputype.\n"
" 36: 64GB aliasing. Recommended if you are emulating more than 3.5GB of RAM and Pentium Pro/II Page Size Extensions.\n"
" 40: 1TB aliasing. Recommended if you are emulating more than 63GB of RAM and Pentium Pro/II Page Size Extensions.");

Pbool = secprop->Add_bool("nocachedir",Property::Changeable::WhenIdle,false);
Pbool->Set_help("If set, MOUNT commands will mount with -nocachedir (disable directory caching) by default.");
Expand Down

0 comments on commit d965f51

Please sign in to comment.