I've tried ucsim_z80 from the current 32-bit and 64-bit Windows snapshots, and ucsim_z80 built locally for 64-bit Windows from the nativecrosstools branch. On all three ucsim_z80 hangs when I try to quit (after waiting 10 min, I just used Ctrl+C):
philipp@notebook6:/tmp/sdcc/bin$ wine ucsim_z80.exe -b
uCsim 0.8.15, Copyright (C) 1997 Daniel Drotos.
uCsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
0> q
^C
On the other hand, I have no such problem when using ucsim_z80 built for 64-bit GNU/Linux.
Can you try kill command instead of quit?
If it doesn't help, what was the exact command line to start ucsim?
Is it trunk, or next branch?
trunk. The exact command is the one given above.
For windows, I compile ucsim with mingw (x86_64-w64-mingw32-g++) on debian stable. On native windows, the result works, on win10 and win11 both. I installed wine on one of my linux box (debian testing actually). I can not use wine command for ucsim, I have to start with wineconsole, but quit command works, with or without -b.