You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: contrib/windows/installer/dosbox-x.reference.setup.conf
+2-1
Original file line number
Diff line number
Diff line change
@@ -536,7 +536,8 @@ freesizecap = cap
536
536
#DOSBOX-X-ADV:# This can be used to help diagnose whether or not the DOS game is page flipping properly according to vertical retrace if the display on-screen is flickering.
537
537
#DOSBOX-X-ADV:# vertical retrace poll debug line: VGA debugging switch. If set, an inverse green dotted line will be drawn on the exact scanline that the CRTC status port (0x3DA) was read.
538
538
#DOSBOX-X-ADV:# This can be used to help diagnose whether the DOS game is propertly waiting for vertical retrace.
539
-
#DOSBOX-X-ADV:# cgasnow: When machine=cga, determines whether or not to emulate CGA snow in 80x25 text mode
539
+
#DOSBOX-X-ADV:# cgasnow: When machine=cga, determines whether or not to emulate CGA snow in 80x25 text mode.
540
+
#DOSBOX-X-ADV:# This parameter is also changeable from the builtin CGASNOW command in CGA mode.
540
541
#DOSBOX-X-ADV:# vga 3da undefined bits: VGA status port 3BA/3DAh only defines bits 0 and 3. This setting allows you to assign a bit pattern to the undefined bits.
541
542
#DOSBOX-X-ADV:# The purpose of this hack is to deal with demos that read and handle port 3DAh in ways that might crash if all are zero.
542
543
#DOSBOX-X-ADV:# rom bios 8x8 CGA font: If set, or mainline DOSBox compatible BIOS mapping, a legacy 8x8 CGA font (first 128 characters) is stored at 0xF000:0xFA6E. DOS programs that do not use INT 10h to locate fonts might require that font to be located there.
Copy file name to clipboardexpand all lines: dosbox-x.reference.full.conf
+2-1
Original file line number
Diff line number
Diff line change
@@ -536,7 +536,8 @@ enable pci bus = true
536
536
# This can be used to help diagnose whether or not the DOS game is page flipping properly according to vertical retrace if the display on-screen is flickering.
537
537
# vertical retrace poll debug line: VGA debugging switch. If set, an inverse green dotted line will be drawn on the exact scanline that the CRTC status port (0x3DA) was read.
538
538
# This can be used to help diagnose whether the DOS game is propertly waiting for vertical retrace.
539
-
# cgasnow: When machine=cga, determines whether or not to emulate CGA snow in 80x25 text mode
539
+
# cgasnow: When machine=cga, determines whether or not to emulate CGA snow in 80x25 text mode.
540
+
# This parameter is also changeable from the builtin CGASNOW command in CGA mode.
540
541
# vga 3da undefined bits: VGA status port 3BA/3DAh only defines bits 0 and 3. This setting allows you to assign a bit pattern to the undefined bits.
541
542
# The purpose of this hack is to deal with demos that read and handle port 3DAh in ways that might crash if all are zero.
542
543
# rom bios 8x8 CGA font: If set, or mainline DOSBox compatible BIOS mapping, a legacy 8x8 CGA font (first 128 characters) is stored at 0xF000:0xFA6E. DOS programs that do not use INT 10h to locate fonts might require that font to be located there.
if (((bold&&ital?ttfSizebi:(bold&&!ital?ttfSizeb:(!bold&&ital?ttfSizei:ttfSize))) = ftell(ttf_fh)) != -1L)
3529
+
if ((bold&&ital?ttfFontbi:(bold&&!ital?ttfFontb:(!bold&&ital?ttfFonti:ttfFont))) = malloc((size_t)(bold&&ital?ttfSizebi:(bold&&!ital?ttfSizeb:(!bold&&ital?ttfSizei:ttfSize)))))
3530
+
if (!fseek(ttf_fh, 0, SEEK_SET))
3531
+
if (fread((bold&&ital?ttfFontbi:(bold&&!ital?ttfFontb:(!bold&&ital?ttfFonti:ttfFont))), 1, (size_t)(bold&&ital?ttfSizebi:(bold&&!ital?ttfSizeb:(!bold&&ital?ttfSizei:ttfSize))), ttf_fh) == (size_t)(bold&&ital?ttfSizebi:(bold&&!ital?ttfSizeb:(!bold&&ital?ttfSizei:ttfSize)))) {
3532
+
fclose(ttf_fh);
3533
+
return true;
3534
+
}
3535
+
fclose(ttf_fh);
3536
+
}
3560
3537
if (!failName.size()||failName.compare(fName)) {
3561
3538
failName=std::string(fName);
3562
3539
std::string message="Could not load font file: "+std::string(fName)+(strlen(fName)<5||strcasecmp(fName+strlen(fName)-4, ".ttf")?".ttf":"");
if (IS_PC98_ARCH||(CurMode->mode>7&&CurMode->mode!=0x0019&&CurMode->mode!=0x0043&&CurMode->mode!=0x0054&&CurMode->mode!=0x0055&&CurMode->mode!=0x0064))
10586
+
if (IS_PC98_ARCH||machine==MCH_CGA||(CurMode->mode>7&&CurMode->mode!=0x0019&&CurMode->mode!=0x0043&&CurMode->mode!=0x0054&&CurMode->mode!=0x0055&&CurMode->mode!=0x0064)) {
10587
+
systemmessagebox("Warning", "High intensity is not supported for the current video mode.", "ok","warning", 1);
10573
10588
return true;
10589
+
}
10574
10590
if (!strcmp(mname, "text_background"))
10575
10591
reg_bl = 0;
10576
10592
else
@@ -10646,7 +10662,7 @@ void ttf_setlines(int cols, int lins) {
mainMenu.alloc_item(DOSBoxMenu::item_type_id,"showdetails").set_text("Show FPS and RT speed in title bar").set_callback_function(showdetails_menu_callback).check(!menu.hidecycles && menu.showrt);
13553
+
mainMenu.alloc_item(DOSBoxMenu::item_type_id,"restartconf").set_text("Restart DOSBox-X with config file...").set_callback_function(restartconf_menu_callback);
#if defined (WIN32) || defined(MACOSX) || defined(C_SDL2)
13532
13556
mainMenu.alloc_item(DOSBoxMenu::item_type_id,"clipboard_right").set_text("Via right mouse button").set_callback_function(right_mouse_clipboard_menu_callback).check(mbutton==3);
0 commit comments