]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/log
francis/winuae.git
4 weeks agouae/string: guard _strtoui64 compatibility macro
Stefan Reinauer [Thu, 21 May 2026 00:32:52 +0000 (17:32 -0700)]
uae/string: guard _strtoui64 compatibility macro

Some host C libraries or compatibility headers can provide
_strtoui64 before this header defines the TCHAR-style aliases.

Only provide the fallback when it is missing, and map it to
strtoull so the unsigned conversion matches the name.

4 weeks agonative2amiga: pass signal state as pipe pointer
Stefan Reinauer [Sun, 31 May 2026 02:55:32 +0000 (19:55 -0700)]
native2amiga: pass signal state as pipe pointer

write_comm_pipe_pvoid stores a pointer-sized value. Cast the
processed-state token through void * at the call site so the helper
receives the type it expects.

4 weeks agoscsi: keep AIC DMA helpers static
Stefan Reinauer [Sun, 31 May 2026 02:55:27 +0000 (19:55 -0700)]
scsi: keep AIC DMA helpers static

The AIC DMA helpers are only used in scsi.cpp. Keep the forward
declarations static so they match the definitions and avoid exporting
private symbols.

4 weeks agokbmcu: include cstring for memset
Stefan Reinauer [Sun, 31 May 2026 02:54:39 +0000 (19:54 -0700)]
kbmcu: include cstring for memset

co8048.cpp uses memset directly. Include <cstring> so the file builds
with compilers that do not expose it through another header.

4 weeks agosoftfloat: drop stale float_raise declaration
Stefan Reinauer [Sun, 31 May 2026 07:32:59 +0000 (00:32 -0700)]
softfloat: drop stale float_raise declaration

float_raise() is provided as a static inline helper by
softfloat-specialize.h. Remove the separate external prototype from
softfloat.h so the header does not advertise a non-existent external
definition.

4 weeks agosoftfloat: copy mod/rem quotient through uint64_t
Stefan Reinauer [Sun, 31 May 2026 07:32:30 +0000 (00:32 -0700)]
softfloat: copy mod/rem quotient through uint64_t

floatx80_mod() and floatx80_rem() take a uint64_t quotient pointer,
while the FPU wrapper stores the quotient in uae_u64. Copy through a
temporary so the call does not depend on those typedefs being the same
type on every host.

4 weeks agosoftfloat: use lowercase macro header name
Stefan Reinauer [Sun, 31 May 2026 07:28:39 +0000 (00:28 -0700)]
softfloat: use lowercase macro header name

The source already includes the macro helper as softfloat-macros.h.
Rename the tracked file to match that spelling so case-sensitive file
systems do not depend on the old all-caps name.

5 weeks ago6100b7
Toni Wilen [Sat, 30 May 2026 17:40:24 +0000 (20:40 +0300)]
6100b7

5 weeks agoCheck also vertical and horizontal changes
Toni Wilen [Sat, 30 May 2026 17:28:19 +0000 (20:28 +0300)]
Check also vertical and horizontal changes

5 weeks agoDo not recalculate vertical changes if only single field has different parameters.
Toni Wilen [Sat, 30 May 2026 17:21:54 +0000 (20:21 +0300)]
Do not recalculate vertical changes if only single field has different parameters.

5 weeks agoMerge pull request #428 from midwan/fix/jit-x86-64-fpu-fldcw-crash
Toni Wilen [Sat, 30 May 2026 17:13:57 +0000 (20:13 +0300)]
Merge pull request #428 from midwan/fix/jit-x86-64-fpu-fldcw-crash

jit/x86-64: fix FPU FLDCW codegen crashes (NULL deref + RAX clobber)

5 weeks agojit/x86-64: fix FPU FLDCW codegen crashes on 64-bit hosts
Dimitris Panokostas [Sat, 30 May 2026 16:49:28 +0000 (18:49 +0200)]
jit/x86-64: fix FPU FLDCW codegen crashes on 64-bit hosts

