10391 Commits
Author SHA1 Message Date
Nicolas Pomarède 14cb7bcceb Fix ARM64 JIT cputester regressions (not used in Hatari) (from WinUAE 6.1.0 beta7+ 2026/06/01) 2026-06-09 12:32:52 +02:00
Nicolas Pomarède 0b9e3fd0c2 jit/arm64: fix instruction flag handling (not used in Hatari) (from WinUAE 6.1.0 beta7+ 2026/05/31) 2026-06-09 12:31:08 +02:00
Nicolas Pomarède 603aa60303 jit/x86-64: fix FPU FLDCW codegen crashes (NULL deref + RAX clobber) (not used in Hatari) (from WinUAE 6.1.0 beta7 2026/05/30) 2026-06-09 12:29:05 +02:00
Nicolas Pomarède 3d179f14c4 68020/030 AND/EOR/OR #x,CCR + T1 trace: trace exception is generated (from WinUAE 6.1.0 beta6+ 2026/05/28) 2026-06-09 12:27:34 +02:00
Nicolas Pomarède daf0e02f83 Generate fastest possible CPU mode 020/030 LINK' special case (from WinUAE 6.1.0 beta6+ 2026/05/28) 2026-06-09 12:24:56 +02:00
Nicolas Pomarède 80d65be794 Generate current JIT wrapper output (not used in Hatari) (from WinUAE 6.1.0 beta6+ 2026/05/21) 2026-06-09 12:21:26 +02:00
Nicolas Pomarède b21b1547d9 Fix Windows ARM64 JIT startup (not used in Hatari) (from WinUAE 6.1.0 beta6+ 2026/05/21) 2026-06-09 12:19:50 +02:00
Nicolas Pomarède b6f0ca44bd Fix x64 JIT high natmem exception handling (not used in Hatari) (from WinUAE 6.1.0 beta6+ 2026/05/21)) 2026-06-07 23:28:14 +02:00
Nicolas Pomarède daf19c6176 Fix x64 JIT pointer-width codegen (not used in Hatari) (from WinUAE 6.1.0 beta6+ 2026/05/19) 2026-06-07 23:26:06 +02:00
Nicolas Pomarède d4026d9c2f Fix JIT build warning cleanups (not used in Hatari) (from WinUAE 6.1.0 beta6+ 2026/05/19) 2026-06-07 23:23:59 +02:00
Nicolas Pomarède ccd582af1b Fix x64 FPU control word setup (from WinUAE 6.1.0 beta6+ 2026/05/19) 2026-06-07 23:19:00 +02:00
Nicolas Pomarède 80729679a8 Port Amiberry ARM64 and x86-64 JIT fixes (not used in Hatari) (from WinUAE 6.1.0 beta6+ 2026/05/19) 2026-06-07 23:15:05 +02:00
Nicolas Pomarède f0ebac5296 CCK difference can be negative, debug checks (from WinUAE 6.1.0 beta6+ 2026/05/16) 2026-06-07 22:43:41 +02:00
Nicolas Pomarède 18e0384773 Change CCK counter to 64-bit (from WinUAE 6.1.0 beta6+ 2026/05/16) 2026-06-07 22:37:52 +02:00
Nicolas Pomarède 5a73811f7d Use our functions "le_swap16" and "le_swap32" instead of "le16toh" and "le32toh" (not available for mingw) 2026-05-25 23:18:33 +02:00
Nicolas Pomarède 560550b65b Use "const char *" instead of "const uint8_t *" in Str_FindInMem (for strlen()) 2026-05-25 23:01:53 +02:00
Nicolas Pomarède c84630e97d Use our functions "le_swap16" and "le_swap32" instead of "le16toh" and "le32toh" (not available for mingw) 2026-05-25 22:49:28 +02:00
Nicolas Pomarède c3c6f7ea7f Add explicit "fall through" in switch/case 2026-05-25 22:46:31 +02:00
Nicolas Pomarède 2810f8c9fb Add support for Kryoflux Stream raw disk images, part 3 (save/restore in memory state) 2026-05-25 22:32:53 +02:00
Nicolas Pomarède 0d8dc19b99 Add support for Kryoflux Stream raw disk images, part 2 (plug code in main floppy/fdc parts) 2026-05-25 22:32:53 +02:00
Nicolas Pomarède 6ac8029b32 Add support for Kryoflux Stream raw disk images, part 1 (load files, decode index and flux transition to MFM) 2026-05-25 22:32:53 +02:00
Nicolas Pomarède b8f1e96957 Remove code to handle kryoflux raw stream and move it to its own floppies/kfs.c 2026-05-25 22:32:53 +02:00
Nicolas Pomarède 74b1daea3d Add Str_FindInMem() to search for a string into a memory region 2026-05-25 22:32:53 +02:00
Thomas Huth 32f4baba03 Don't check for NULL pointer before calling free()
free() can deal with NULL pointers, so there is no need to check for
NULL before calling it.
2026-05-22 13:51:21 +02:00
Thomas Huth 1cd5bac0e7 Replace strncat() with Str_Copy()
gemdos.c uses strncat() as a replacement for the non-portable strlcpy()
in a couple of places. While the usage looks correct here, strncat() is
generally quite a bad function (since the length parameter does not
directly specify the size of the destination buffer, and you always have
to remember to take the additional NUL character into account in your
calculations), so we should rather completely ban it from the Hatari
sources. Let's use our own Str_Copy() function instead, that way the code
is much easier to understand.
2026-05-14 08:23:13 +02:00
Eero Tamminen 85161c8d35 Improve VDI mode support, mainly for Falcon
* Fix EmuTOS crashes with larger (8-bit) Falcon VDI modes. Largest
  screen size supported by EmuTOS is smaller than largest Hatari VDI
  screen size, so phystop needs to be lowered enough from RAM end also
  for EmuTOS => Use same logic for TT & Falcon.

