1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
Commit Graph

9616 Commits

Author SHA1 Message Date
Matthew D. Steele
cf1bc4fad4 Fix Pop() implementation in src/sim65/paravirt.c (fixes #1625)
The Pop() function was not handling stack pointer wrap around correctly.

Also, change the simulated RTS implementation in ParaVirtHooks() to
explicitly sequence the two Pop() calls in the correct order.
2022-01-07 09:56:46 -05:00
acqn
4f4487cb03 Added supports for long bit-fields. 2022-01-04 18:23:04 +08:00
acqn
6beb090193 Fixed anonymous bit-fields declared with typedef'ed type names. 2022-01-03 23:54:14 +08:00
acqn
38511843e5 Fixed crash with labels in non-function/block scopes. 2022-01-03 23:50:48 +08:00
acqn
21858b52e7 Separated data initializer stuff from declaration stuff. 2022-01-03 13:10:32 +08:00
polluks2
06725c166e
Merge branch 'cc65:master' into master 2021-12-31 17:21:20 +01:00
polluks
1bcf93d010 Merge branch 'master' of http://github.com/polluks2/cc65 2021-12-30 00:42:29 +01:00
polluks
4920ffa23a Save a few bytes 2021-12-30 00:04:57 +01:00
Sven Michael Klose
683739d6fc mostlyclean: Clean up. 2021-12-25 21:25:52 +01:00
Sven Michael Klose
05b8af07aa main(): No return value. 2021-12-25 21:21:01 +01:00
Sven Michael Klose
3bd72b9659 main(): Re-introduce return value. Compiler rejects 'void'. 2021-12-25 20:15:09 +01:00
Sven Michael Klose
0707cdbe2c Remove command line arguments and return value from main(). 2021-12-25 20:12:45 +01:00
Sven Michael Klose
f4702cbc40 Make label file for c610 platform. 2021-12-25 20:11:22 +01:00
Sven Michael Klose
412a30987a Remove -t option for linker only. 2021-12-25 20:10:53 +01:00
Sven Michael Klose
34dd29556f Use -t option alongside -C. 2021-12-25 20:09:18 +01:00
Sven Michael Klose
de158c0847 Use suffix '.lbl' instead of '.lst'. 2021-12-25 20:07:34 +01:00
Sven Michael Klose
d1cbb1deeb More strict printf() format string. 2021-12-25 20:04:10 +01:00
Sven Michael Klose
666f266e90 Move strnlen() to non-ANSI section. 2021-12-25 14:21:47 +01:00
Sven Michael Klose
65564a158c Remove most compiler warnings. 2021-12-25 09:57:18 +01:00
Sven Michael Klose
bdd18d958b cbmdir-test for VICs needs memory expansion. 2021-12-25 09:45:15 +01:00
Sven Michael Klose
58dd28f053 Make VICE monitor command lists for Commodore platforms. 2021-12-25 09:40:32 +01:00
Sven Michael Klose
ba93ab07bc Do not compile petscii test for unsupported platforms.
Only C64 is supported.
2021-12-25 09:19:37 +01:00
Sven Michael Klose
87fe2f5d0e Add test of strnlen(). 2021-12-25 09:13:43 +01:00
Sven Michael Klose
c9ccc82b9f strnlen(): Add comment with POSIX standard. 2021-12-25 09:12:13 +01:00
Sven Michael Klose
0b84465276 Fix strnlen(). 2021-12-25 09:11:58 +01:00
Sven Michael Klose
921e549172 Add standard C library function strnlen(). 2021-12-24 23:44:57 +01:00
Greg King
6ac4aa4e20 Made cbm_open() be more efficient.
The fastcall argument doesn't need to be put on a stack.  SETNAM can be called before SETLFS.
2021-12-24 00:10:04 -05:00
polluks2
7d6b6ef986
Delete c-cpp.yml 2021-12-22 09:50:38 +01:00
polluks2
cff0f71ea8 Merge branch 'master' of github.com:polluks2/cc65 2021-12-21 17:54:32 +01:00
polluks2
7ffbf7aa75
Merge branch 'cc65:master' into master 2021-12-21 17:43:07 +01:00
polluks2
c32846dc6e Merge branch 'master' of http://github.com/cc65/cc65 2021-12-20 13:49:20 +01:00
Greg King
884f72637b Put the alignment decrement code back into posix_memalign().
Without that code, the function returns a very broken pointer.
2021-12-19 21:08:46 -05:00
Oliver Schmidt
2235830e31 Don't rely on (actually changed) unspecified compiler behavior. 2021-12-19 16:55:32 +01:00
polluks2
1cdd4676b2 Fixed many typos 2021-12-14 13:13:16 +01:00
polluks2
89909cd4ed
Merge branch 'cc65:master' into master 2021-12-14 09:19:17 +01:00
Bob Andrews
6a76d6d905
Merge pull request #1611 from polluks2/patch-3
Fixed many typos
2021-12-13 20:05:31 +01:00
Bob Andrews
37d0c4066c
Merge pull request #1610 from polluks2/patch-2
Fixed typo
2021-12-13 18:49:40 +01:00
polluks2
1d3318c247
Fixed many typos 2021-12-13 17:20:56 +01:00
polluks2
9e9b3dbaca
Fixed typo 2021-12-13 17:14:57 +01:00
Greg King
230f4d3807 Install system packages before checking out the repo. 2021-12-12 23:54:17 -05:00
Greg King
325ff9667e Used (size_t), instead of (long) where converting between pointers and integers.
(long) still is 32 bits on 64-bit Windows!
2021-12-12 19:40:43 -05:00
Greg King
366701e066 Added a 64-bit Windows cross-compile.
That compiler catches pointer-integer width mismatches that other compilers ignore.
2021-12-12 19:02:37 -05:00
Greg King
33cf8608b7 Removed unneeded package names.
sshpass isn't needed because the Windows packages are put on Github.
linuxdoc-tools is a dependency of linuxdoc-tools-info.
The binutils package is a dependency of the gcc package.
2021-12-12 19:02:37 -05:00
Greg King
2feadf865c Changed a big script into separate named steps.
It makes the job log easier to navigate.

Also, Pull Requests don't need a Zip file.
2021-12-12 19:02:37 -05:00
Oliver Schmidt
b35a9d97a6 Updated URL and improved consistency. 2021-12-12 23:59:22 +01:00
Bob Andrews
332742b688
Merge branch 'master' into master 2021-12-11 22:35:50 +01:00
dqh-github
bd94879be2
Re-added build status badge
(Github Actions is now doing a snapshot build and test for updates to the master branch)
2021-12-11 15:28:29 +11:00
dqh-github
308b5b68e9
Merge pull request #1607 from dqh-github/snapshot-builds
Snapshot build on push master.
2021-12-11 15:13:48 +11:00
David Hogan
a39c23f796 Snapshot build on push master.
For now, the snapshot zip can be obtained from the latest successful snapshot build at:
https://github.com/cc65/cc65/actions/workflows/snapshot-on-push-master.yml

TODO: Update docs at https://github.com/cc65/doc
TODO: Publish snapshot zip at https://github.com/cc65/cc65.github.io
2021-12-11 14:10:19 +11:00
dqh-github
f09f0dd913
Merge pull request #1605 from dqh-github/master
Automated Github pull request build and test
2021-12-11 13:02:05 +11:00