1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-19 09:28:25 +00:00
Commit Graph

3584 Commits

Author SHA1 Message Date
Bob Andrews a53524b9de Merge pull request #2558 from polluks/cpp
Clean-up preprocessor syntax
2024-12-15 23:02:35 +01:00
Colin Leroy-Mira 852b622c43 Apple2: Don't forcefully re-enable IRQ
Avoid enabling IRQ after disabling them in driver code, remember
previous state instead (in case user had them disabled already).
2024-12-09 19:01:00 +01:00
Stefan 0f6b427170 Update strftime.c 2024-12-09 18:37:02 +01:00
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
Colin Leroy-Mira 819a314508 Apple2: Rewrite opendir in assembly
58 bytes size gain
2024-11-09 18:17:30 +01:00
rumbledethumps e373aa2d3f Merge branch 'cc65:master' into master 2024-09-29 18:36:34 -07: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
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 e6ff8d9301 Merge pull request #2510 from polluks/better_waitvsync
Faster waitvsync
2024-09-08 16:09:23 +02:00
coronax 838c8b48b7 Set the clock id to CLOCK_REALTIME when calling clock_gettime.
Previously, time() allocated stack space for the clock id argument, but didn't actually set a value.
2024-09-07 23:27:54 -05:00
Colin Leroy-Mira 55d3a6ea39 Optimize stpcpy's size and speed 2024-09-07 21:24:53 +02:00
Stefan 461554e616 Update waitvsync.s 2024-09-07 19:17:00 +02:00
Stefan f5e434c6c8 Update waitvsync.s 2024-09-07 19:14:59 +02:00
Stefan be5a9f92ec oops 2024-09-07 18:51:20 +02:00
Stefan b355620939 Optimise waitvsync.s 2024-09-07 18:49:53 +02:00
Stefan 38f54875d0 Add files via upload 2024-09-07 17:06:45 +02:00
Colin Leroy-Mira 622793e343 Apple II: Move _exit out of STARTUP segment 2024-08-25 22:14:45 +02:00
Oliver Schmidt feb5026823 Added option to disable the force-to-uppercase behavior of the apple2 target. (#2474)
* Added option to disable the force-to-uppercase behavior of the apple2 target.

* Fixed dangling spaces.
2024-08-07 18:27:09 +02:00
Bob Andrews 8b3625847d Merge pull request #2466 from SvenMichaelKlose/reformatted_doc_contributing
Make document human-readable and split out name clashes section.
2024-07-28 15:56:58 +02:00
karri 2ea216a521 Merge branch 'fix-joystick' of ssh://github/karrika/cc65 into fix-joystick 2024-07-20 13:18:16 +03:00
karri 19899022af Add support for different joysticks 2024-07-20 13:14:22 +03:00
Sven Michael Klose d3e0f7b392 Make document human-readable and split out name clashes section.
In hope to reduce the pull request comment ping-pong.
2024-07-18 10:00:16 +02:00
Bob Andrews 03d824e13b Merge pull request #2464 from SvenMichaelKlose/stpcpy
Add stpcpy().
2024-07-16 01:47:11 +02:00
Sven Michael Klose aed94d2dae Fix code style.
Have type, function name and argument declaration on a single line.
2024-07-16 01:33:48 +02:00
Bob Andrews 1d1dd425c1 Merge pull request #2448 from Commodore64128/master
Commander X16 640x480 tgi loadable graphics driver
2024-07-12 12:40:43 +02:00
Sven Michael Klose 581b79e0b9 Add stpcpy().
Like strcpy() but returning pointer to ending zero of copied string.
2024-07-07 14:04:49 +02:00
Bob Andrews 0541b65aa4 Merge pull request #2434 from colinleroy/strcasestr
Implement strcasestr
2024-06-22 15:00:17 +02:00
xlar54 3d5fd0489e replaced constant 2024-06-19 23:52:25 -05:00
xlar54 3b494ad6f2 alignment fixes 2024-06-19 23:50:54 -05:00
xlar54 6098ac2788 fix for getdefpalette 2024-06-16 16:06:38 -05:00
xlar54 6dbf5f528a argh dangling spaces 2024-06-16 14:51:53 -05:00
xlar54 5caed9a15f fixed setpalette 2024-06-16 14:46:00 -05:00
xlar54 550f94b773 make setpalette return error 2024-06-13 23:13:05 -05:00
xlar54 60f9081ea4 some comment alignment 2024-06-13 21:40:51 -05:00
xlar54 0837f9c25f spaces 2024-06-13 21:29:37 -05:00
xlar54 b7f4c17460 dangling spaces 2024-06-13 21:23:50 -05:00
xlar54 d24a8d7e61 fixed newline 2024-06-13 21:09:02 -05:00
xlar54 91cdc0d705 removed unneeded code 2024-06-12 16:45:24 -05:00
xlar54 2c4aca43df fixed some text alignment 2024-06-12 16:40:23 -05:00
xlar54 3ea0ded65d initial 2024-06-12 16:23:30 -05:00
Colin Leroy-Mira a823d90082 Separated versions 2024-04-19 07:57:47 +02:00
Colin Leroy-Mira 71d82ab5d9 Use common naming scheme for tolowerdirect 2024-03-22 17:19:26 +01:00
Colin Leroy-Mira 0c681b42ef Factorize to save 20 bytes 2024-03-19 18:07:17 +01:00
Colin Leroy-Mira b5d259bafb Implement strcasestr as part of strstr 2024-03-18 19:52:04 +01:00
Colin Leroy-Mira 82165c1a77 Implement strcasestr 2024-03-18 19:51:50 +01:00
Bob Andrews a372ead4de Merge pull request #2334 from carlo-bramini/fix-sim65-1
[SIM65] Support undocumented opcodes for 6502
2024-03-10 00:37:18 +01:00