mrdudz
b6ffa4af64
Fix endless loop on expanding a recursive macro, fixed issue #1678 , patch by kugelfuhr
2022-05-09 21:26:45 +02:00
mrdudz
1abb5f4734
Add a directory for tests that exercise the supported C standard differences.
...
As a first test added the snippet given in issue #1670
2022-05-08 19:29:57 +02:00
mrdudz
3640beaa46
fix some header files to conform with C99 hopefully, should fix issue #1670
2022-05-08 19:29:57 +02:00
mrdudz
d0ac06c9b0
must include stdarg.h to use varargs
2022-05-08 19:29:57 +02:00
Bob Andrews
1c34d798be
Update Contributing.md
2022-05-08 19:27:32 +02:00
Bob Andrews
fc4faa582a
Update Contributing.md
2022-05-08 18:46:12 +02:00
mrdudz
43af562ce1
At the end of the optimizer run, remove jump cascades again. fixes the
...
regression reported in #1652
2022-05-08 13:22:10 +02:00
mrdudz
5813fd81d3
add extra optimizer step that replaces BRA by JMP if the target is external
2022-05-08 13:20:18 +02:00
mrdudz
e6b9a4b292
test related to issue #1652 , shows regression broken by #1231 and the
...
case that #1231 improved.
2022-05-08 13:19:32 +02:00
mrdudz
e0ae8ddc68
add sourcelines to the generated asm for easier inspection,
...
redirect output of sim65, including cycle count, into a seperate .out file per program
2022-05-08 13:18:27 +02:00
Bob Andrews
8bdc3b092c
Update Contributing.md
2022-05-06 22:13:33 +02:00
Bob Andrews
2314cddb5a
Merge pull request #1718 from polluks2/patch-2
...
Some clean-up
2022-05-06 13:08:14 +02:00
Bob Andrews
61bd7be6be
Merge pull request #1725 from polluks2/patch-4
...
typo in markdown
2022-05-06 13:05:01 +02:00
Bob Andrews
9beedbafdd
Merge pull request #1735 from rofl0r/empty_prefix
...
build: allow empty prefix - should this break on Amiga or other non POSIX systems, please speak up
2022-05-06 13:04:00 +02:00
Bob Andrews
14c7ae6f0c
Merge pull request #1742 from jedeoric/mkdir_fix_telestrat
...
Mkdir : fix registers calls
2022-05-06 13:00:03 +02:00
jede
47743d5fcf
fix space
2022-05-05 22:50:37 +02:00
jede
348ea815b0
fix mkdir
2022-05-05 22:43:06 +02:00
Bob Andrews
71cec58d86
Adjust comments
2022-05-05 14:24:02 +02:00
Bob Andrews
b8f7167dcd
Merge pull request #1729 from jedeoric/fix_fd_cleaning_telestrat
...
[Telestrat] missing fd_management and cleaning
2022-05-04 02:34:58 +02:00
Bob Andrews
0fc1fb4a36
Merge pull request #1740 from WayneParham/master
...
Added myself as an external contributor for the Sym-1 target
2022-05-02 18:58:22 +02:00
Wayne Parham
f34bd59660
Added myself as an external contributor for the Sym-1 target
2022-05-02 11:44:47 -05:00
rofl0r
20dd6fd872
change GetProgPath() to return full & resolved binary path
...
GetProgPath() now resolves the path derived from argv[0] always
via realpath(3p) to its real location in the filesystem, and returns
the path including binary name, effectively making it work like
windows' GetModuleFileName(), so we can re-use the existing code
to strip the trailing binary name.
since symlinks are now always resolved, we no longer need the
special case code for linux to use /proc/self/exe for this purpose.
2022-05-02 08:22:21 +00:00
Bob Andrews
74f92564c3
Try reading from /proc/self first on linux, this is needed to make the edgy "make avail" work
2022-04-30 15:01:58 +02:00
Greg King
a5e69e7ea6
Upgraded the cx16 library to the Commander X16 Kernal ROM's prerelease 39.
2022-04-29 16:56:54 -04:00
rofl0r
d78672a4b4
rename AddSubSearchPathFromWinBin to AddSubSearchPathFromBin
2022-04-28 18:35:05 +00:00
rofl0r
b32c12dd83
implement AddSubSearchPathFromWinBin() counterpart for unix
...
this looks up paths relative to the binary used to start the
specific application.
2022-04-28 18:35:05 +00:00
Bob Andrews
75ee10478e
Update Contributing.md
2022-04-28 15:14:34 +02:00
rofl0r
8669710c0f
build: allow empty prefix
...
there was some concern that this will break windows' way of doing
file lookups relatively from the binary, rather than via hardcoded
locations, but so far each occurence adding e.g. "CA65_INC" to
the pathsearch is already shielded with an #ifndef _WIN32.
addressing #1726
2022-04-27 16:19:06 +00:00
Bob Andrews
ba5859f724
Update README.md
2022-04-27 14:25:46 +02:00
Bob Andrews
e5b08baf56
Merge pull request #1724 from mrdudz/constexpr
...
Constexpr
2022-04-27 11:47:41 +02:00
mrdudz
f7a5f6ed73
test some more cases that should not change size
2022-04-26 17:08:19 +02:00
mrdudz
a3ae28a81c
added a test that must fail
2022-04-26 17:07:57 +02:00
mrdudz
7c7c5af59f
Merge remote-tracking branch 'upstream/master' into constexpr
2022-04-26 16:43:10 +02:00
Bob Andrews
01f151c3ab
Merge pull request #1734 from jedeoric/fix_kbhit
...
[Telestrat] Kbhit fix
2022-04-26 16:33:18 +02:00
jede
4bfd57153f
fix bss
2022-04-26 14:14:27 +02:00
Bob Andrews
c34d6f0ea0
Merge pull request #1731 from rofl0r/paths_as_strings
...
build: properly quote strings passed as cpp macros
2022-04-26 12:26:12 +02:00
jede
4474ed2668
fix space
2022-04-26 11:10:07 +02:00
jede
1281032f33
FIX space
2022-04-26 10:23:38 +02:00
jede
e9597e8721
cgetc export data now
2022-04-26 00:40:16 +02:00
rofl0r
13081e0989
remove orphaned STRINGIZE macro
2022-04-25 17:12:09 +00:00
rofl0r
bf1ef6157c
build: properly quote strings passed as cpp macros
...
until now, the strings intended to be hardcoded into the binary,
such as directory names and build id, were passed unquoted, which
means they're interpreted by the preprocessor as C tokens, rather
than strings, which can result in all sorts of "interesting"
behaviour such as interpreting paths starting with // as C++-style
comment.
this was then worked around using a stringize macro which turned
the tokens into a string (if they happened to be in a compatible
format).
adresses #1726
2022-04-25 16:52:46 +00:00
Bob Andrews
95b22298ab
Merge pull request #1730 from rofl0r/verbose_build
...
build: allow the user to specify make V=1 for verbose build
2022-04-25 17:25:40 +02:00
rofl0r
d8482fbd57
build: allow the user to specify make V=1 for verbose build
...
it's often required to see the full commandline when things go wrong.
the standard way for Makefile-only based buildsystems and autoconf
is to pass V=1 to make.
2022-04-25 14:58:38 +00:00
Bob Andrews
f9ba3b734c
Merge pull request #1715 from karrika/atari7800conio
...
[atari7800] conio
2022-04-24 17:27:12 +02:00
jede
8f40243315
fix spaces
2022-04-24 15:15:10 +02:00
jede
8c26b837ef
fix typo
2022-04-24 00:41:12 +02:00
jede
c48df98145
missing fd_management and cleaning
2022-04-24 00:39:04 +02:00
Karri Kaksonen
f4260ed7bc
Speed up the cursor a bit
2022-04-22 06:51:35 +03:00
Karri Kaksonen
c6decc7bb8
Move cursor IRQ processing to when the screen is being drawn
2022-04-21 21:54:33 +03:00
mrdudz
23831f08de
const value should never have default size, use 32bit instead
2022-04-21 14:50:48 +02:00