The x86-64 JIT could crash when compiling FPU rounding-mode changes
(FLDCW with an indexed operand) via two defects in codegen_x86.cpp:

1. x86_64_rex() dereferenced its 'b' (REX.B) pointer unconditionally and
   ignored 'r'/'x'. raw_fldcw_m_indexed() passes its index register in the
   'x' (REX.X) slot with b == NULL, so the function read through a NULL
   pointer; an index register in r8-r15 would also have been mis-encoded.
   x86_64_rex() now null-guards each pointer and emits REX.R/X/B (and W).

2. raw_fldcw_m_indexed() loaded the 64-bit base of the x87 control-word
   table into RAX. RAX is allocatable (not in always_used[]) and may hold a
   live m68k value mid-block, and a LOWFUNC cannot declare a register
   clobber, so the allocator's view of RAX was silently corrupted; a later
   access through that register (e.g. MOVEM.L ...,-(An)) then dereferenced
   the table pointer as an m68k address and faulted. The base is now
   materialized in a push/pop-preserved scratch register chosen to differ
   from the index register.

Only x86-64 is affected; the 32-bit path uses a direct FLDCW [reg] encoding
and ARM64 uses different codegen.

5 weeks agocputester update
Toni Wilen [Fri, 29 May 2026 16:00:38 +0000 (19:00 +0300)]
cputester update

5 weeks agoRemoved ARM64EC
Toni Wilen [Fri, 29 May 2026 15:58:48 +0000 (18:58 +0300)]
Removed ARM64EC

5 weeks ago68020/030 AND/EOR/OR #x,CCR + T1 trace: trace exception is generated.
Toni Wilen [Thu, 28 May 2026 19:49:21 +0000 (22:49 +0300)]
68020/030 AND/EOR/OR #x,CCR + T1 trace: trace exception is generated.

5 weeks agoGenerate fastest possible CPU mode 020/030 LINK“special case.
Toni Wilen [Thu, 28 May 2026 18:34:20 +0000 (21:34 +0300)]
Generate fastest possible CPU mode 020/030 LINKĀ“special case.

5 weeks agoFast CPU mode approximate serial port transmit throttling to selected baud rate
Toni Wilen [Sun, 24 May 2026 18:17:21 +0000 (21:17 +0300)]
Fast CPU mode approximate serial port transmit throttling to selected baud rate

6 weeks agoSpecialmonitors wip
Toni Wilen [Fri, 22 May 2026 15:23:22 +0000 (18:23 +0300)]
Specialmonitors wip

6 weeks agoRemove interlace artifacts wip
Toni Wilen [Fri, 22 May 2026 15:22:40 +0000 (18:22 +0300)]
Remove interlace artifacts wip

6 weeks agoRTG non-squarepixels, not yet implemented
Toni Wilen [Fri, 22 May 2026 15:19:32 +0000 (18:19 +0300)]
RTG non-squarepixels, not yet implemented

6 weeks agoPAL/NTSC scaling cleanup
Toni Wilen [Fri, 22 May 2026 15:16:48 +0000 (18:16 +0300)]
PAL/NTSC scaling cleanup

6 weeks agoMerge pull request #427 from midwan/jit-generator-output-parity
Toni Wilen [Thu, 21 May 2026 19:42:20 +0000 (22:42 +0300)]
Merge pull request #427 from midwan/jit-generator-output-parity

Generate current JIT wrapper output

6 weeks agoGenerate current JIT wrapper output
Dimitris Panokostas [Thu, 21 May 2026 19:04:51 +0000 (21:04 +0200)]
Generate current JIT wrapper output

6 weeks agoMerge pull request #426 from midwan/arm64-jit-build-fixes
Toni Wilen [Thu, 21 May 2026 16:04:51 +0000 (19:04 +0300)]
Merge pull request #426 from midwan/arm64-jit-build-fixes

Fix Windows ARM64 JIT startup

