3563 Commits

Author SHA1 Message Date
kanjitalk755
2d388f7682 Allocate RAM, ROM, and scratch memory in a continuous area 2025-12-28 08:45:07 +09:00
kanjitalk755
6864575dc2 Merge pull request #290 from xp5-org/freebsd-timer-thread-fix
fix for "error: ordered comparison of pointer with integer zero" in timer.cpp
2025-11-05 09:16:47 +09:00
xp5-org
ea383a839f Update timer.cpp
revised if timer_thread nonzero,  to if timer_thread_active
2025-11-04 15:26:10 -08:00
xp5-org
aa657765d1 fix for #if PRECISE_TIMING check
fix for https://github.com/kanjitalk755/macemu/issues/286
2025-11-03 10:16:53 -08:00
kanjitalk755
ac32732762 Fix #289 2025-10-27 12:01:09 +09:00
kanjitalk755
ea684bafb1 Adjust window layer 2025-10-26 10:08:12 +09:00
kanjitalk755
44bf57e791 Merge pull request #285 from kyselejsyrecek/fix-sdl-compilation
Fix for SDL compilation on Unix-like systems
2025-09-10 20:32:44 +09:00
Lukáš Chmela
e11867c7a3 Fix for SDL compilation on Unix-like systems
Fixes regression from 9a7751f1a2.
2025-09-10 08:49:42 +02:00
kanjitalk755
2d022df811 Fix for MINGW64 2025-08-03 09:08:07 +09:00
kanjitalk755
94a9f6cc22 Acquire memory in bulk 2025-07-19 18:06:15 +09:00
kanjitalk755
030599cf8d Merge pull request #280 from MatthewCroughan/module_init
sheep_net.c: use module_init instead of init_module for newer kernel …
2025-07-16 10:17:40 +09:00
matthewcroughan
750d3a823c sheep_net.c: use module_init instead of init_module for newer kernel compatibility
The build will fail on newer kernels due to function name deprecation
2025-07-15 23:14:00 +01:00
kanjitalk755
55ac71ba2c Update README.md 2025-06-08 23:09:03 +09:00
kanjitalk755
fa1033ee81 Add my_sdl.h to the links 2025-06-05 17:33:52 +09:00
kanjitalk755
d35a828746 Merge pull request #275 from dougg3/fix-windows-deallocation
Fix ROM deallocation in Windows
2025-05-16 18:40:01 +09:00
Doug Brown
43ce078a99 Fix ROM deallocation in Windows
When I fixed the Windows port to ensure ROM is always above RAM in
Windows in commit 0980a87e3f, I forgot to update the corresponding code
that calls vm_release(). There is no need to try to release ROMBaseHost
because the vm_release() for RAMBaseHost takes care of it.

Update the vm_release code to do the exact same thing the Unix port
does.
2025-05-15 22:31:16 -07:00
kanjitalk755
3953bbda5c Merge pull request #274 from Tevo45/posix-sh-function-definition
Unix/configure: use POSIX-compatible function definition syntax
2025-05-15 14:46:33 +09:00
Estevan Castilho
b4b2c1d1ee Unix/configure: use POSIX-compatible function definition syntax 2025-05-14 23:54:22 +00:00
kanjitalk755
fe96b90f2c Merge pull request #273 from schinkelg/master
Prefer the use of Glib functions over the strcpy family.
2025-04-17 10:28:17 +09:00
Ger Schinkel
762995fe46 Proper memory management. 2025-04-16 13:37:18 +02:00
Ger Schinkel
91ca72a370 Prefer the use of Glib functions over the strcpy family. 2025-04-15 17:54:38 +02:00
kanjitalk755
4f8974d313 Merge pull request #272 from emendelson/master
Add xpram path/name pref for Windows
2025-04-14 09:38:36 +09:00
emendelson
58c72634fc Add xpram path/name pref for Windows 2025-04-13 09:07:55 -04:00
kanjitalk755
2cb960990b BasiliskII(macOS): prefs item xpram 2025-04-11 20:50:22 +09:00
kanjitalk755
12e51383d2 switching SDL header path 2025-04-10 19:35:48 +09:00
kanjitalk755
f0bbcb0c85 Fix thread leak 2025-03-30 10:16:22 +09:00
kanjitalk755
a1c7fd67a7 Merge pull request #267 from rakslice/ss_win_cmdlineopts_fix
SheepShaver Windows: fix command-line args processing
2025-02-17 05:45:04 +09:00
rakslice
c669f71706 SheepShaver Windows: fix command-line args processing 2025-02-16 00:06:58 -08:00
kanjitalk755
583d890b93 Merge pull request #266 from dsaul/fix-compiler-error
Fix security related compiler error.
2025-02-13 14:26:17 +09:00
Dan
bc1e51f80e additional cases handled (untested) 2025-02-12 19:10:02 -06:00
Dan
76c1c997ac Revert "Fix security related compiler error."
This reverts commit b932545c7b.
2025-02-12 19:03:22 -06:00
Dan Saul
b932545c7b Fix security related compiler error.
error: format not a string literal and no format arguments []

