1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00
Commit Graph

9242 Commits

Author SHA1 Message Date
Sven Michael Klose
a60ac67783 main(): Re-introduce return value. Compiler rejects 'void'. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
d23c83dd1e Remove command line arguments and return value from main(). 2022-07-21 03:13:10 +02:00
Sven Michael Klose
d5591bc184 Make label file for c610 platform. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
6aabee0564 Remove -t option for linker only. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
a5ca1928f5 Use -t option alongside -C. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
582c2f65e3 Use suffix '.lbl' instead of '.lst'. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
0ac1b8d6b1 Remove most compiler warnings. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
20f7320bae cbmdir-test for VICs needs memory expansion. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
4bc9a9d9cc Make VICE monitor command lists for Commodore platforms. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
b40c76a632 Do not compile petscii test for unsupported platforms.
Only C64 is supported.
2022-07-21 03:13:10 +02:00
Matthew D. Steele
815e30c47f Add space after function names 2022-07-21 03:13:10 +02:00
Matthew D. Steele
db02a89b5d Move local variable declaration to top of block 2022-07-21 03:13:10 +02:00
Matthew D. Steele
ceca1c496d Adjust Pop() sequencing in paravirt.c 2022-07-21 03:13:10 +02:00
Matthew D. Steele
623e951e33 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-07-21 03:13:10 +02:00
Sven Michael Klose
c2608599aa More strict printf() format string. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
d29ec4c800 Move strnlen() to non-ANSI section. 2022-07-21 03:13:09 +02:00
Sven Michael Klose
34e03fd9ec Add test of strnlen(). 2022-07-21 03:13:09 +02:00
Sven Michael Klose
2c27c075a9 strnlen(): Add comment with POSIX standard. 2022-07-21 03:13:09 +02:00
Sven Michael Klose
3ee9b35080 Fix strnlen(). 2022-07-21 03:13:09 +02:00
Sven Michael Klose
88fdaeb490 Add standard C library function strnlen(). 2022-07-21 03:13:09 +02:00
Daniel Lehenbauer
be594912eb asminc/pet.inc: Add PIA1 & PIA2 2022-07-21 03:13:09 +02:00
Christian Groessler
ded575c477 put Atari 20-column note to where it belongs... 2022-07-21 03:13:09 +02:00
Scott Prive
caa74b325d document special case on sub 40-col modes 2022-07-21 03:13:09 +02:00
polluks2
a270a56a71 Wrong platform
There was no conio for Lynx
````
../bin/ld65   -o mandelbrot -t lynx -m mandelbrot.map mandelbrot.o lynx.lib
mandelbrot.s:516: Error: Unresolved external '_clrscr'
conio/vcprintf.s:85: Error: Unresolved external '_cputc'
conio/cputs.s:25: Error: Unresolved external '_cputc'
conio/cputs.s:15: Error: Unresolved external 'gotoxy'
ld65: Error: 3 unresolved external(s) found - cannot create output file
make: *** [mandelbrot] Error 1
````
2022-07-21 03:13:09 +02:00
Greg King
baa582ac0b Made cbm_open() be more efficient.
The fastcall argument doesn't need to be put on a stack.  SETNAM can be called before SETLFS.
2022-07-21 03:13:09 +02:00
polluks2
5b97a74dbc Delete c-cpp.yml 2022-07-21 03:13:09 +02:00
Greg King
e1ef1325ec Put the alignment decrement code back into posix_memalign().
Without that code, the function returns a very broken pointer.
2022-07-21 03:13:09 +02:00
Oliver Schmidt
152241f26c Don't rely on (actually changed) unspecified compiler behavior. 2022-07-21 03:13:09 +02:00
polluks2
a08f9e51a0 Fixed many typos 2022-07-21 03:13:09 +02:00
polluks2
7a0a0edb89 Fixed many typos 2022-07-21 03:13:09 +02:00
polluks2
5afc349199 Fixed typo 2022-07-21 03:13:09 +02:00
Greg King
dd27a66a7b Install system packages before checking out the repo. 2022-07-21 03:13:09 +02:00
Greg King
81930053dd Used (size_t), instead of (long) where converting between pointers and integers.
(long) still is 32 bits on 64-bit Windows!
2022-07-21 03:13:09 +02:00
Greg King
c143dd1f41 Added a 64-bit Windows cross-compile.
That compiler catches pointer-integer width mismatches that other compilers ignore.
2022-07-21 03:13:09 +02:00
Greg King
32253a4e51 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.
2022-07-21 03:13:09 +02:00
Greg King
67fc9a4d36 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.
2022-07-21 03:13:09 +02:00
Oliver Schmidt
919645f283 Updated URL and improved consistency. 2022-07-21 03:13:09 +02:00
polluks
687c8052ae Save a few bytes 2022-07-21 03:13:09 +02:00
polluks2
6c1c260e7b Create c-cpp.yml 2022-07-21 03:13:09 +02:00
polluks2
27bfc8e35f Update README.md
Commander X16
2022-07-21 03:13:07 +02:00
Bob Andrews
c0c89a81e4
Merge branch 'master' into rremd 2021-12-11 22:36:12 +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
dqh-github
ad009f0ff6
Merge pull request #1 from dqh-github/gha-test
Automated Github pull request build and test
2021-12-11 12:50:43 +11:00
David Hogan
4eaf68d414 Automated Github pull request build and test 2021-12-11 12:43:59 +11:00
Wayne Parham
1d36f255ec Added Sym-1 link to documentation doc/index.sgml 2021-11-24 22:26:43 +01:00
Oliver Schmidt
cb0dca0ca7
No more Travis-CI ! 2021-11-24 14:17:18 +01:00
Oliver Schmidt
37e7e65f43
Merge pull request #1500 from WayneParham/master
Synertek Systems Sym-1 files
2021-11-23 22:59:48 +01:00