6 weeks agoMerge pull request #425 from midwan/jit-high-natmem-exception-handler
Toni Wilen [Thu, 21 May 2026 16:01:31 +0000 (19:01 +0300)]
Merge pull request #425 from midwan/jit-high-natmem-exception-handler

Fix x64 JIT high natmem exception handling

6 weeks agoFix Windows ARM64 JIT startup
Dimitris Panokostas [Thu, 21 May 2026 13:06:23 +0000 (15:06 +0200)]
Fix Windows ARM64 JIT startup

Enable the ARM64 JIT build path, keep natmem above 4GB, reserve the full direct-memory window, commit read-only natmem gaps, and install a Windows ARM64 vectored exception handler for JIT access faults.

Add a GitHub Actions Windows ARM64 binary job that installs the ARM64 MSVC tools and builds winuae_msvc.vcxproj directly without ARM64-building host generator projects.

Validated with ARM64 Release and FullRelease MSBuild builds, plus VMware Windows ARM64 runtime logs showing the handler catching ramsey_low probes instead of crashing.

6 weeks agoFix x64 JIT high natmem exception handling
Dimitris Panokostas [Thu, 21 May 2026 07:38:49 +0000 (09:38 +0200)]
Fix x64 JIT high natmem exception handling

6 weeks agoMerge pull request #423 from midwan/jit-pcp-truncation
Toni Wilen [Wed, 20 May 2026 16:25:41 +0000 (19:25 +0300)]
Merge pull request #423 from midwan/jit-pcp-truncation

Fix x64 JIT pointer-width codegen

6 weeks agoMerge pull request #424 from midwan/fix-build-warning-cleanups
Toni Wilen [Wed, 20 May 2026 13:37:23 +0000 (16:37 +0300)]
Merge pull request #424 from midwan/fix-build-warning-cleanups

Fix build warning cleanups

6 weeks agoAdd shared JIT warning cleanups
Dimitris Panokostas [Wed, 20 May 2026 10:24:54 +0000 (12:24 +0200)]
Add shared JIT warning cleanups

6 weeks agoFix build warning cleanups
Dimitris Panokostas [Wed, 20 May 2026 10:13:52 +0000 (12:13 +0200)]
Fix build warning cleanups

6 weeks agoInclude ModRM byte in x64 RIP range check
Dimitris Panokostas [Tue, 19 May 2026 21:56:20 +0000 (23:56 +0200)]
Include ModRM byte in x64 RIP range check

6 weeks agoTighten x64 JIT address checks
Dimitris Panokostas [Tue, 19 May 2026 21:48:00 +0000 (23:48 +0200)]
Tighten x64 JIT address checks

6 weeks agoFix x64 JIT pointer-width codegen
Dimitris Panokostas [Tue, 19 May 2026 21:00:04 +0000 (23:00 +0200)]
Fix x64 JIT pointer-width codegen

6 weeks agoMerge pull request #422 from midwan/jit-msvc-followups
Toni Wilen [Tue, 19 May 2026 20:20:27 +0000 (23:20 +0300)]
Merge pull request #422 from midwan/jit-msvc-followups

Fix x64 FPU control word setup

6 weeks agoFix x64 FPU control word setup
Dimitris Panokostas [Tue, 19 May 2026 17:59:55 +0000 (19:59 +0200)]
Fix x64 FPU control word setup

6 weeks agoMerge pull request #421 from midwan/jit-amiberry-fixes
Toni Wilen [Tue, 19 May 2026 16:05:40 +0000 (19:05 +0300)]
Merge pull request #421 from midwan/jit-amiberry-fixes

Port Amiberry ARM64 and x86-64 JIT fixes

6 weeks agoPort Amiberry ARM64 and x86-64 JIT fixes
Dimitris Panokostas [Mon, 18 May 2026 22:14:35 +0000 (00:14 +0200)]
Port Amiberry ARM64 and x86-64 JIT fixes

7 weeks agoCCK difference can be negative, debug checks
Toni Wilen [Sat, 16 May 2026 09:09:16 +0000 (12:09 +0300)]
CCK difference can be negative, debug checks

