1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-22 12:29:06 +00:00
Commit Graph

10881 Commits

Author SHA1 Message Date
Bob Andrews
043590c971
Merge pull request #2182 from colinleroy/add-ntohs
Add ntohs/htons and ntohl/htonl
2023-09-08 18:47:09 +02:00
Bob Andrews
caf8186565
Merge pull request #2166 from colinleroy/rfc-serial-optimisation
Possible serial driver optimisations
2023-09-08 18:42:39 +02:00
Bob Andrews
537aa665cf
Merge pull request #2006 from bbbradsmith/ca65_jmp_abs_wrap_error
jmp (abs) wrap warning promoted to an error, suppressed on 65C02/etc
2023-09-08 18:26:55 +02:00
Colin Leroy-Mira
9e5620f127 Fix coding-style on header 2023-09-07 23:06:51 +02:00
Colin Leroy-Mira
9669710cc3 Fix usage of __OPT_i__ 2023-09-07 21:36:39 +02:00
Colin Leroy-Mira
cbc5603d63 Inline ntohs/htons as a macro if -i is passed 2023-09-07 21:00:30 +02:00
Colin Leroy-Mira
a90aa57510 Address Oliver's comments 2023-09-07 16:48:56 +02:00
Colin Leroy-Mira
734541ee05 Serial: Optimize SER_GET
There is no need to TryToSend before getting the character. We
send bytes during SER_PUT, and if interrupted during sending, we
still try to do it at the beginning of the next SER_PUT.
2023-09-07 07:14:01 +02:00
Colin Leroy-Mira
a89a311abf Serial: Micro-optimisation for apple2enh
On 65C02 we can spare one cycle on sta (abs); we also
not have to care about the 6502 false reads
2023-09-07 07:13:59 +02:00
Colin Leroy-Mira
e8f5ad2471 Serial: Optimize SER_PUT
We don't need to reload SendFreeCnt if we don't jsr TryToSend.
2023-09-07 07:13:57 +02:00
Colin Leroy-Mira
89af42e5cb Serial: Optimize SER_IRQ
Apple2 and Atmos have Index in X, but can still use it for the
best-case path as long as we reload it in the worst-case part
(when we assert flow control).
Also, standardize the free space to trigger flow control to 32
characters left (compare with RecvFreeCnt before decrement)
2023-09-07 07:13:54 +02:00
Colin Leroy-Mira
3f3b6123b9 Serial: Optimize TryToSend
We don't need to reload SendFreeCnt each time we loop to wait
for the ACIA to be ready.
2023-09-07 07:13:48 +02:00
Colin Leroy-Mira
dfe7562f76 Add ntohs, htons, ntohl, htons. 2023-09-07 07:03:34 +02:00
Bob Andrews
c674b7ced4
Merge pull request #2183 from polluks2/patch-10
Update README.md
2023-09-06 19:40:58 +02:00
polluks2
1a6e20ca6e
Update README.md 2023-09-06 14:47:14 +02:00
polluks2
30b80548d4
Update README.md
For the sake of completeness
2023-09-06 12:16:14 +02:00
Bob Andrews
e52e350498
Merge pull request #2180 from polluks2/patch-9
Added missing detail
2023-09-05 19:51:41 +02:00
Bob Andrews
84a01816fd
Merge pull request #2181 from bbbradsmith/init-revert
change INIT back to rw for configurations that needed it
2023-09-05 19:42:57 +02:00
bbbradsmith
d4c4786ff0 undo change of INIT to bss for configurations that were also using rw to reserve space, add a comment documenting the reason 2023-09-05 00:24:18 -04:00
polluks2
e28e32129a
Added missing detail 2023-09-04 20:38:05 +02:00
Bob Andrews
7eaa5c507f
Merge pull request #2177 from polluks2/patch-11
Don't mix apple2 with apple2enh
2023-09-04 20:36:31 +02:00
Bob Andrews
870581a4d4
Merge pull request #2174 from colinleroy/conio-65c02-optimisations
Conio: 65c02 optimisations
2023-09-04 18:00:23 +02:00
Bob Andrews
980727d62d
Merge pull request #2178 from polluks2/patch-9
Fixed typo
2023-09-04 17:58:47 +02:00
polluks2
4ebc3b8b04
Don't mix apple2 and apple2enh 2023-09-03 20:47:48 +02:00
Bob Andrews
16e90187e8
Merge pull request #2163 from bbbradsmith/init-bss
INIT segment definitions should be consistent, and bss is the appropriate semantic type
2023-09-03 00:30:44 +02:00
Colin Leroy-Mira
8a140e6503 Conio: 65c02 optimisations
cputc: -2 cycles per char, -2 cycles per carriage return
cputs: -5 cycles per char, -3 cycles on cputsxy
vcprintf: -6 cycles per char
2023-09-02 12:44:53 +02:00
Bob Andrews
d70c902a02
Merge pull request #2170 from colinleroy/build-libs-with-debug-info
Build libs with debug symbols
2023-09-01 17:58:17 +02:00
Colin Leroy-Mira
a2c115fc3e Build libs with debug symbols 2023-08-26 15:35:28 +02:00
Bob Andrews
05cd805cbc
Merge pull request #2085 from bbbradsmith/numerical_constant_errors-float
Numerical constant errors and improvements (float)
2023-08-25 22:30:07 +02:00
bbbradsmith
97e59b0756 ref link doesn't work within the usage verb 2023-08-19 15:50:22 -04:00
bbbradsmith
28ffe2f59b add jmp page crossing to --relax-checks, document it, fix --relax-checks documentation (segment branch error is not suppressed) 2023-08-19 15:39:51 -04:00
bbbradsmith
f31d8efc1e tabs are forbidden 2023-08-19 15:07:32 -04:00
bbbradsmith
07f08fc547 tests verifying jmp (indirect) page crossing error on 6502, and the lack of error for other CPU types 2023-08-19 14:36:30 -04:00
bbbradsmith
d09e0a7f20 Merge branch 'master' into ca65_jmp_abs_wrap_error 2023-08-19 14:07:52 -04:00
bbbradsmith
2431fb7d85 correct INIT segment semantic is bss, make this consistent across all default cfg 2023-08-19 13:08:46 -04:00
mrdudz
39619b629d fix docs on .version (forgot to update it when __CC65__ was fixed) 2023-08-19 15:39:16 +02:00
Colin Leroy-Mira
148be69f97 Optimize and fix comments (thanks to Oliver Schmidt) 2023-08-19 14:11:36 +02:00
Colin Leroy-Mira
1f68846116 Avoid using mli.s to initcwd 2023-08-19 14:11:36 +02:00
Bob Andrews
ce3bcadd24
Merge pull request #2146 from baktragh/master
Update _atari5200os.h
2023-07-02 19:10:39 +02:00
baktragh
7a85473cb0
Update _atari5200os.h
Remove dangling spaces
2023-07-02 15:16:33 +02:00
baktragh
6c127d6a83
Update _atari5200os.h
Update the page 0 symbols, synchronize  the names with the _atarios.h, add locations used by Atari 5200 conio
2023-07-02 14:59:00 +02:00
Bob Andrews
3efa517d96
Merge pull request #2141 from baktragh/master
Update _atari5200os.h with POT shadows
2023-06-27 00:18:23 +02:00
baktragh
aaec2a6270
Update _atari5200os.h - Remove dangling spaces 2023-06-26 16:46:42 +02:00
baktragh
3e166c760d
Update _atari5200os.h with POT shadows
Update the OS struct with POT shadow registers, according to the https://web.archive.org/web/20120830055323/http://www.atarimuseum.com/videogames/consoles/5200/conv_to_5200.html document
2023-06-26 16:38:41 +02:00
Bob Andrews
c2e5937724
Merge pull request #2138 from mooinglemur/20230615-cx16-memsiz
cx16: use KERNAL memsiz for MEMSIZE in asminc/cx16.inc
2023-06-19 18:59:47 +02:00
MooingLemur
59941d9464 cx16: use KERNAL memsiz for MEMSIZE in asminc/cx16.inc 2023-06-15 21:30:26 -04:00
mrdudz
c8aa9cc703 add struct assign check related to #2079 2023-05-29 17:20:09 +02:00
Bob Andrews
31bac03d01
Merge pull request #2124 from jedeoric/telestrat_fix_compute_length_bytes_read_write
Fix computed length for read and write for telestrat target
2023-05-29 16:02:41 +02:00
jede
480600093c fix pla/pha instead of tmp1 2023-05-25 18:09:03 +02:00
jede
1ca9d7e9e7 fix tab 2023-05-23 23:15:23 +02:00