1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
Commit Graph

9312 Commits

Author SHA1 Message Date
mrdudz
f1e70517ec the forgotten minimal testprog 2022-07-21 03:13:10 +02:00
mrdudz
afc80949e3 build targettest progrs for all targets 2022-07-21 03:13:10 +02:00
mrdudz
6eca9a6aac fix Makefiles for all targets, dive into subdirs like in samples 2022-07-21 03:13:10 +02:00
polluks
33bb1a22ff Removed the colour purple
This commit may break compatibility.
2022-07-21 03:13:10 +02:00
polluks
df662f4b66 Added more purple (rain) 2022-07-21 03:13:10 +02:00
polluks
d6349e0f92 Save a few bytes 2022-07-21 03:13:10 +02:00
mrdudz
69346960b8 samples makefile already goes through the subdirs correctly 2022-07-21 03:13:10 +02:00
mrdudz
7a0d630d1b actually use all targets for the samples dir 2022-07-21 03:13:10 +02:00
mrdudz
f82208b009 fix for atari5200 2022-07-21 03:13:10 +02:00
mrdudz
1e7886b9c7 build samples for all targets 2022-07-21 03:13:10 +02:00
polluks
5f151b1316 Revert commits 2022-07-21 03:13:10 +02:00
mrdudz
09f2dc8d69 comment out all the non working targets 2022-07-21 03:13:10 +02:00
mrdudz
e602d6e9c3 add sym1 target 2022-07-21 03:13:10 +02:00
mrdudz
3fbfddc5fb fix pathes 2022-07-21 03:13:10 +02:00
mrdudz
53fed67bbc fix pathes 2022-07-21 03:13:10 +02:00
mrdudz
8867d55b83 and another 2022-07-21 03:13:10 +02:00
mrdudz
f2ac6796aa another try 2022-07-21 03:13:10 +02:00
mrdudz
e9e9d7aab8 iterate through all targettest builds 2022-07-21 03:13:10 +02:00
Sven Michael Klose
24a9886717 mostlyclean: Clean up. 2022-07-21 03:13:10 +02:00
Sven Michael Klose
a45a92a71f main(): No return value. 2022-07-21 03:13:10 +02:00
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