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

9346 Commits

Author SHA1 Message Date
polluks
a26778744a Added tail call optimization 2022-02-02 23:02:01 +01:00
Oliver Schmidt
e3ca14116d
Disable double hires on exit.
A program being run afterwards might not even know about the existence of double hires. So it's our task to turn double hires off on exit.
2022-01-31 19:32:44 +01:00
Greg King
7118c9236b Fixed the cart directory build code to handle even simple programs.
Carts can be built containing programs that don't link some segments.
2022-01-31 08:14:26 -05:00
Greg King
112e216e53 Removed an obsolete command-line option from the cc65 compiler. 2022-01-30 22:10:06 -05:00
Greg King
98f862b8fb Fixed heaptest.c compiler warnings in a way that's better than PR #1621.
This fix adds "unsigned" to one line instead of removing it from several lines.
2022-01-30 20:13:04 -05:00
mrdudz
25363ae00a the forgotten minimal testprog 2022-01-30 23:26:07 +01:00
mrdudz
c50f5c9467 build targettest progrs for all targets 2022-01-30 19:51:05 +01:00
mrdudz
d8366132c7 fix Makefiles for all targets, dive into subdirs like in samples 2022-01-30 19:51:05 +01:00
Bob Andrews
b00cb182d9
Merge pull request #1637 from polluks2/save_a_few_bytes
Save a few bytes
2022-01-30 13:21:41 +01:00
mrdudz
ccb77735d2 samples makefile already goes through the subdirs correctly 2022-01-30 13:18:51 +01:00
mrdudz
a0fc95bb15 actually use all targets for the samples dir 2022-01-30 12:49:33 +01:00
mrdudz
333c31e4ce fix for atari5200 2022-01-30 12:49:02 +01:00
mrdudz
6e5a988f85 build samples for all targets 2022-01-30 12:36:15 +01:00
Bob Andrews
82f55a930a
Merge pull request #1618 from polluks2/master
Fixed many typos
2022-01-30 12:21:07 +01:00
polluks
e327071615 Save a few bytes 2022-01-30 03:26:32 +01:00
polluks
e66a54ac14 Revert commits 2022-01-30 03:15:28 +01:00
polluks2
97c83de37b
Merge branch 'cc65:master' into master 2022-01-30 02:40:27 +01:00
mrdudz
11bcaba99b comment out all the non working targets 2022-01-30 02:29:11 +01:00
mrdudz
908173b663 add sym1 target 2022-01-30 02:14:01 +01:00
mrdudz
91cf347f31 fix pathes 2022-01-30 02:13:54 +01:00
mrdudz
273721e05e fix pathes 2022-01-30 02:07:50 +01:00
mrdudz
43fdc8781d and another 2022-01-30 01:54:06 +01:00
mrdudz
90cc44b410 another try 2022-01-30 01:46:47 +01:00
mrdudz
d1ae098190 iterate through all targettest builds 2022-01-30 01:23:10 +01:00
Bob Andrews
9da9b979f2
Merge pull request #1621 from SvenMichaelKlose/pixel_targettest_fixes
Fix VIC build, remove compiler warnings, add LST files for VICE emulator targets.
2022-01-30 00:10:30 +01:00
Bob Andrews
ad1ebb697f
Merge pull request #1626 from mdsteele/paravirt
Fix Pop() implementation in src/sim65/paravirt.c (fixes #1625)
2022-01-29 22:33:32 +01:00
Bob Andrews
6332f090d9
Merge pull request #1620 from SvenMichaelKlose/pixel_strnlen
Add standard C library function strnlen().
2022-01-29 21:32:27 +01:00
Bob Andrews
4579a7e181
Merge pull request #1629 from DLehenbauer/pet_asm_inc
asminc/pet.inc: Add PIA1 & PIA2 addresses
2022-01-29 21:21:58 +01:00
Christian Groessler
c3e01062ea put Atari 20-column note to where it belongs... 2022-01-24 20:13:49 +01:00
Christian Groessler
fc12b19659
Merge pull request #1633 from sprive/atari8-docs
document special case on sub 40-col modes
2022-01-24 20:00:13 +01:00
Scott Prive
91920f807e document special case on sub 40-col modes 2022-01-23 18:53:14 -05:00
polluks2
3aeaa36a58
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-01-22 01:04:08 +01:00
Daniel Lehenbauer
12f9a2f1f8 asminc/pet.inc: Add PIA1 & PIA2 2022-01-17 08:22:15 -08:00
Matthew D. Steele
22a3d55e40 Add space after function names 2022-01-08 16:39:30 -05:00
Matthew D. Steele
1f6bc6240f Move local variable declaration to top of block 2022-01-08 16:29:42 -05:00
Matthew D. Steele
92bfbeb8ab Adjust Pop() sequencing in paravirt.c 2022-01-08 16:24:40 -05:00
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
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
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