Commit Graph

11377 Commits

Author SHA1 Message Date
Stefan
3047439174 Fixed typo 2025-01-01 18:26:11 +01:00
Colin Leroy-Mira
21345bd6da Fix headers 2025-01-01 14:32:07 +01:00
Colin Leroy-Mira
adfb42bfa6 Rewrite rewind in assembly 2025-01-01 14:32:07 +01:00
Colin Leroy-Mira
5531320b51 Fix test_fread return value on error 2025-01-01 14:32:07 +01:00
Colin Leroy-Mira
50cccc2c3a Add lseek to sim6502 paravirt 2025-01-01 14:32:03 +01:00
Sidney Cadot
dbbfcd1467 Merge branch 'cc65:master' into struct-assignment-bug2566 2025-01-01 10:56:57 +01:00
Sidney Cadot
823f2045cf Merge pull request #2586 from sidneycadot/fix-snapshot-build-issue_2
Fixing snapshot build issue.
2025-01-01 09:14:31 +01:00
sidney
66594d44a5 Forget to include sys/time.h which is needed for MingGW32 builds. 2025-01-01 08:58:51 +01:00
Sidney Cadot
0f203361bb Merge pull request #2585 from sidneycadot/fix-snapshot-build-issue
Fix snapshot build failure. Hopefully this quick fix will solve the snapshot build failure for now.
2025-01-01 08:42:54 +01:00
sidney
ef18d2cdd9 Added code path for for MinGW32 builds that happen during snapshot builds, but not during PR builds. 2025-01-01 08:28:17 +01:00
Sidney Cadot
380a946faa Merge branch 'cc65:master' into struct-assignment-bug2566 2024-12-31 23:02:08 +01:00
Sidney Cadot
b95e8b2ae0 Merge pull request #2577 from sidneycadot/feature-add-timer
sim65: add memory-mapped cycle/instruction/wallclock timer.
2024-12-31 23:00:22 +01:00
sidney
a8581d042f Improved description. 2024-12-31 18:32:11 +01:00
sidney
b2851be340 Fixed several typos. 2024-12-31 18:20:11 +01:00
sidney
915416dc66 Added example. 2024-12-31 18:11:35 +01:00
sidney
d8df73c36d Improved counter peripheral documentation, and moved its documentation to the end
of the page just before the copyright notice.
2024-12-31 17:54:58 +01:00
sidney
f95a60d5ad Updating sim65 docs. 2024-12-31 13:48:45 +01:00
sidney
e37a2b1559 Updated documentation with counter documentation. 2024-12-31 13:35:16 +01:00
Sidney Cadot
cd1e9f6729 Merge branch 'cc65:master' into struct-assignment-bug2566 2024-12-31 12:41:29 +01:00
Sidney Cadot
acb8eae032 Merge branch 'master' into feature-add-timer 2024-12-31 12:37:55 +01:00
Sidney Cadot
ef385c78cc Merge pull request #2580 from sidneycadot/fix-sim65-cosmetics
Fixed style issues in sim65 code.
2024-12-31 12:32:19 +01:00
sidney
511f4478de Fixed style issues. 2024-12-29 22:26:38 +01:00
sidney
7576f59e6a Visual Studio compiler demands an explicit cast from uint64_t to uint8_t. 2024-12-28 06:57:37 +01:00
sidney
29063021a8 Cosmetic improvements. 2024-12-28 06:49:23 +01:00
sidney
e785b88d42 Cleaning up the GetWallclockTime function. 2024-12-27 09:21:04 +01:00
sidney
58b8c14738 Split off the compiler-depended wallclock time function in a separate function. 2024-12-27 08:57:58 +01:00
sidney
c735a83a98 Enable timespec_get in MINGW64 code path to see if that works (7). 2024-12-27 02:19:36 +01:00
sidney
6ccde66c86 Enable timespec_get in MINGW64 code path to see if that works (6). 2024-12-27 02:06:15 +01:00
sidney
083c968885 Enable timespec_get in MINGW64 code path to see if that works (5). 2024-12-27 01:53:16 +01:00
sidney
a94b389965 Enable timespec_get in MINGW64 code path to see if that works (4). 2024-12-27 01:39:18 +01:00
sidney
2743644b02 Enable timespec_get in MINGW64 code path to see if that works (3). 2024-12-27 01:24:44 +01:00
sidney
74f12b4498 Enable timespec_get in MINGW64 code path to see if that works (2). 2024-12-27 01:12:04 +01:00
sidney
65d20eaab4 Enable timespec_get in MINGW64 code path to see if that works. 2024-12-27 00:55:13 +01:00
sidney
328006e500 Split out cases for MINGW32 and MINGW64 2024-12-27 00:42:29 +01:00
sidney
f3e8f36f00 Corrected typo. 2024-12-27 00:28:19 +01:00
sidney
db0b8c2d2c Check if we have it working now on the MinGW32 and 64 compilers. 2024-12-27 00:21:50 +01:00
sidney
ae3106af4a Windows version now uses timespec_get() as a substitute for clock_gettime(). 2024-12-27 00:04:06 +01:00
sidney
1f9e731fc9 Try if gettimeofday() will work in Windows. 2024-12-26 23:48:34 +01:00
sidney
8c40568566 Made wallclock time fail on Windows (due to lack of clock_gettime), succeed everywhere else. 2024-12-26 23:32:00 +01:00
sidney
a906402308 Re-enabling the clock_gettime() code path. 2024-12-26 23:15:41 +01:00
sidney
55019fb517 Merge branch 'feature-add-timer' of github.com:sidneycadot/cc65 into feature-add-timer 2024-12-26 22:57:24 +01:00
sidney
61bedbdd55 Added explicit cast to uint8_t, to make the Cisual Studio compiler happy. 2024-12-26 22:55:52 +01:00
sidney
9978600d28 Fixed erroneous ClInclude to ClCompile (thanks Matteo Pompili!) 2024-12-26 22:55:32 +01:00
Sidney Cadot
1096023e00 Update src/sim65.vcxproj
Co-authored-by: Matteo Pompili <6500688+matpompili@users.noreply.github.com>
2024-12-26 22:48:42 +01:00
Sidney Cadot
583c103f86 Merge branch 'cc65:master' into struct-assignment-bug2566 2024-12-26 15:08:08 +01:00
Sidney Cadot
af8a04dba0 Merge branch 'cc65:master' into feature-add-timer 2024-12-26 15:07:52 +01:00
Sidney Cadot
d1bf3ba8c7 Merge pull request #2576 from sidneycadot/fix-instruction-timing
sim65: Fix instruction timings for 6502 and 65C02.
2024-12-26 15:06:27 +01:00
Sidney Cadot
ca76db1ee4 peripherals.c now at the back of the dependency list. 2024-12-24 11:59:52 +01:00
Sidney Cadot
073606b858 Trying re-ordering of dependencies to get the Windows version to compile. 2024-12-24 11:30:34 +01:00
Sidney Cadot
d512954fe9 Added peripherals.c and peripherals.h to sim65.vcxproj 2024-12-24 11:23:05 +01:00