Colin Leroy-Mira
330b1ab3f9
Remove useless comments
2023-10-03 13:55:10 +02:00
Colin Leroy-Mira
df4902157a
Cleanup coding style a bit
2023-10-03 13:55:10 +02:00
Colin Leroy-Mira
4ff917816e
Apple2: Always copy cmdline
...
Otherwise, the last exec() cmdline lingers around for the next exec("file", NULL).
2023-09-29 10:51:53 +02:00
Evgeny Vrublevsky
148942ff1d
Don't use hardcoded Visual Studio installation path in msbuild.cmd.
2023-09-23 14:26:09 +03:00
Evgeny Vrublevsky
9b9e955eb1
Add basic .editorconfig.
2023-09-23 14:26:08 +03:00
Evgeny Vrublevsky
d83354a8dd
Fix default VS project settings.
2023-09-23 14:26:08 +03:00
Bob Andrews
4944c92f9a
Merge pull request #2202 from polluks/patch-8
...
Update funcref cx16
2023-09-22 23:10:34 +02:00
Stefan
b81e5d00f2
Update funcref cx16
2023-09-22 16:43:03 +02:00
Colin Leroy-Mira
e3bc143f27
Another two bytes saved
2023-09-22 11:51:29 +02:00
acqn
13e1ed3e7b
Fixed compound initialization with omitted enclosing curly braces when an array/struct/union to initialize is nested.
2023-09-22 10:29:52 +08:00
Bob Andrews
dd833125a8
Merge pull request #2198 from acqn/DeclFix
...
[cc65] Fixed check for conflicting extern vs no-linkage/static declarations in functions
2023-09-21 00:35:35 +02:00
Bob Andrews
c82e877451
Merge pull request #2188 from colinleroy/serial-kernel-fix-driver-lifecycle
...
Serial kernel: Fix driver lifecycle
2023-09-21 00:34:09 +02:00
Bob Andrews
6bc68b9763
Merge pull request #2195 from polluks/kim
...
Added KIM-1 refs
2023-09-21 00:19:22 +02:00
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