7 weeks agoDebugger info text address off by one
Toni Wilen [Sat, 16 May 2026 08:57:57 +0000 (11:57 +0300)]
Debugger info text address off by one

7 weeks agoChange CCK counter to 64-bit
Toni Wilen [Sat, 16 May 2026 08:57:25 +0000 (11:57 +0300)]
Change CCK counter to 64-bit

7 weeks agoRemove interlace artifacts wip
Toni Wilen [Sat, 16 May 2026 08:55:18 +0000 (11:55 +0300)]
Remove interlace artifacts wip

7 weeks agoPAL/NTSC pixel aspect ratio updates
Toni Wilen [Thu, 14 May 2026 07:35:05 +0000 (10:35 +0300)]
PAL/NTSC pixel aspect ratio updates

7 weeks agoRemoved unused function
Toni Wilen [Thu, 14 May 2026 07:30:55 +0000 (10:30 +0300)]
Removed unused function

7 weeks agoAdded scanline offset and rotation to filter presets
Toni Wilen [Wed, 13 May 2026 18:49:48 +0000 (21:49 +0300)]
Added scanline offset and rotation to filter presets

7 weeks agoAdded 3 static ID RTG modes
Toni Wilen [Wed, 13 May 2026 18:48:14 +0000 (21:48 +0300)]
Added 3 static ID RTG modes

7 weeks ago#ifdef WITH_SPECIALMONITORS
Toni Wilen [Mon, 11 May 2026 14:06:01 +0000 (17:06 +0300)]
#ifdef WITH_SPECIALMONITORS

7 weeks agoSerial port CRLF translation option added to GUI
Toni Wilen [Mon, 11 May 2026 14:05:06 +0000 (17:05 +0300)]
Serial port CRLF translation option added to GUI

7 weeks agoSerial port fix
Toni Wilen [Mon, 11 May 2026 14:02:09 +0000 (17:02 +0300)]
Serial port fix

7 weeks agoPortability updates
Toni Wilen [Mon, 11 May 2026 13:59:29 +0000 (16:59 +0300)]
Portability updates

