1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00
Commit Graph

7891 Commits

Author SHA1 Message Date
laubzega
d3665b263e Stack adjustment code optimizations. 2018-10-16 09:55:02 +02:00
laubzega
249248ccc8 Formatting tweaks. 2018-10-16 09:45:30 +02:00
laubzega
6d8c315cdb Testcase added. 2018-10-16 09:45:30 +02:00
laubzega
8eb9f4a8aa Fix for issue #735 2018-10-16 09:45:30 +02:00
Greg King
03e43d1fbf Changed a comment and an error message into more specific text. 2018-10-08 20:39:46 -04:00
laubzega
92defb7a2b Fix crash due to mistaken symbol identity. 2018-10-08 16:27:00 +02:00
greg-king5
4a38b92a4b
Merged pull request #771 from DankRank/master.
da65: properly scan empty strings in info file.
2018-10-08 01:24:04 -04:00
Egor
0149de4da7 da65: properly scan empty strings
Previously, doing something like `LABEL { NAME ""; ADDR $1000; };` would
result in $1000 being labeled as NAME: instead of being unnamed.
2018-10-06 21:55:42 +03:00
Greg King
f11ae87ada Always put goto stack-adjustments in the RODATA segment. 2018-10-02 23:19:38 -04:00
Oliver Schmidt
88d1d20cd0
Minor style adjustment. 2018-10-02 18:53:01 +02:00
laubzega
2bb4abda23 Testcase .ref updated for new warning style. 2018-10-02 18:49:53 +02:00
laubzega
02a914625b Formatting fixes. 2018-10-02 18:49:53 +02:00
laubzega
2ec21c5b7f Fix non-goto jumps (i.e. inline assembly). 2018-10-02 18:49:53 +02:00
laubzega
8845e71161 Another warning. 2018-10-02 18:49:53 +02:00
laubzega
6ad79067ac Fix a warning. 2018-10-02 18:49:53 +02:00
laubzega
c797b3b376 Proper warnings for "risky" gotos. 2018-10-02 18:49:53 +02:00
laubzega
c835f49913 Clean-up 2018-10-02 18:49:53 +02:00
laubzega
4b78d40e97 Added testcase for between-blocks gotos.
Deleted old testcase.
2018-10-02 18:49:53 +02:00
laubzega
2ac2ffcd43 Adjust SP on gotos between blocks with local variables. 2018-10-02 18:49:53 +02:00
laubzega
a48bbc4be0 Switched from warning to error. Tightened the testcase. 2018-10-02 18:49:53 +02:00
Laubzega
7a5acaf39a Missed the comment. 2018-10-02 18:49:53 +02:00
Laubzega
403783b649 Add a testcase for https://github.com/cc65/cc65/pull/757 2018-10-02 18:49:53 +02:00
Laubzega
a4b6bb63c0 Minor changes after review. 2018-10-02 18:49:53 +02:00
Laubzega
f5b3c5351e Fix for variableless main(). 2018-10-02 18:49:53 +02:00
Laubzega
581c46c213 Add checks for risky goto statements. 2018-10-02 18:49:53 +02:00
Christian Groessler
df3c43bede Atari: implement clock_getres() 2018-09-28 09:47:20 +02:00
Christian Groessler
6dc7309e50 Atari: add support for BW-DOS. Initially contributed by Daniel Serpell. 2018-09-27 17:37:59 +02:00
Christian Groessler
fe7845b5f0 clock-test.c: remove "static" optimization 2018-09-25 21:11:05 +02:00
Christian Groessler
1203e9e0c4 clock-test.c: do doesclrscrafterexit() handling the canonical way. 2018-09-25 21:11:05 +02:00
Christian Groessler
b1ca01f720 asminc/atari.inc: remove TABs which slipped in 2018-09-25 21:11:05 +02:00
Christian Groessler
3a2d68fd1f Add testcode/lib/clock-test.c.
A test program for the "clock" functions.
2018-09-25 21:11:05 +02:00
Christian Groessler
9c7cccf3e5 Atari: clock_gettime() and clock_settime() implementations
They are using SpartaDOS-X interfaces and are therefore only working
in this environment.
2018-09-25 21:11:05 +02:00
Christian Groessler
bfba206d16 asminc/atari.inc: add some SpartaDOS-X defines 2018-09-25 21:11:05 +02:00
Christian Groessler
118bc996fb libsrc/atari/getdefdev.s: small comment change 2018-09-20 23:58:23 +02:00
Oliver Schmidt
6cce110345 Adjusted URL to use https (and removed obsolete dates). 2018-09-20 12:45:15 +02:00
Oliver Schmidt
b6e4add9b5
Switch to https links.
Most targets redirected to https anyway.
2018-09-20 12:21:58 +02:00
Oliver Schmidt
aa219d1ec7 The doc now lives in the 'master' branch of the 'doc' project. 2018-09-18 23:39:11 +02:00
Christian Groessler
d52d986aca libsrc/atari/getdefdev.s: small optimization and fix a typo 2018-09-14 16:54:20 +02:00
greg-king5
d8ad89c4b4
Merge pull request #740 from laubzega/master
Add segment type "overwrite".
2018-09-14 00:59:47 -04:00
Christian Groessler
4691974466 Atari: Make a good "default device" on AtariDOS (2.0 and 2.5) and MyDOS.
The default device will be the one the program was loaded from instead of
always D1:.
2018-09-13 22:33:54 +02:00
Laubzega
3bace79604 Fixed reference link. 2018-09-12 23:51:38 -07:00
Laubzega
3432788763 Slight fixes to the documentation. 2018-09-11 22:14:45 -07:00
Christian Groessler
08d164a811 fix comment in last change 2018-09-12 01:20:12 +02:00
Christian Groessler
e4e3dbf756 atarixl: check at startup whether RAM beneath the ROM is in use
If detected, the program refuses to run, preventing a crash.
The check only works with SpartaDOS. I don't have an overview which
DOSes potentially use the RAM under the ROM. Or which other installed
programs might use it.

No additional runtime memory space is consumed, since the change
is in the "system check" load chunk which gets replaced by the
user program during loading.
2018-09-12 01:05:52 +02:00
Laubzega
1646acb26f First cut of "overwrite" segment docs. 2018-09-08 19:20:01 -07:00
Laubzega
d293d766ef New segment type renamed to "overwrite". 2018-09-08 19:18:41 -07:00
Oliver Schmidt
c7a40db1b7 Added hint random number generator hint. 2018-09-08 23:59:39 +02:00
Oliver Schmidt
a9a102b0e8 Protect random counter against ProDOS.
Although documented nowhere (!!!) ProDOS trashes the random counter locations $4E/$4F. Is discovered this because my TCP connections didn't have random local ports.

It's a really funny coincidence that David Finnigan discovered only 3 years ago the very same issue because of the very same reason: https://groups.google.com/forum/#!topic/comp.sys.apple2.programmer/1ciep_Oetvo
2018-09-08 23:29:59 +02:00
Oliver Schmidt
cddc4da3bb Just removed some trailing spaces. 2018-09-08 23:14:54 +02:00
Oliver Schmidt
73faf60fe0 Support randomize().
In order to have randomize() work as expected (and the Apple II random number generation in general) it is necessary to update the random counter during keypress wait just like the ROM function does.
2018-09-08 18:45:20 +02:00