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
mrdudz
fd02cbed9d
fix workdir path
2022-04-20 14:54:44 +02:00
mrdudz
99919d2899
added a testprogram to check for some of the edge cases
2022-04-20 14:50:42 +02:00
Karri Kaksonen
643e88f9cb
Merge branch 'cc65:master' into atari7800conio
2022-04-20 15:31:00 +03:00
Bob Andrews
451acb3423
Update Contributing.md
2022-04-20 14:28:34 +02:00
mrdudz
a0280d4917
Also handle the case when the non constant side of the AND expression is
...
known to have a smaller size than the constant side of the expression.
2022-04-20 12:53:34 +02:00
polluks2
3ad83f2191
typo
2022-04-20 12:49:30 +02:00
mrdudz
f64bf76ae8
special case for evaluating the AND operator, this should fix the problems
...
described in issue #1538
2022-04-20 00:13:34 +02:00
mrdudz
8d0098b818
more descriptive error message
2022-04-20 00:12:03 +02:00
mrdudz
89fcb0d404
typo
2022-04-20 00:11:24 +02:00
Karri Kaksonen
c0f23d24ad
Merge branch 'cc65:master' into atari7800conio
2022-04-19 22:07:54 +03:00
Karri Kaksonen
fc244f6b95
Too much time in irq fix
2022-04-19 21:31:16 +03:00
Karri Kaksonen
26787ba380
Fix race condition
2022-04-19 20:01:47 +03:00
mrdudz
e2ad9efe41
Merge remote-tracking branch 'upstream/master'
2022-04-19 14:49:51 +02:00
Karri Kaksonen
f44af28a31
Merge branch 'atari7800conio' of github.com:karrika/cc65 into atari7800conio
2022-04-19 10:34:21 +03:00
Karri Kaksonen
eed8cec726
Add documentation
2022-04-19 10:33:58 +03:00
Karri Kaksonen
890a181ae5
Add color setup
2022-04-19 10:32:22 +03:00
Karri Kaksonen
6a9eeeb5b0
Rename font
2022-04-19 10:31:51 +03:00
Greg King
6ea1f8ee85
Made the style-check scripts send their file lists to stderr.
...
A complete list will be shown before make shows its error message. There will be less confusion about which lines are in the list.
2022-04-18 19:47:02 -04:00
Karri Kaksonen
787d5c57ad
Merge branch 'cc65:master' into atari7800conio
2022-04-18 20:22:15 +03:00
Bob Andrews
47366cbbf6
use jmp instead of jsr/rts
2022-04-18 17:49:12 +02:00
mrdudz
ece6f10588
remove dangling spaces
...
when changing the checker scripts and/or directly comitting to git head, please make sure to also run the checks first so you don't break the autobuilds
2022-04-18 17:43:56 +02:00