* As VDI mode works now to some extent with TOS v4, allow its use,
  but warn about it on every boot.

* Use non-standard memtop / phystop gap only when VDI mode is enabled.

* Drop TOS v3 memory detection warning, as VDI mode is just one of
  the reasons why it might get skipped at boot.

* Update documentation.
2026-05-13 23:56:00 +03:00
Eero Tamminen ad8da90fa9 docs: update EmuTOS compatibility 2026-05-08 22:05:48 +03:00
Thomas Huth 50353ae3c1 Update the macOS github action jobs to SDL3 2026-05-01 08:07:50 +02:00
Nicolas Pomarède 1821d2cc38 Update CPU core version 2026-04-27 22:23:45 +02:00
Nicolas Pomarède 8eec59110b Debugger updates (from WinUAE 6.1.0 beta4 2026/04/26) 2026-04-27 22:22:07 +02:00
Nicolas Pomarède 9c75b425ea Always clear pending events and set cycle counter when emulation restarts (not used in Hatari) (from WinUAE 6.1.0 beta3 2026/04/23) 2026-04-27 22:18:36 +02:00
Nicolas Pomarède f4bf12097d 68020/030 CE interrupt delay (from WinUAE 6.1.0 beta3 2026/04/20) 2026-04-27 22:12:51 +02:00
Nicolas Pomarède e128aba8ee 68020 CE interrupt change (from WinUAE 6.1.0 beta1 2026/04/18) 2026-04-27 22:10:54 +02:00
Nicolas Pomarède 944721e5a7 Increase disassembler temp buffer size (from WinUAE 6.1.0 beta1 2026/04/18) 2026-04-27 22:06:18 +02:00
Nicolas Pomarède 54b286567b Debugger updates in m68k_dumpcache() (from WinUAE 6.1.0 beta1 2026/04/13) 2026-04-27 22:02:34 +02:00
Thomas Huth 9594e78b4e Add a FreeBSD and OpenBSD compilation test on Github
Using the vmactions on Github, it is also possible to test
compilation on various BSD flavors on Github. The .cirrus.yml
file is now not required anymore, so we can remove it.
2026-04-26 16:17:42 +02:00
Thomas Huth 8577a1ab67 Fix some typos 2026-04-26 14:36:36 +02:00
Thomas Huth 9316cd2916 Rewrite the Cygwin build job as Github action
Cirrus-CI is about to shut down on June 1st 2026. Thus turn the Cygwin
build job into a github action so we can continue testing.
2026-04-26 13:26:46 +02:00
Thomas Huth e7b9b00e05 Make sure that parameter of tolower() / toupper() cannot be negative
"char" can be signed, which could cause trouble with some implementations
of tolower() / toupper() (e.g. the ones from Cygwin cause a compiler
warning here).
2026-04-26 09:19:28 +02:00
Nicolas Pomarède bfae1b42a1 FDC PLL : ignore very short flux < 100 ns
Real WD1772 ignores very short values, but threshold is not known yet,
so for now we ignore flux < 100 ns (which is likely to be noise, dirty floppy or write splice)
2026-04-23 22:46:12 +02:00
Thomas Huth fed2c543d6 Fix parameter type mismatch in vdi2inf()
The "mode" parameter of vdi2inf() is not of type "res_value_t", but
it's rather used for normal integer values. The Visual Studio compiler
complains about this, so fix the parameter type to silence the warnings
here.
2026-04-19 18:21:56 +02:00
Thomas Huth 50c83a8b1a Replace \e with \x1b
The Visual Studio compiler does not know '\e' and emits a warning for
these strings. Use the alternative \x1b instead which is more portable.
2026-04-19 18:18:56 +02:00
Thomas Huth 277a8738b2 Rewrite the Visual-Studio build job as Github action
Cirrus-CI is about to shut down on June 1st 2026. Thus turn the Visual
Studio build job into a github action so we can continue testing.
2026-04-19 17:59:37 +02:00
Thomas Huth ca50c11165 Fix copy-n-paste error in the last section title 2026-04-19 17:59:37 +02:00
Eero Tamminen 5e416b9a13 docs: add music disks as separate category to emutos compatibility
And fix how "tSCc" is capitalized.
2026-04-19 12:47:16 +03:00
Eero Tamminen 836e319601 docs: update release notes
And move build changes higher, as they're quite relevant and
kind of hidden if listed only after all emulator fix / features.
2026-04-19 02:00:38 +03:00
Eero Tamminen ca0ee75c5b m68k-linux: update to v7.0 (latest) kernel 2026-04-19 01:49:08 +03:00
Thomas Huth e0ca095083 Rewrite the MSYS2 build as Github action
Cirrus-CI is about to shut down on June 1st 2026. Thus turn the MSYS2
build job into a github action so we can continue testing with MSYS2.
2026-04-18 20:20:12 +02:00
Thomas Huth 29aeb4e77e Rewrite macOS builds as Github actions
Cirrus-CI is about to shut down on June 1st 2026. Thus turn the macOS
build jobs into github actions so we can continue testing on macOS.
2026-04-18 20:20:12 +02:00
Eero Tamminen 62db9c4fe6 docs: add compatibility info for few new games & demos
Plus some other text improvements / typo fixes.
2026-04-18 16:44:41 +03:00