Colin Leroy-Mira
86317711e0
IIgs SCC: Rework branches to X-indexed variables
...
and general cleanup/commenting
2024-02-23 01:20:47 +01:00
Colin Leroy-Mira
8b71fafb84
IIgs SCC: Allow choosing 115200bps as the card allows it
...
Of course, that won't work full speed with the standard
IRQ-based RX. But that will allow users to setup the port
at this speed without duplicating the setup part of the
code. Up to them to add hooks to disable IRQs and read
directly in a tight asm loop.
2024-02-23 01:20:47 +01:00
Colin Leroy-Mira
3fd78208ba
Disable IRQ if opening at 115200 bps
2024-02-19 19:31:47 +01:00
Colin Leroy-Mira
7a12399b39
Allow choosing 115200bps as the card allows it
...
Of course, that won't work full speed with the
standard IRQ-based RX. But that will allow users
to setup the port at this speed without duplicating
the setup part of the code. Up to them to add hooks
to disable IRQs and read directly in a tight asm
loop.
2024-02-19 19:31:47 +01:00
rumbledethumps
4d3153e10e
add rp6502 xregn
2024-02-17 16:02:57 -08:00
rumbledethumps
f42e6a26b2
xstack bump to 512
2024-02-17 15:47:51 -08:00
rumbledethumps
b8b263b38c
Merge branch 'cc65:master' into master
2024-02-17 14:54:12 -08:00
Sven Michael Klose
294b034920
Add configuration files for expanded VICs.
2024-02-15 17:32:44 +01:00
Stefan
ab0eb4fe58
oops
2024-02-15 09:03:46 +01:00
Stefan
8d4946b3f4
Fixed segv
...
touch /tmp/xx
grc65 /tmp/xx
2024-02-15 07:52:42 +01:00
Sven Michael Klose
3a7bd53956
Test strtok().
2024-02-15 01:05:35 +01:00
Sven Michael Klose
8173c850fd
Fix size of MAIN to end at $1E00.
...
Caused negative size of MAIN in cc65-contrib/quikmans2k8.
2024-02-15 00:00:46 +01:00
Bob Andrews
4bde3afd80
Merge pull request #2410 from alexthissen/serial
...
Improvements and fixes in serial support for Atari Lynx
2024-02-12 12:50:02 +01:00
Alex Thissen
7d6f3d24d4
Changed sta (ptr1,x) to sta (ptr1)
...
Reset serial status on ser_close
Fixed error for saving serial state
2024-02-11 23:12:27 +00:00
Alex Thissen
8b172e05bc
Applied optimization as per review 42Bastian
2024-02-11 20:59:08 +00:00
Alex Thissen
1deb9e52ae
Replaced last literal value for SERCTL
2024-02-11 15:46:23 +00:00
Alex Thissen
acff429eb8
Added redeye check for SER_HS_SW handshake
2024-02-11 15:33:22 +00:00
Alex Thissen
6cf8ee8eb5
Removed baud rates from 150 and lower.
...
Fixed tab
Replaced uploader references to SERIAL_INTERRUPT
2024-02-10 23:19:05 +00:00
Alex Thissen
65bce9ecde
Implemented mark and space checks.
2024-02-10 23:19:04 +00:00
Alex Thissen
014f85f226
Fixed baud rates
2024-02-10 23:19:04 +00:00
Alex Thissen
788ae82d30
Fixes to serial driver implementation
2024-02-10 23:19:02 +00:00
Carlo Bramini
b04d79b1da
[SIM65] Support undocumented opcodes for 6502
...
This PR is mostly a complete rewrite of the emulator for 6502/65c02 opcodes.
It provides an easier to maintain implementation of the instructions, by using few macros rather than having hand-written code for each function.
All undocumented, previously missing opcodes for 6502 are also implemented.
The patch also includes a detailed documentation of those opcodes, for reference to developers.
This PR should fix one of the milestones listed here for the next version of CC65:
https://github.com/cc65/wiki/wiki/Before-the-next-release
2024-02-08 12:13:17 +01:00
rumbledethumps
7b790cf883
add RIA_OP_CLOCK to asm inc
2024-02-04 23:38:44 -08:00
mrdudz
3dfe033000
update actions/upload-artifact@v3->actions/upload-artifact@v4, actions/cache@v3->actions/cache@v4
2024-02-03 17:02:08 +01:00
mrdudz
5acfb02794
update actions/checkout@v3 -> actions/checkout@v4 and microsoft/setup-msbuild@v1.1 -> microsoft/setup-msbuild@v2. lets see what happens :)
2024-02-03 16:20:17 +01:00
mrdudz
934de685bc
this is pr #2194 - removed ramfont.o
2024-02-03 01:34:21 +01:00
Bob Andrews
ce14f0f8ad
Merge pull request #2401 from colinleroy/enabled-windows-tests-on-PR
...
Enable Windows tests on pull requests
2024-02-02 21:59:09 +01:00
Bob Andrews
a06431a8f9
Merge pull request #2402 from colinleroy/a-bit-of-65c02-optimisations
...
a BIT of 65C02 optimisations
2024-02-02 21:58:04 +01:00
Bob Andrews
eb503cc542
Merge pull request #2390 from colinleroy/implement-shifts-by-7
...
Implement aslax7/shlax7/asrax7/shrax7
2024-02-02 20:17:48 +01:00
Colin Leroy-Mira
1fab179cb4
a BIT of 65C02 optimisations
...
Use BIT immediate instead of AND when reloading A is required
afterwards.
Add an fread unit test as the optimisation touches fread.
Sprinkle a few zero page indexed while we're at it.
2024-02-02 19:45:49 +01:00
Colin Leroy-Mira
c4c6967e4a
Enable Windows tests on pull requests
2024-02-02 19:45:17 +01:00
Bob Andrews
2a03e5d8c9
Merge pull request #2392 from colinleroy/asm-fputc-fputs
...
Asm fputc fputs
2024-02-02 19:41:23 +01:00
Bob Andrews
128f261c3a
Merge pull request #2389 from colinleroy/fix-2388
...
Fix #2388
2024-02-02 18:25:39 +01:00
Bob Andrews
d5c84e7828
Merge pull request #2398 from acqn/OptFix
...
[cc65] Fixed optimization for char-size bitwise XOR/OR/AND when the rhs operand is complicated
2024-02-02 17:20:31 +01:00
Bob Andrews
54b423a99e
fix test
2024-02-02 13:13:57 +01:00
acqn
96d55e3703
Fixed optimization for char-size bitwise XOR/OR/AND when the rhs operand is complicated.
2024-02-02 19:00:33 +08:00
Bob Andrews
a7ac9b7ef2
Merge pull request #2397 from colinleroy/bug-2395-test
...
Add test case for issue #2395
2024-02-01 23:09:12 +01:00
Colin Leroy-Mira
1e300bf768
Add test case for issue #2395
2024-02-01 22:06:56 +01:00
Colin Leroy-Mira
ce606bb19e
Fix tests...
2024-01-31 08:40:36 +01:00
Colin Leroy-Mira
afd8ee627e
Remove useless branching code in fgets
2024-01-30 19:52:48 +01:00
Colin Leroy-Mira
2b97735d5d
Factorize file pointer check
2024-01-30 19:40:28 +01:00
Colin Leroy-Mira
1a5a7d67a7
Rewrite fputc in assembly
...
-36 bytes, -12% cycles
2024-01-30 17:19:13 +01:00
Colin Leroy-Mira
ba36071022
Rewrite fputs in assembly
...
-28 bytes, -1% cycles
2024-01-30 17:12:52 +01:00
Colin Leroy-Mira
7594af553a
Fix #2388
...
Reopen stdin in binary mode instead of closing/opening
2024-01-30 09:39:44 +01:00
rumbledethumps
9ffa2d05e6
rp6502 validate write_xstack count
2024-01-30 00:17:28 -08:00
rumbledethumps
dd95d20268
Merge branch 'cc65:master' into master
2024-01-29 08:45:56 -08:00
Colin Leroy-Mira
7d7cf2d1e0
Implement aslax7/shlax7/asrax7/shrax7
2024-01-29 07:59:11 +01:00
Bob Andrews
51b946bf25
Merge pull request #2387 from colinleroy/sim65-implement-remove
...
Implement __sysremove for sim65
2024-01-28 16:53:29 +01:00
Colin Leroy-Mira
0dd7b0c3a5
Implement __sysremove for sim65
...
This will allow using unlink()/remove() in sim65 programs
Use it to unlink fgets' test output file
2024-01-28 13:58:57 +01:00
Bob Andrews
8682095f9f
Merge pull request #2384 from colinleroy/asm-realloc
...
Rewrite realloc in asm
2024-01-27 00:28:17 +01:00