Commit Graph

3767 Commits

Author SHA1 Message Date
Bob Andrews
f54780cfbc Merge pull request #2844 from picocomputer/master
Support for RP6502 Version 0.14
2025-11-03 13:39:25 +01:00
Bob Andrews
083f89a9ca Merge pull request #2847 from colinleroy/zx02-faster-decompressor
Add a 9% faster ZX02 decompressor
2025-11-03 13:34:29 +01:00
Colin Leroy-Mira
9390e5c2ce Apple2: factorize MLI pathname setting (up to -22 bytes) 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
850accee3a Apple2: -8 bytes on rename 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
280f296952 Apple2: mutualize mli filename push (-0 to -18 bytes) 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
3b8531a422 Apple2: -5 bytes on open() 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
707e317bb8 Apple2: spare 10 bytes on I/O 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
25c1223f02 Apple2: spare 2 bytes on read 2025-11-02 21:24:59 +01:00
Oliver
759884ddd4 Allow to backspace with 'Delete' (and some optimization) 2025-11-02 20:52:50 +01:00
Colin Leroy-Mira
f3e43cc5c5 Add a 9% faster ZX02 decompressor 2025-10-26 18:53:26 +01:00
rumbledethumps
4cb40a4155 f_getcwd 2025-10-22 18:51:01 -07:00
rumbledethumps
47c7160476 getcwd 2025-10-21 20:58:50 -07:00
rumbledethumps
9b54be41da code page 2025-10-20 22:53:42 -07:00
rumbledethumps
be4eb9dc23 Merge branch 'cc65:master' into master 2025-10-16 16:21:09 -07:00
rumbledethumps
4b561acea5 all dir commands 2025-10-16 16:20:23 -07:00
rumbledethumps
815135f716 chdir and friends 2025-10-15 23:41:44 -07:00
rumbledethumps
f744f0b8a0 dir seeking 2025-10-15 14:12:12 -07:00
rumbledethumps
e6c138dc03 directory ops 2025-10-14 23:11:23 -07:00
rumbledethumps
a6763af95c fix xreg.s 2025-10-04 16:29:30 -07:00
Daniel Gimpelevich
6be0731247 Fix uncatalogued name clash with libsrc/runtime/leave.s
Even though these labels are not exported, they can show up in linker
maps and thus break o65 modules.
2025-09-29 18:22:53 -07:00
rumbledethumps
23b8bafbf6 no need to expose errno_opt 2025-09-27 23:27:02 -07:00
rumbledethumps
fdcb890bfd remove oserror from rp6502 2025-09-26 17:19:50 -07:00
rumbledethumps
b5ff68a952 Merge branch 'cc65:master' into master 2025-09-15 20:57:21 -07:00
Colin Leroy-Mira
357f64e4e3 Address Oliver's comments 2025-08-26 15:11:15 +02:00
Colin Leroy-Mira
86bcf32580 Apple2: Add file_set_type() and file_set_auxtype()
MLI wrapper to be able to update existing ProDOS
files' type and auxtype.
2025-08-26 15:11:15 +02:00
Bob Andrews
d06e0d9a16 Merge pull request #2812 from colinleroy/Opt-ldptr1
Optimize ldax?sp/sta/stx to ldptr1?sp
2025-07-27 00:22:21 +02:00
Colin Leroy-Mira
aa936b6d12 Fix copyright 2025-07-26 23:59:02 +02:00
Bob Andrews
b0e10e1f9a Merge pull request #2814 from jedeoric/master
telestrat target : lseek now returns position as it should
2025-07-26 00:18:38 +02:00
Bob Andrews
0a4af6df92 Merge pull request #2808 from kugelfuhr/kugelfuhr/flowanalysis
Simple flow analysis to find unreachable code
2025-07-26 00:10:21 +02:00
Bob Andrews
5809eaf037 Update libsrc/telestrat/lseek.s
Co-authored-by: kugelfuhr <98353208+kugelfuhr@users.noreply.github.com>
2025-07-26 00:01:07 +02:00
jedeoric
87ce45ba01 telestrat target : lseek now returns position as it should 2025-07-23 22:49:15 +02:00
Colin Leroy-Mira
8ba1cef550 Merge branch 'master' into Opt-ldptr1 2025-07-20 16:08:01 +02:00
Colin Leroy-Mira
17b8645360 Optimize ldax?sp/sta/stx to ldptr1?sp 2025-07-20 12:24:24 +02:00
jedeoric
329ec64a4b telestrat target : manage main return code 2025-07-18 00:23:44 +02:00
Kugel Fuhr
93b94d314a Implement a simple flow analysis. Tracks control flow of all statements with
the exception of "switch". Outputs warnings for unreachable code. Tracks also
"return" but doesn't currently make use of this information.
2025-07-17 15:39:45 +02:00
mrdudz
e973483cc8 DbgIsBreak() must use __cdecl__ 2025-07-11 21:55:58 +02:00
Colin Leroy-Mira
6604c5ce92 Make strndup smaller, safer, faster
First implementation was doing:
- strdup (without checking result!)
- strlen
- terminate
- realloc

New one does:
- malloc to shortest +1
- strncpy
- terminate
2025-07-05 12:11:40 +02:00
Bob Andrews
315d6c4ae3 Merge pull request #2768 from mrdudz/fix2764
disable the basic interrupt before main(), fixes #2764
2025-07-04 17:04:12 +02:00
Bob Andrews
b24560c083 Merge pull request #2759 from mrdudz/test1972
Fixed #1970 (Missing definition for ST on cbm610 with getdevice) (was #1972)
2025-07-04 17:03:47 +02:00
Bob Andrews
fd973cd544 Merge pull request #2769 from colinleroy/add-strndup
Add strndup
2025-07-04 17:01:28 +02:00
Kugel Fuhr
947eecb65c Add comments to the cputs() and cputc() sources about the former relying on
the latter not to clobber ptr1.
2025-07-04 11:20:35 +02:00
Colin Leroy-Mira
90e1ac374b Add strndup
char* __fastcall__ strndup (const char* S, size_t maxlen);
2025-07-03 23:46:28 +02:00
mrdudz
a19e00d304 disable the basic interrupt before main(), fixes #2764 2025-07-03 21:49:31 +02:00
Kugel Fuhr
59e7158512 Make the CPU_xxx constants from cpu.mac internal to the assembler and replace
cpu.mac by a file that just emits a warning when used.
2025-07-01 08:29:42 +02:00
Kugel Fuhr
c72126e68f Changed most of the library sources to use .CAP instead of .CPU. 2025-07-01 08:04:00 +02:00
mrdudz
81da8b2107 fix getdevice 2025-06-30 20:34:59 +02:00
mrdudz
d91f4f0b82 adjust c65/mega65 functions 2025-06-30 19:10:52 +02:00
mrdudz
26cf19642c initial patch from #1972 2025-06-30 18:39:33 +02:00
rumbledethumps
aa042f57d8 Merge branch 'cc65:master' into master 2025-06-29 20:16:27 -07:00
rumbledethumps
77e325507e settable codepage() on RP6502 2025-06-29 20:16:07 -07:00