8 weeks agoUpdate RTG variables even if current mode is not yet RTG (ModeInfo_PixelClock needs...
Toni Wilen [Thu, 7 May 2026 16:40:03 +0000 (19:40 +0300)]
Update RTG variables even if current mode is not yet RTG (ModeInfo_PixelClock needs gfx_refreshrate)

8 weeks agoDebugger updates
Toni Wilen [Thu, 7 May 2026 14:22:13 +0000 (17:22 +0300)]
Debugger updates

8 weeks agoRemoved obsolete variables
Toni Wilen [Tue, 5 May 2026 15:39:58 +0000 (18:39 +0300)]
Removed obsolete variables

2 months agoPortAudio ARM64 support
Toni Wilen [Sun, 3 May 2026 16:24:51 +0000 (19:24 +0300)]
PortAudio ARM64 support

2 months ago6100b6
Toni Wilen [Sat, 2 May 2026 14:20:41 +0000 (17:20 +0300)]
6100b6

2 months agoarm64 symbol file
Toni Wilen [Sat, 2 May 2026 14:20:21 +0000 (17:20 +0300)]
arm64 symbol file

2 months agoOPENAL fix
Toni Wilen [Sat, 2 May 2026 14:12:11 +0000 (17:12 +0300)]
OPENAL fix

2 months agoUse invalues if outvalues are not set.
Toni Wilen [Sat, 2 May 2026 14:07:18 +0000 (17:07 +0300)]
Use invalues if outvalues are not set.

2 months agoARM64 support updates
Toni Wilen [Sat, 2 May 2026 11:24:24 +0000 (14:24 +0300)]
ARM64 support updates

2 months ago6100b5
Toni Wilen [Thu, 30 Apr 2026 15:57:37 +0000 (18:57 +0300)]
6100b5

2 months agoImplemented missing A1200/A4000 mainboard non-nasty blitter busy bug workaround.
Toni Wilen [Thu, 30 Apr 2026 15:53:40 +0000 (18:53 +0300)]
Implemented missing A1200/A4000 mainboard non-nasty blitter busy bug workaround.

2 months agoDebugger updates
Toni Wilen [Thu, 30 Apr 2026 14:59:49 +0000 (17:59 +0300)]
Debugger updates

2 months agoFix missing last lines
Toni Wilen [Wed, 29 Apr 2026 16:40:56 +0000 (19:40 +0300)]
Fix missing last lines

2 months agoAddress sanitizer fixes
Toni Wilen [Wed, 29 Apr 2026 16:39:37 +0000 (19:39 +0300)]
Address sanitizer fixes

2 months ago6100b4
Toni Wilen [Sun, 26 Apr 2026 16:50:41 +0000 (19:50 +0300)]
6100b4

2 months ago68020 CE mode blitter non-nasty change
Toni Wilen [Sun, 26 Apr 2026 16:50:25 +0000 (19:50 +0300)]
68020 CE mode blitter non-nasty change

2 months agoOld statefile compatibility update
Toni Wilen [Sun, 26 Apr 2026 11:53:43 +0000 (14:53 +0300)]
Old statefile compatibility update

2 months agoAllow immediate blitter in cycle exact modes
Toni Wilen [Sun, 26 Apr 2026 11:52:02 +0000 (14:52 +0300)]
Allow immediate blitter in cycle exact modes

2 months agoDebugger updates
Toni Wilen [Sun, 26 Apr 2026 11:49:39 +0000 (14:49 +0300)]
Debugger updates

2 months agoMerge pull request #408 from segrax/master
Toni Wilen [Fri, 24 Apr 2026 14:00:34 +0000 (17:00 +0300)]
Merge pull request #408 from segrax/master

Keyboard on the Velvet is attached to CIAB
(sorry, forgot, thanks for reminding :))

2 months agosp debugger command update
Toni Wilen [Thu, 23 Apr 2026 16:15:30 +0000 (19:15 +0300)]
sp debugger command update

2 months agoAlways clear pending events and set cycle counter when emulation restarts or statefil...
Toni Wilen [Thu, 23 Apr 2026 16:14:42 +0000 (19:14 +0300)]
Always clear pending events and set cycle counter when emulation restarts or statefile is loaded.

2 months agoMake sure table is always updated
Toni Wilen [Thu, 23 Apr 2026 16:13:13 +0000 (19:13 +0300)]
Make sure table is always updated

2 months agoFix display vertical position changing after reset
Toni Wilen [Thu, 23 Apr 2026 16:10:20 +0000 (19:10 +0300)]
Fix display vertical position changing after reset

2 months ago6100b3
Toni Wilen [Mon, 20 Apr 2026 16:01:47 +0000 (19:01 +0300)]
6100b3

2 months agoOCS Denise NTSC overscan/overscan+ fix
Toni Wilen [Mon, 20 Apr 2026 15:56:34 +0000 (18:56 +0300)]
OCS Denise NTSC overscan/overscan+ fix

2 months ago68020/030 CE interrupt delay
Toni Wilen [Mon, 20 Apr 2026 15:56:02 +0000 (18:56 +0300)]
68020/030 CE interrupt delay

2 months ago6100b2
Toni Wilen [Sun, 19 Apr 2026 16:18:33 +0000 (19:18 +0300)]
6100b2

2 months ago68020 CE interrupt change
Toni Wilen [Sun, 19 Apr 2026 16:15:12 +0000 (19:15 +0300)]
68020 CE interrupt change

2 months agoIncreease disassembler temp buffer size
Toni Wilen [Sat, 18 Apr 2026 16:27:09 +0000 (19:27 +0300)]
Increease disassembler temp buffer size

2 months agoImprove keyboard reset logic
Toni Wilen [Sat, 18 Apr 2026 15:33:21 +0000 (18:33 +0300)]
Improve keyboard reset logic

