Bob Andrews
40b0315be9
Merge pull request #2196 from ToboterXP/add_fx
...
Added FX registers to cx16.h
2023-09-21 00:18:00 +02:00
acqn
51e304f10f
Added check for total arguments size for variadic functions.
2023-09-18 16:44:04 +08:00
acqn
fc603129da
A structure with a flexible array member shall not be a member of a structure or an element of an array according to the ISO C Standard.
2023-09-18 15:44:58 +08:00
ToboterXP
0815c8890b
Added semicolon
2023-09-17 22:57:42 +02:00
ToboterXP
d251bd46c8
Removed dangling spaces
2023-09-17 22:54:48 +02:00
ToboterXP
3626c94c97
Added FX registers to cx16.h
2023-09-17 22:48:47 +02:00
acqn
39abd233fe
Fixed check for conflicting extern vs no-linkage/static declarations in functions.
2023-09-17 23:47:22 +08:00
Stefan
e145145fbb
Added KIM-1 refs
...
some clean-up
2023-09-16 21:01:37 +02:00
Bob Andrews
5ed3108eea
Merge pull request #2190 from polluks2/patch-12
...
optimisation scandisplay
2023-09-15 15:49:11 +02:00
polluks2
2e9843b32d
optimisation scandisplay
2023-09-15 10:35:36 +02:00
acqn
878264d948
Minor consistency improvement for AddEnumSym() usage. No impact.
2023-09-13 22:26:41 +08:00
acqn
8e62cbf092
Improved checks on function return types.
2023-09-13 22:26:41 +08:00
Colin Leroy-Mira
3fc074014e
Serial kernel: Fix driver lifecycle
...
- Make sure we don't install a driver on top of another one
- Make sure we don't uninstall a driver twice
- Make sure we uninstall a driver if needed at exit
2023-09-12 20:58:21 +02:00
Colin Leroy-Mira
aa5ee8423a
Clearer wording for the firmware check
2023-09-11 08:31:15 +02:00
Colin Leroy-Mira
38f7daf40e
Make sure not to load ACIA driver on IIgs' Z8530
...
The Pascal Firmware Protocol Bytes ID are not enough to differentiate an SSC card from a IIgs serial firmware:
http://www.1000bit.it/support/manuali/apple/technotes/misc/tn.misc.08.html
Loading a2(e).ssc.ser on a IIgs succeeds, then goes to limbo when one tries to use the serial port.
Check first byte on the slot's firmware in addition to the four existing ones, as it's supposed to be $2C (BIT instruction) on an SSC card, and $EF (65C816 SEP instruction) on the IIgs' serial firmware (ROM revisions 0, 1, 3).
2023-09-11 08:31:15 +02:00
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