Skip to content

Commit

Permalink
5000b15
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioni committed May 28, 2023
1 parent d3b8488 commit f190066
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 20 deletions.
27 changes: 18 additions & 9 deletions debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,10 +901,11 @@ static int readsize (int val, TCHAR **c)
return 0;
}

static int checkvaltype (TCHAR **cp, uae_u32 *val, int *size, TCHAR def)
static int checkvaltype(TCHAR **cp, uae_u32 *val, int *size, TCHAR def)
{
TCHAR form[256], *p;
bool gotop = false;
bool copyrest = false;
double out;

form[0] = 0;
Expand All @@ -913,7 +914,7 @@ static int checkvaltype (TCHAR **cp, uae_u32 *val, int *size, TCHAR def)
p = form;
for (;;) {
uae_u32 v;
if (!checkvaltype2 (cp, &v, def)) {
if (!checkvaltype2(cp, &v, def)) {
if (isoperator(cp) || gotop || **cp == '\"' || **cp == '\'') {
goto docalc;
}
Expand All @@ -924,16 +925,20 @@ static int checkvaltype (TCHAR **cp, uae_u32 *val, int *size, TCHAR def)
_stprintf(p, _T("%u"), v);
p += _tcslen (p);
*p = 0;
if (peekchar (cp) == '.') {
readchar (cp);
if (size)
*size = readsize (v, cp);
if (peekchar(cp) == '.') {
readchar(cp);
if (size) {
*size = readsize(v, cp);
}
}
TCHAR *cpb = *cp;
ignore_ws(cp);
if (!isoperator (cp))
if (!isoperator(cp)) {
*cp = cpb;
break;
}
gotop = true;
*p++= readchar (cp);
*p++= readchar(cp);
*p = 0;
}
if (!gotop) {
Expand All @@ -951,7 +956,11 @@ static int checkvaltype (TCHAR **cp, uae_u32 *val, int *size, TCHAR def)
}
docalc:
while (more_params2(cp)) {
*p++ = readchar(cp);
TCHAR c = readchar(cp);
if (c == ' ') {
break;
}
*p++ = c;
}
*p = 0;
TCHAR tmp[MAX_DPATH];
Expand Down
3 changes: 1 addition & 2 deletions include/cputest.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ extern int movem_index1[256];
extern int movem_index2[256];
extern int movem_next[256];

void ipl_fetch(void);
void do_cycles_test(int);
int intlev(void);

Expand All @@ -63,7 +62,7 @@ void m68k_do_bsr_ce(uaecptr, uae_s32);
void m68k_do_bsr_ce(uaecptr oldpc, uae_s32 offset);
void m68k_do_jsr_ce(uaecptr oldpc, uaecptr dest);

void m68k_setstopped(void);
void m68k_setstopped(int);
void check_t0_trace(void);

bool cpureset(void);
2 changes: 2 additions & 0 deletions od-win32/cputester/cputester.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);CPUEMU_90;CPUEMU_91;CPUEMU_92;CPUEMU_93;CPUEMU_94;CPUEMU_95;CPU_TESTER</PreprocessorDefinitions>
<CallingConvention>FastCall</CallingConvention>
<CompileAs>CompileAsCpp</CompileAs>
<LanguageStandard>stdcpp14</LanguageStandard>
<LanguageStandard_C>Default</LanguageStandard_C>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down
4 changes: 2 additions & 2 deletions od-win32/win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
#define WINUAEBETA _T("")
#endif

#define WINUAEDATE MAKEBD(2023, 5, 26)
#define WINUAEDATE MAKEBD(2023, 5, 28)

//#define WINUAEEXTRA _T("AmiKit Preview")
//#define WINUAEEXTRA _T("Amiga Forever Edition")

#ifndef WINUAEEXTRA
#define WINUAEEXTRA _T("RC6")
#define WINUAEEXTRA _T("")
#endif
#ifndef WINUAEREV
#define WINUAEREV _T("")
Expand Down
7 changes: 4 additions & 3 deletions od-win32/win32gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6433,7 +6433,7 @@ static INT_PTR CALLBACK ErrorLogProc (HWND hDlg, UINT msg, WPARAM wParam, LPARAM
SetDlgItemText (hDlg, IDC_ERRORLOGMESSAGE, err);
xSendDlgItemMessage (hDlg, IDC_ERRORLOGMESSAGE, EM_GETCHARFORMAT, 0, (LPARAM) & CharFormat);
CharFormat.dwMask |= CFM_SIZE | CFM_FACE;
CharFormat.yHeight = getscaledfontsize(8 * 20); /* height in twips, where a twip is 1/20th of a point - for a pt.size of 18 */
CharFormat.yHeight = -getscaledfontsize(8 * 20); /* height in twips, where a twip is 1/20th of a point - for a pt.size of 18 */
_tcscpy (CharFormat.szFaceName, _T("Segoe UI"));
xSendDlgItemMessage (hDlg, IDC_ERRORLOGMESSAGE, EM_SETCHARFORMAT, SCF_ALL, (LPARAM) & CharFormat);
return TRUE;
Expand Down Expand Up @@ -7888,7 +7888,7 @@ static void init_aboutdlg (HWND hDlg)
xSendDlgItemMessage (hDlg, IDC_RICHEDIT1, EM_GETCHARFORMAT, 0, (LPARAM) & CharFormat);
CharFormat.dwMask |= CFM_BOLD | CFM_SIZE | CFM_FACE;
CharFormat.dwEffects = CFE_BOLD;
CharFormat.yHeight = getscaledfontsize(24 * 20); /* height in twips, where a twip is 1/20th of a point */
CharFormat.yHeight = -getscaledfontsize(30 * 20); /* height in twips, where a twip is 1/20th of a point */

_tcscpy (CharFormat.szFaceName, _T("Segoe UI"));
xSendDlgItemMessage (hDlg, IDC_RICHEDIT1, EM_SETCHARFORMAT, SCF_ALL, (LPARAM) & CharFormat);
Expand All @@ -7897,7 +7897,8 @@ static void init_aboutdlg (HWND hDlg)
SetDlgItemText (hDlg, IDC_RICHEDIT2, VersionStr );
xSendDlgItemMessage (hDlg, IDC_RICHEDIT2, EM_GETCHARFORMAT, 0, (LPARAM) & CharFormat);
CharFormat.dwMask |= CFM_SIZE | CFM_FACE;
CharFormat.yHeight = getscaledfontsize(12 * 20);
CharFormat.dwEffects = CFE_BOLD;
CharFormat.yHeight = -getscaledfontsize(16 * 20);
_tcscpy (CharFormat.szFaceName, _T("Segoe UI"));
xSendDlgItemMessage (hDlg, IDC_RICHEDIT2, EM_SETCHARFORMAT, SCF_ALL, (LPARAM) & CharFormat);
xSendDlgItemMessage (hDlg, IDC_RICHEDIT2, EM_SETBKGNDCOLOR, 0, GetSysColor (COLOR_3DFACE));
Expand Down
10 changes: 6 additions & 4 deletions od-win32/winuae_msvc15/winuae_msvc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ForcedIncludeFiles>%(ForcedIncludeFiles)</ForcedIncludeFiles>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>/Zc:strictStrings- %(AdditionalOptions)</AdditionalOptions>
<LanguageStandard_C>Default</LanguageStandard_C>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<ConformanceMode>false</ConformanceMode>
<EnforceTypeConversionRules>
</EnforceTypeConversionRules>
Expand Down Expand Up @@ -1063,8 +1063,9 @@
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ForcedIncludeFiles>%(ForcedIncludeFiles)</ForcedIncludeFiles>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>/Zc:strictStrings- %(AdditionalOptions)</AdditionalOptions>
<LanguageStandard_C>stdc17</LanguageStandard_C>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down Expand Up @@ -1144,8 +1145,9 @@
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ForcedIncludeFiles>%(ForcedIncludeFiles)</ForcedIncludeFiles>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>/Zc:strictStrings- %(AdditionalOptions)</AdditionalOptions>
<LanguageStandard_C>stdc17</LanguageStandard_C>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down
7 changes: 7 additions & 0 deletions od-win32/winuaechangelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

Beta 15: (RC7)

- 4.10.0 introduced low to high/high to low IPL delay is optional and off by default, it seems to only happen when Paula IPL lines have extra load (like expansion devices or logic analyzer probes..). Config file only: ipl_delay=true
- Fixed About panel title font size.
- Debugger command mid command calculation support fixed (for example "d $1234+10 1" works again)
- RC tag removed.

Beta 14: (RC6)

- "Remove interlace artifacts" + accurate modes: some blitter cycles were also rerun during "scandoubled" line.
Expand Down

0 comments on commit f190066

Please sign in to comment.