}
static uae_u32 REGPARAM2 dmac_lgeti (uaecptr addr)
{
- uae_u32 v = 0xffff;
+ uae_u32 v;
#ifdef JIT
special_mem |= S_READ;
#endif
static uae_u8 *REGPARAM2 dmac_xlate (uaecptr addr)
{
+ write_log (L"%x ", addr);
addr &= rom_mask;
addr += rombank * rom_size;
return rom + addr;
decide_diw (hpos);
decide_line (hpos);
decide_fetch (hpos);
- finish_final_fetch (hpos, fetchmode);
record_color_change2 (hsyncstartpos, 0xffff, 0);
if (thisline_decision.plfleft != -1 && thisline_decision.plflinelen == -1) {
/* High-density or diskspare disk? */
drv->num_tracks = 0;
- if (size > 160 * 11 * 512) { // larger than standard adf?
+ if (size > 160 * 11 * 512 + 511) { // larger than standard adf?
for (i = 80; i <= 83; i++) {
if (size == i * 22 * 512 * 2) { // HD
drv->ddhd = 2;
currprefs.nr_floppies = changed_prefs.nr_floppies = cnt;
DISK_check_change ();
setamax ();
+#if 0
if (dskdmaen)
dumpdisk ();
+#endif
}
uae_u8 *restore_disk (int num,uae_u8 *src)
STATIC_INLINE uae_u32 shsprite (int dpix, uae_u32 spix_val, uae_u32 v, int spr)
{
uae_u8 sprcol;
+ uae_u16 scol;
if (!spr)
return v;
sprcol = render_sprites (dpix, 0, spix_val, 0);
- if (sprcol)
- return colors_for_drawing.color_regs_ecs[sprcol];
- return v;
+ if (!sprcol)
+ return v;
+ /* good enough for now.. */
+ scol = colors_for_drawing.color_regs_ecs[sprcol] & 0xccc;
+ scol |= scol >> 2;
+ return xcolors[scol];
}
static int NOINLINE linetoscr_16_sh (int spix, int dpix, int stoppos, int spr)
if (pins == 9) {
if (pin9) {
bitGraph.pin9 = true;
- bitGraph.bytesColumn = 2;
+ bitGraph.bytesColumn = 1;
}
bitGraph.vertDens = 72;
}
static void inputdevice_checkconfig (void)
{
- if (currprefs.jports[0].id != changed_prefs.jports[0].id ||
+ if (
+ currprefs.jports[0].id != changed_prefs.jports[0].id ||
currprefs.jports[1].id != changed_prefs.jports[1].id ||
currprefs.jports[2].id != changed_prefs.jports[2].id ||
currprefs.jports[3].id != changed_prefs.jports[3].id ||
+ currprefs.jports[0].mode != changed_prefs.jports[0].mode ||
+ currprefs.jports[1].mode != changed_prefs.jports[1].mode ||
+ currprefs.jports[2].mode != changed_prefs.jports[2].mode ||
+ currprefs.jports[3].mode != changed_prefs.jports[3].mode ||
currprefs.input_selected_setting != changed_prefs.input_selected_setting ||
currprefs.input_joymouse_multiplier != changed_prefs.input_joymouse_multiplier ||
currprefs.input_joymouse_deadzone != changed_prefs.input_joymouse_deadzone ||
break;
case RP_DEVICE_INPUTPORT:
ok = port_insert (num, dc->dwInputDevice, dc->dwFlags, n);
+ if (ok)
+ inputdevice_updateconfig (&currprefs);
break;
case RP_DEVICE_CD:
ok = cd_insert (num, n);
_tcscpy (desc.szHostInputName, p1);
desc.dwHostInputType= RP_HOSTINPUT_KEYJOY_MAP1 + cnt;
desc.dwInputDeviceFeatures = RP_FEATURE_INPUTDEVICE_JOYSTICK;
+ if (cnt == 0)
+ desc.dwInputDeviceFeatures |= RP_FEATURE_INPUTDEVICE_JOYPAD;
if (log_rp)
write_log(L"Enum%d: '%s' '%s'\n", cnt, desc.szHostInputName, desc.szHostInputID);
RPSendMessagex (RPIPCGM_INPUTDEVICE, 0, 0, &desc, sizeof desc, &guestinfo, NULL);
} else if (m >= 0) {
_tcscpy (name, inputdevice_get_device_unique_name (IDTYPE_MOUSE, m));
}
- mode = 0;
- for (int i = 0; i < inputdevmode[i * 2]; i++) {
+ mode = RP_INPUTDEVICE_EMPTY;
+ for (int i = 0; inputdevmode[i * 2]; i++) {
if (inputdevmode[i * 2 + 1] == currprefs.jports[num].mode) {
mode = inputdevmode[i * 2 + 0];
break;
mx -= mouseposx;
my -= mouseposy;
- //write_log (L"%d %d %d %d %d %d %d\n", wm, mouseactive, focus, mx, my, mouseposx, mouseposy);
+ //write_log (L"%d %d %d %d %d %d %dx%d %dx%d\n", wm, mouseactive, focus, showcursor, recapture, isfullscreen (), mx, my, mouseposx, mouseposy);
if (recapture && isfullscreen () <= 0) {
setmouseactive (1);
return 0;
#define LANG_DLL 1
//#define WINUAEBETA L""
-#define WINUAEBETA L"Beta 6"
-#define WINUAEDATE MAKEBD(2011, 8, 31)
+#define WINUAEBETA L"Beta 7"
+#define WINUAEDATE MAKEBD(2011, 9, 14)
#define WINUAEEXTRA L""
#define WINUAEREV L""
static void values_to_displaydlg (HWND hDlg)
{
- TCHAR buffer[MAX_DPATH], buffer2[MAX_DPATH];
+ TCHAR buffer[MAX_DPATH];
int rates[MAX_CHIPSET_REFRESH_TOTAL];
int v;
double d;
SendDlgItemMessage(hDlg, IDC_SCREENMODE_RTG2, CB_ADDSTRING, 0, (LPARAM)L"-");
WIN32GUI_LoadUIString(IDS_SCREEN_VSYNC, buffer, sizeof buffer / sizeof (TCHAR));
SendDlgItemMessage(hDlg, IDC_SCREENMODE_RTG2, CB_ADDSTRING, 0, (LPARAM)buffer);
- WIN32GUI_LoadUIString(IDS_SCREEN_VSYNC, buffer, sizeof buffer / sizeof (TCHAR));
- _tcscat (buffer, buffer2);
+ WIN32GUI_LoadUIString(IDS_SCREEN_VSYNC_AUTOSWITCH, buffer, sizeof buffer / sizeof (TCHAR));
SendDlgItemMessage(hDlg, IDC_SCREENMODE_RTG2, CB_ADDSTRING, 0, (LPARAM)buffer);
SendDlgItemMessage(hDlg, IDC_SCREENMODE_RTG, CB_SETCURSEL,
{6181E50C-5F32-42DC-BEF6-827AA8A5429D}.FullRelease|Win32.ActiveCfg = Release|Win32
{6181E50C-5F32-42DC-BEF6-827AA8A5429D}.FullRelease|x64.ActiveCfg = Release|Win32
{6181E50C-5F32-42DC-BEF6-827AA8A5429D}.Release|Win32.ActiveCfg = Release|Win32
- {6181E50C-5F32-42DC-BEF6-827AA8A5429D}.Release|Win32.Build.0 = Release|Win32
{6181E50C-5F32-42DC-BEF6-827AA8A5429D}.Release|x64.ActiveCfg = Release|Win32
{2C44DD04-F5D6-4CC3-B0D6-1F4E51A0D962}.Debug|Win32.ActiveCfg = Debug|Win32
{2C44DD04-F5D6-4CC3-B0D6-1F4E51A0D962}.Debug|x64.ActiveCfg = Debug|Win32
<TargetName Condition="'$(Configuration)|$(Platform)'=='FullRelease|x64'">winuae64</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">winuae64</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">winuae64</TargetName>
+ <IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include;C:\dev\include;$(IncludePath)</IncludePath>
+ <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x86;C:\dev\lib;C:\dev\WinDDK\7600.16385.1\lib\win7\i386;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
+- do not misdetect standard adf images that have small amount of garbage data appended at the end of file
+- forgotten experimental code removed. (b1, broke Sequential 18Frames! part)
+- ECS superhires sprite color fixed (Didn't handle "color scrambling")
+
Beta 6:
- added "statefile_name" configuration file entry, sets default statefile name (normally "default.uss")