2 months agoSmall debugger updates
Toni Wilen [Sat, 18 Apr 2026 14:52:57 +0000 (17:52 +0300)]
Small debugger updates

2 months agoFix valid programmed mode check
Toni Wilen [Sat, 18 Apr 2026 14:52:24 +0000 (17:52 +0300)]
Fix valid programmed mode check

2 months agoDo not emulate hp=1 special case in fast CPU modes.
Toni Wilen [Thu, 16 Apr 2026 15:52:16 +0000 (18:52 +0300)]
Do not emulate  hp=1 special case in fast CPU modes.

2 months agoFix statefile always-on-hdiw state
Toni Wilen [Thu, 16 Apr 2026 15:48:04 +0000 (18:48 +0300)]
Fix statefile always-on-hdiw state

2 months agoBlanking/no signal/mode change improvements
Toni Wilen [Mon, 13 Apr 2026 17:46:25 +0000 (20:46 +0300)]
Blanking/no signal/mode change improvements

2 months agoDo not allow clock sync until uae boot rom interrupt handler is installed
Toni Wilen [Mon, 13 Apr 2026 17:42:31 +0000 (20:42 +0300)]
Do not allow clock sync until uae boot rom interrupt handler is installed

2 months agoDebugger updates
Toni Wilen [Mon, 13 Apr 2026 17:41:30 +0000 (20:41 +0300)]
Debugger updates

2 months ago6100b1
Toni Wilen [Sat, 11 Apr 2026 14:10:44 +0000 (17:10 +0300)]
6100b1

2 months agoFix warnings
Toni Wilen [Sat, 11 Apr 2026 13:46:33 +0000 (16:46 +0300)]
Fix warnings

2 months agoDebugger updates (FPU register support, help update and more)
Toni Wilen [Sat, 11 Apr 2026 13:46:05 +0000 (16:46 +0300)]
Debugger updates (FPU register support, help update and more)

2 months agoRemoved too early resetfulllinestate() call. Mode change check will call it later...
Toni Wilen [Fri, 10 Apr 2026 16:52:32 +0000 (19:52 +0300)]
Removed too early resetfulllinestate() call. Mode change check will call it later when it is safe to do.

2 months agoStatefile 6.0.x workaround -> 6.0.0-6.0.3
Toni Wilen [Fri, 10 Apr 2026 16:51:07 +0000 (19:51 +0300)]
Statefile 6.0.x workaround -> 6.0.0-6.0.3

2 months agoREZERO UNIT should stop CD audio play
Toni Wilen [Tue, 7 Apr 2026 18:52:09 +0000 (21:52 +0300)]
REZERO UNIT should stop CD audio play

2 months agoRemoved unneeded # character
Toni Wilen [Tue, 7 Apr 2026 17:03:35 +0000 (20:03 +0300)]
Removed unneeded # character

2 months agoMore mouse sync updates
Toni Wilen [Tue, 7 Apr 2026 16:27:33 +0000 (19:27 +0300)]
More mouse sync updates

2 months agoFiltered low resolution update
Toni Wilen [Tue, 7 Apr 2026 16:20:12 +0000 (19:20 +0300)]
Filtered low resolution update

2 months agoAdded missing filtered low resolution support to generic drawing routine
Toni Wilen [Tue, 7 Apr 2026 14:47:06 +0000 (17:47 +0300)]
Added missing filtered low resolution support to generic drawing routine

2 months agoUpdate also 64-bit sprite data registers when not in 64-bit sprite mode
Toni Wilen [Tue, 7 Apr 2026 14:42:28 +0000 (17:42 +0300)]
Update also 64-bit sprite data registers when not in 64-bit sprite mode

2 months agoDebugger calculator floating point support and toggle options for floating point...
Toni Wilen [Mon, 6 Apr 2026 18:59:52 +0000 (21:59 +0300)]
Debugger calculator floating point support and toggle options for floating point format output, end address updates.