mrdudz
228316ff58
NES complete now (tested and conio test updated), replaces what is in #532
2025-05-24 19:19:49 +02:00
mrdudz
6628c4ff43
fix cpeekc/cpeekcolor/cpeekrevers for atari 800
2025-05-24 18:34:44 +02:00
mrdudz
0d5e365ee3
Merge branch 'master' into coniopeek
2025-05-24 17:52:58 +02:00
Bob Andrews
7621fb91f0
Merge pull request #2642 from GorillaSapiens/ca65_charset_translations
...
C style character translation in ca65
2025-05-24 17:23:19 +02:00
Bob Andrews
8f4451a468
Merge pull request #2658 from kugelfuhr/kugelfuhr/fix-2655
...
Fix -W -unreachable-code not working in all cases
2025-05-24 17:17:36 +02:00
Bob Andrews
40d6b45d30
Merge pull request #2652 from pfusik/opt-crc32
...
zlib: Make crc32 8 bytes shorter and 3 cycles/byte faster
2025-05-24 17:13:56 +02:00
Bob Andrews
2edb5b96c5
Merge pull request #2654 from kugelfuhr/kugelfuhr/fix-2599
...
Fix missing warning for non void functions without a return statement
2025-05-24 16:59:00 +02:00
Bob Andrews
e211849633
Merge pull request #2657 from kugelfuhr/kugelfuhr/cleanup
...
Remove the unused function ClearDiagnosticStrBufs()
2025-05-24 16:56:56 +02:00
Bob Andrews
333ac4b383
Merge pull request #2651 from colinleroy/add-decompressors
...
Add ZX02 and LZSA (1,2) decompressors
2025-05-24 16:54:05 +02:00
Kugel Fuhr
7be7ce4e9b
Remove tabs.
2025-05-21 11:21:40 +02:00
Kugel Fuhr
b5b7ea422e
Make sure, the command line setting for the "Unreachable code" warning is
...
checked in all cases before outputting such a warning. Fixes #2655 .
2025-05-21 11:04:21 +02:00
Kugel Fuhr
c7c7377f7a
Remove the unused function ClearDiagnosticStrBufs().
2025-05-21 10:20:59 +02:00
Kugel Fuhr
81e1312416
Remove the unused function ClearDiagnosticStrBufs().
2025-05-20 13:50:33 +02:00
Christian Groessler
2dbc7d1696
Merge pull request #2653 from frotzer/fixeof
...
Fix Atari buffer overrun on keyboard EOF
2025-05-20 07:41:00 +02:00
Kugel Fuhr
500887ec23
Fix #2599 . The compiler handled all functions returning an int but without a
...
"return" statement by silently adding "return 0" instead of emitting a
warning. This is the desired behavior for the "main" function in C99 and
above, but the compiler applied it to all functions.
2025-05-17 17:18:05 +02:00
John Murkerson
9cdba1b6d8
Fix Atari buffer overrun on keyboard EOF
2025-05-15 20:45:40 -04:00
Piotr Fusik
13ddd6392c
zlib: Make crc32 8 bytes shorter and 3 cycles/byte faster
2025-05-14 15:15:32 +02:00
Colin Leroy-Mira
cfbfaa559c
Add ZX02 and LZSA (1,2) decompressors
2025-05-13 21:26:47 +02:00
Bob Andrews
84094ae2b3
Merge pull request #2648 from McZonk/GranularityTypo
...
Fixed a typo in Granularity
2025-05-13 13:54:04 +02:00
Max
8fbb4c39c4
Fixed a typo in Granularity
2025-05-13 09:14:03 +02:00
Bob Andrews
80cef73f8c
Merge pull request #2644 from JimmyDansbo/cx16_videomodes
...
Add additional video modes that were added in ROM Pre Release 43 on CX16
2025-05-08 19:09:38 +02:00
Jimmy Dansbo
d4a37f7777
Changed tabs to spaces
2025-05-06 09:16:12 +02:00
Jimmy Dansbo
c5a3dbdf38
Add additional video modes that were added in ROM Pre Release 43
2025-05-06 09:09:07 +02:00
Gorilla Sapiens
1b85ab6985
C style character translation in ca65
2025-05-06 03:02:18 +00:00
Bob Andrews
75d43ef88e
Merge pull request #2636 from GorillaSapiens/issue_2607
...
issue #2607 , enable '\e' character escape for --standard cc65
2025-05-06 01:47:23 +02:00
Gorilla Sapiens
f48fb03540
issue #2607 , enable '\e' character escape for --standard cc65
2025-05-05 17:53:42 +00:00
Bob Andrews
4fb87d27dc
Merge pull request #2610 from GorillaSapiens/c_6.4.4.4_test1
...
conform to 6.4.4.4 for hex and octal escapes
2025-05-05 17:14:01 +02:00
Bob Andrews
0742b68ea1
Merge pull request #2639 from GorillaSapiens/issue_2637
...
fixes issue #2637
2025-05-05 17:01:22 +02:00
Gorilla Sapiens
f13f2cb619
fixes issue #2637
2025-05-03 02:41:08 +00:00
Bob Andrews
b1713e4c96
Merge pull request #2627 from colinleroy/add-lz4-C-ref
...
Add decompress_lz4 C implementation as comment
2025-05-02 20:23:09 +02:00
Bob Andrews
ae76f28712
Merge pull request #2635 from GorillaSapiens/issue_2633
...
issue #2633 print unambiguous success message
2025-05-02 16:29:54 +02:00
Gorilla Sapiens
060522a740
issue #2633 print unambiguous success message
2025-05-02 05:43:14 +00:00
Gorilla Sapiens
6a17aedd81
conform to 6.4.4.4 for hex and octal escapes
...
fixes problem noted in #2610
2025-05-02 05:03:55 +00:00
Colin Leroy-Mira
2085646e57
Apple2: implement get_tv()
...
get_tv() will return TV_NTSC or TV_PAL for any Apple II model
with a way of checking vblank. For Apple ][ and ][+ it will
return TV_OTHER and let the user figure it out in another way.
2025-04-28 11:58:53 +02:00
Bob Andrews
96e8e89776
Merge pull request #2630 from McZonk/docfix-unnamedlabels
...
Fix documentation about unnamed labels using an `@`.
2025-04-19 15:51:18 +02:00
Max
8cf802cee3
Fix documentation about unnamed labels using an @.
2025-04-15 16:57:13 +02:00
Christian Groessler
5cb1bc60fc
Add 'define=yes' for INIT segment to atari-asm.cfg and atari-asm-xex.cfg linker configs.
...
libsrc/atari/exehdr.s: Add (empty) INIT segment to cover assembler programs which link with
exehdr.s.
2025-04-09 22:51:11 +02:00
Colin Leroy-Mira
caa66aea95
Add decompress_lz4 C implementation as comment
...
For reference.
2025-04-07 21:01:05 +02:00
Bob Andrews
432f2841e5
Merge pull request #2626 from kugelfuhr/kugelfuhr/fix-2611
...
Fix a typo in g_typeadjust()
2025-04-07 19:11:21 +02:00
Kugel Fuhr
f1ed5b7057
Fixed a typo in g_typeadjust(). Will fix #2611 .
2025-04-07 09:20:51 +02:00
Bob Andrews
2b30b90cfe
Merge pull request #2625 from polluks/posix_memalign
...
Added doc and some refs #2613
2025-04-06 19:25:10 +02:00
Stefan A. Haubenthal
834388a9e1
Added doc and some refs #2613
2025-04-06 18:49:11 +02:00
Bob Andrews
065b0d7f90
Merge pull request #2621 from polluks/master
...
Fixed many comments
2025-03-25 16:01:44 +01:00
Stefan
5ceb4f0d68
Revert atr5200std.s
2025-03-24 21:27:55 +01:00
Stefan A. Haubenthal
774e275965
Fixed many comments
2025-03-24 20:52:55 +01:00
Christian Groessler
9f5a195dc2
samples/geos/Makefile: use C1541 variable for c1541 program
2025-03-22 00:17:03 +01:00
Oliver Schmidt
1efe1227d6
Added apple2enh to the targets supporting waitvsync().
2025-03-14 16:43:39 +01:00
Colin Leroy-Mira
fb63a839bf
Optimize LZ4 decompressor
...
Use a walking out pointer instead of &out[written]. This
simplifies the code by 27 bytes and spares 15% cycles.
Tested with both the unit test and code uncompressing
10kB of data.
Renamed the labels for legibility.
2025-03-14 16:33:13 +01:00
Oliver Schmidt
ee540678e6
Improved consistency of notation for return value promotion.
2025-03-13 22:22:28 +01:00
Oliver Schmidt
3edb959298
Finally made CONIO and STDIO fully interoperable in 80 column mode.
...
In order to avoid undefined behaviour of programs not aware of 80 column mode, the 80 column firmware deliberately doesn't use CH but OURCH. So in order to be fully interoperable, CONIO needs to do the same. This changes introduces that behavior. So far so good.
But the 80 column firmware can also be active in 40 column mode. This scenario is not detectable with reasonable effort. Therefore the behaviour of CONIO in this scenario is _not_ improved. However, this scenario is supposed to be very uncommon - and a recent update to videomode() makes sure to not activate it anymore ourselves.
Notes:
* If a program wants to be 100% sure to not run in 40 column mode with 80 column firmware active it can call videomode(VIDEOMODE_40COL) to explicitly deactivate a potentially active 80 column firmware. However, this always implicitly clears the screen.
* In 40 column mode (contrast to 80 column mode) the 80 column firmware updates CH to reflect OURCH. So as long as CONIO only reads CH, but doesn't update it, everything works as expected. Interestingly this makes a rather useful scenario of STDIO/CONIO interoperation work: Using STDIO for screen output and CONIO for keyboard input. When cgetc() is called after cursor(1), it has to write to the screen as there's no hardware cursor on the Apple II. Those writes work as expected even in 40 column mode with active 80 column firmware as CH is only read but not written.
2025-03-13 22:22:28 +01:00