1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-16 18:08:04 +00:00
Commit Graph

9228 Commits

Author SHA1 Message Date
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
Oliver Schmidt
8b0de8a931
Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
Gerhard Gruber
a7e6f9840c VIC-20 and C128 cfg added for ASM programming 2021-11-23 21:51:57 +01:00
gorlik
1918f0ac9b adding missing VIC register definition to c64.inc 2021-11-23 21:34:49 +01:00
Gabriele Gorla
6637e28831 saves 2 bytes in the standard c64 joystick driver
remove redundant code and add jmp to the common sequence
two more bytes could be saved at the expense of longer sequence with interrupts disabled by moving sei/cli
2021-11-23 21:34:49 +01:00
Oliver Schmidt
f796c26091
Added hint on clock().
clock() isn't available on the Apple II - and never will be.
2021-11-21 22:56:02 +01:00
mrdudz
4f87c7cc64 move samples that only work for a specific target into subdirs named the same as the target 2021-10-23 01:18:17 +02:00
Christian Groessler
c3d7a90084 targettest/atari/ostype.c: remove warnings 2021-10-05 19:19:54 +02:00
Christian Groessler
f6636635fa targettest/atari/multi-xex.cfg: fix comments 2021-10-05 19:17:16 +02:00
Oliver Schmidt
c48e821c4b
Don 2021-09-29 14:48:09 +02:00
Oliver Schmidt
674a543909
Parallelize build
Travis CI defaults to 2 core environments.
2021-09-29 12:33:51 +02:00
cc65 Owner
2338e70709
travis-ci.org -> travis-ci.com 2021-09-29 10:37:44 +02:00
mrdudz
94445cd16f remove conio.pce from the default target and print a message instead 2021-09-28 22:37:34 +02:00
mrdudz
cf1c0b6774 move hints on how to run binaries from the target specific pages to the intro page, where they should be. 2021-09-28 22:18:49 +02:00
mrdudz
86f1965202 added test related to issue #1552 fixed in pr #1571 2021-09-28 18:55:23 +02:00