add fix to other locations as well, untested
2025-02-12 19:00:14 -06:00
Dan Saul
8699662c4d Fix security related compiler error.
error: format not a string literal and no format arguments []
2025-02-12 09:19:03 -06:00
kanjitalk755
6ddff7bc02 Merge pull request #262 from rakslice/win_extfs_touching_creation_times
extfs file time fixes
2025-01-31 10:03:17 +09:00
kanjitalk755
6c30a1a0b8 Merge pull request #261 from rakslice/sdl3_include_fix
Fix for SDL3 include autoconf
2025-01-31 10:02:50 +09:00
rakslice
067e89ce6d Corresponding change to 622f0f4dd9 for SheepShaver and for the Windows versions as well 2025-01-30 15:24:57 -08:00
rakslice
ca8e10b2df debug cleanup 2025-01-30 03:44:50 -08:00
rakslice
70507f89da MacTimeToTime(): ignore offset adjusted mktime() result if it didn't work 2025-01-30 03:44:25 -08:00
rakslice
d66b125513 Apply the day and year offset prefs in MacTimeToTime() 2025-01-30 03:32:03 -08:00
rakslice
197068b6f8 Corresponding macos_util.cpp change for SheepShaver 2025-01-30 02:22:38 -08:00
rakslice
f43d2193f1 Windows: do not update file timestamp with invalid value 2025-01-30 02:12:41 -08:00
rakslice
d80663fe37 debug msg if mktime() failed 2025-01-30 02:12:41 -08:00
rakslice
c6474010b5 MacTimeToTime() workaround if mktime() doesn't support <1970 like Win32 2025-01-30 02:12:31 -08:00
rakslice
0655501e55 Actually implement MacTimeToTime() used by extfs 2025-01-30 00:22:35 -08:00
rakslice
308c407e03 Windows: the posix_emu version of utime() should not clobber the file creation time with an access time 2025-01-29 20:36:12 -08:00
rakslice
622f0f4dd9 Fix for SDL3 include that does not work without bash or whatever else has this += operator 2025-01-29 14:02:18 -08:00
kanjitalk755
a267492d79 Merge pull request #259 from rakslice/more_pre_cpp11_changes
More pre-c++11 compatibility changes
2025-01-25 11:29:03 +09:00
rakslice
42a87bfe84 Fix more initializations in bincue and cdrom 2025-01-24 14:38:25 -08:00
rakslice
39f59dab3b With a constructor present those brace initializations don't even compile on older Xcode clang 2025-01-24 13:05:34 -08:00
kanjitalk755
bb2ad33ba4 Merge pull request #257 from rakslice/windows_exit_on_prefs_exit
Windows: when prefs window is closed, do not run the emulator
2025-01-23 14:25:19 +09:00