Colin Leroy-Mira
21030c22a0
Apple2: Rewrite rewinddir() in assembly
2024-11-17 11:03:58 +01:00
Colin Leroy-Mira
f663ee428d
Apple2: Rewrite readdir() and closedir() to assembly
2024-11-17 11:03:58 +01:00
Colin Leroy-Mira
700c01fa8b
Rename dir_file_count to dir_entry_count
2024-11-15 19:25:40 +01:00
Colin Leroy-Mira
40d9f3eed5
Apple2: Provide a way to get directory file count
...
The information is available in the directory key block.
Providing it to the user as soon as opendir() is done
can save them costly code.
2024-11-15 19:25:40 +01:00
Bob Andrews
36132a437b
Merge pull request #2478 from alexthissen/lynx-include
...
Lynx cc65 and ca65 include file improvements for Mikey and Suzy
2024-11-09 20:10:51 +01:00
Alex Thissen
a945bedefc
Replaced all C++ style comments from Lynx include files
2024-11-09 19:46:11 +01:00
Bob Andrews
e07cdd0a80
Merge pull request #2533 from colinleroy/apple2-rewrite-opendir-asm
...
Apple2: Rewrite opendir in assembly
2024-11-09 19:35:48 +01:00
Colin Leroy-Mira
819a314508
Apple2: Rewrite opendir in assembly
...
58 bytes size gain
2024-11-09 18:17:30 +01:00
Alex Thissen
4036912463
Fix to trailing whitespace
2024-11-09 12:06:37 +01:00
Alex Thissen
3dad6c76fa
Changed to C style comments
2024-11-09 12:01:22 +01:00
Alex Thissen
0c018919fe
Removed union and structures for Suzy math
2024-11-09 11:45:41 +01:00
Alex Thissen
1f1a004a05
Minor tweaks to Suzy struct types.
...
Named math union
2024-11-09 11:45:41 +01:00
Alex Thissen
489989f4c8
Changed 0x hex values to % binary values
2024-11-09 11:45:41 +01:00
Alex Thissen
336c4287c5
Missed some dangles spaces
2024-11-09 11:45:41 +01:00
Alex Thissen
abcb073a5a
Bit definitions for Suzy
2024-11-09 11:45:41 +01:00
Alex Thissen
7150fdf4b9
Enumerations and math structures for Suzy
2024-11-09 11:45:41 +01:00
Alex Thissen
3553975b02
Math improvements to Suzy include file
2024-11-09 11:45:41 +01:00
Alex Thissen
eb6003aaf7
Mikey enumeration values for cc65 include files and new bit definitions for ca65
2024-11-09 11:45:41 +01:00
Bob Andrews
394d3b1964
Merge pull request #2528 from lcvgit/cc65-checkversion-fix
...
checkversion.c fix missing shifts
2024-11-07 20:52:38 +01:00
lcvgit
c41eb007e4
Update checkversion.c
...
Add missing shifts.
2024-10-21 10:09:00 -05:00
lcvgit
02840d503c
Fix checkversion.c
...
Add missing shifts for checking version from __CC65__.
2024-10-21 10:00:48 -05:00
Bob Andrews
4dfbccfafd
Merge pull request #2522 from kugelfuhr/kugelfuhr/code-optimizations
...
Improve generated code for AND/EOR/ORA
2024-10-05 15:03:46 +02:00
Bob Andrews
270aa4417b
Merge pull request #2524 from kugelfuhr/kugelfuhr/fix-2523
...
Fix some issues with preprocessor expressions
2024-10-05 14:14:29 +02:00
Bob Andrews
8cd45417f9
Merge pull request #2525 from SvOlli/doc_customizing
...
updated customizing documentation
2024-10-05 14:13:05 +02:00
Bob Andrews
bb7f0c17b8
Merge pull request #2526 from picocomputer/master
...
Add to rp6502 target: clock(), xregn(), and RIA stack increase
2024-10-05 14:11:34 +02:00
rumbledethumps
e373aa2d3f
Merge branch 'cc65:master' into master
2024-09-29 18:36:34 -07:00
Sven Oliver Moll
41951a1345
updated customizing documentation
...
"weak = yes" is now "type = weak"
2024-09-26 19:33:26 +02:00
Kugel Fuhr
9c69aac097
Fix some issues with signedness in preprocessor expressions. Do also disallow
...
comma expressions since the aren't compliant and collide with macro invocations.
2024-09-17 11:45:46 +02:00
Bob Andrews
16258d812b
Merge pull request #2521 from kugelfuhr/kugelfuhr/fix-2520
...
Fix wrong evaluation of ternary expressions in the preprocessor
2024-09-15 19:24:22 +02:00
mrdudz
7dc09fdb05
add test related to bug#2515 / pr#2518
2024-09-15 19:22:16 +02:00
Kugel Fuhr
175ec65af1
Fix #2520 .
2024-09-14 21:12:19 +02:00
Bob Andrews
fe6afa621b
Merge pull request #2516 from kugelfuhr/kugelfuhr/fix-2514
...
Make lastline.sh ignore empty files
2024-09-14 01:41:16 +02:00
Bob Andrews
e7c735ed8c
Merge pull request #2513 from kugelfuhr/kugelfuhr/fix-2505
...
Remove casts from stdint.h
2024-09-14 01:38:46 +02:00
Kugel Fuhr
231ab4169b
Added a test.
2024-09-13 19:30:38 +02:00
Kugel Fuhr
f43cfd1ad0
Fix the check for CPU flags being used after an instruction that gets removed.
...
Previously only the next instruction was checked for usage of the CPU flags
but this fails for certain code.
2024-09-13 19:30:38 +02:00
Kugel Fuhr
6e18e0880a
Added/improved the optimizations:
...
* Added a new pass that optimizes PHA/PLA sequences
* Added a new pass that optimizes AND/EOR/ORA when an operand is known
* Added a run of an existing pass at later stages to remove code that
otherwise goes unchanged.
* Handle binary operations in OptUnusedLoads in addition to real loads.
2024-09-13 19:30:38 +02:00
Kugel Fuhr
001fa05d48
Move the test to the test/standard directory.
2024-09-13 19:18:31 +02:00
Kugel Fuhr
3f83cf81f3
Revert the change to .gitignore so git status doesn't report a clean status as
...
before.
2024-09-13 19:02:13 +02:00
Bob Andrews
7260c10062
Merge pull request #2518 from kugelfuhr/kugelfuhr/fix-2515
...
Fix minor preprocessor problems
2024-09-13 17:53:20 +02:00
Bob Andrews
34d8c3ef0a
Merge pull request #2517 from kugelfuhr/kugelfuhr/time-improvements
...
Improved/fixed the time() function
2024-09-13 17:47:14 +02:00
Bob Andrews
b5135b3ae0
Merge pull request #2502 from kugelfuhr/kugelfuhr/fix-2461
...
Fix issue #2461
2024-09-13 15:53:49 +02:00
Kugel Fuhr
efa2020d93
Improved/fixed the time() function:
...
- When the underlying clock_gettime function returned an error, the value
returned via *timep was wrong.
- Reduced code size by 7 bytes.
- Don't suck in ldeaxi.
2024-09-12 09:14:57 +02:00
Kugel Fuhr
36a810cdb2
Make lastline.sh ignore empty files. Fixes #2514 .
2024-09-12 09:10:37 +02:00
Kugel Fuhr
70ca6d4200
Fixed a standard noncompliance: In C99 and above there must be whitespace
...
between a name of an object like macro and its replacement list.
2024-09-11 19:21:19 +02:00
Kugel Fuhr
2f6f5f0da1
Fix problem with #line when there is no whitespace between line number and
...
filename.
y
2024-09-11 19:20:01 +02:00
Kugel Fuhr
6113dc5995
Removed casts from stdint.h. Added a test. Fixes #2505 .
2024-09-10 08:12:31 +02:00
Bob Andrews
aff8248341
add comment on function prototypes
2024-09-08 17:08:40 +02:00
Bob Andrews
31a0d5cc40
Merge pull request #2503 from colinleroy/master
...
Optimize stpcpy's size and speed
2024-09-08 16:17:14 +02:00
Bob Andrews
0be5f8f9e1
Merge pull request #2508 from polluks/waitvsync
...
[ATMOS] waitvsync
2024-09-08 16:14:51 +02:00
Bob Andrews
3a7f0e2d18
Merge pull request #2509 from polluks/extern
...
Remove explicit keyword
2024-09-08 16:13:55 +02:00