Greg King
98f8064b83
Made the directory functions compatible with the Commander X16's DOS.
...
It's directory listing's last line says, "mb free."
2021-02-15 08:56:31 -05:00
Christian Groessler
43881afca2
doc/atari5200.sgml: document splash screen user changeable settings
2021-02-11 21:02:24 +01:00
Christian Groessler
9cd1ffa6a6
doc/ld65.sgml: document the INIT segment
...
- re-arrange the segments in the "Special segments" section alphabetically
- some small changes in section 5.8 (FILE) regarding Atari XEX format
2021-02-11 20:58:17 +01:00
mrdudz
ab8bb26868
added testcase for issue #1937
2021-02-09 19:50:08 +01:00
Christian Groessler
6c90f3e2d2
atarixl configs: RAM memory area was renamed to MAIN in d8c31cf1d3
...
adjust comments accordingly
2021-02-09 11:22:58 +01:00
Oliver Schmidt
8551431233
Optimized based on https://github.com/cc65/cc65/pull/1393 .
2021-02-05 11:54:07 +01:00
acqn
6617a017fa
Added Opt_a_tossub for 8-bit subtraction.
2021-02-05 17:29:49 +08:00
jede
a9dac3b1ef
Fix X register for kbhit
2021-02-02 14:09:57 +01:00
jede
b52ee25385
Rollback read.s
2021-02-02 14:09:57 +01:00
jede
f622783ae1
kbhit added for telestrat target
2021-02-02 14:09:57 +01:00
jede
6c59a6254f
Now getchar works
2021-02-02 14:09:57 +01:00
acqn
95830cce29
Fixed test/misc/bug1265.c with its output.
2021-01-30 14:31:51 +01:00
acqn
bfc7a51a44
Fixed Issue #1265 according to C89/C99 standards.
2021-01-30 14:31:51 +01:00
acqn
c9ac515286
Functions with no prototypes might use EAX registers.
2021-01-30 14:31:51 +01:00
acqn
a1992702f8
Declarations of 'extern' object and function should be visible in the file scope.
2021-01-30 14:31:51 +01:00
acqn
a040c28cc4
Moved test for #1374 .
2021-01-19 14:33:27 +01:00
acqn
b99455cc47
Fixed Issue #1374 .
2021-01-19 14:33:27 +01:00
mrdudz
0846219672
added testprogram for issue #1374
2021-01-16 16:40:58 +01:00
polluks2
0636c4bc30
Merge pull request #1 from cc65/master
...
Update
2021-01-13 12:26:00 +01:00
Oliver Schmidt
a861d84011
Fixed recent addition of __A__.
2021-01-06 16:09:55 +01:00
Piotr Kaczorowski
0884278ae3
Correction in documentation regarding __A__ pseudo variable
2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
e3fa247012
Yet another fix typo in cc65.sgml
2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
601e628343
Another fix typo in cc65.sgml
2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
68e1faa2c8
Fix typo in cc65.sgml
2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
9662469957
Return-type warning and pseudo variable __A__ documentation added.
2021-01-06 16:05:04 +01:00
Rocky
a9b71b6207
return-type - new warning suppression type added
2021-01-06 16:05:04 +01:00
Greg King
d90cd11212
Fixed outdated comments.
2020-12-27 18:22:12 -05:00
Sven Michael Klose
9800555bbb
Remove stale comments.
2020-12-27 17:54:49 -05:00
Sven Michael Klose
9d62abb7ac
Fix comment.
2020-12-27 17:54:49 -05:00
Sven Michael Klose
db31204950
Remove stale comment.
2020-12-27 17:54:49 -05:00
Sven Michael Klose
6201300816
Fold constant calculation.
2020-12-27 17:54:49 -05:00
Sven Michael Klose
f59cb9af06
Use more compact loops.
2020-12-27 17:54:49 -05:00
Sven Michael Klose
99c0815cdb
Clear up comments a bit.
2020-12-27 17:54:49 -05:00
Sven Michael Klose
3957310950
Knock off two bytes from getcwd(), cbm_read() and cbm_write().
2020-12-27 17:54:49 -05:00
Jesse Rosenstock
e0c12c90cd
g_asr, g_asl: Use ROL/ROR for char shifts by >= 6
...
Instead of `val` right (left) shifts, we can also do `9 - val` left (right)
rotates and a mask. This saves 3 bytes and 8 cycles for `val == 7` and
1 byte and 4 cycles for `val == 6`.
2020-12-27 14:22:40 -05:00
Christian Groessler
ef258bdc19
remove TABs which again slipped in....
2020-12-25 07:16:26 +01:00
michael
d67b955e52
Fixed example of the OS struct usage for Atari 5200
2020-12-25 01:35:38 +01:00
baktrasf
2e9bada1f2
Atari 5200 OS header refinements
2020-12-25 01:35:38 +01:00
baktrasf
1c72da4904
Add operating system symbols for the Atari 5200 target
2020-12-25 01:35:38 +01:00
Jesse Rosenstock
dfd047ce6a
g_typeadjust: Use CF_CHAR for char args
...
If lhs and rhs are either both signed char or both unsigned char,
return flags for that type instead of (unsigned) int. The flags
are used only for codegen. Currently, this does nothing, since
codegen treats chars as ints unless CF_FORCECHAR is set, but it
allows more efficient char x char -> int codegen to be added in
the future.
2020-12-24 14:40:39 -05:00
Greg King
b2c1a77bb3
Fixed the cc65 code that optimizes 16-bit compares when the high bytes are known to be equal.
...
Only the low bytes are compared. Originally, signed 16-bit compares were optimized into signed 8-bit compares. But, the sign bits are in the high bytes; and, they're equal. Therefore, the low bytes always must be compared as unsigned numbers.
Fixes #1348 .
2020-12-24 12:27:09 -05:00
Oliver Schmidt
0f4cb443b4
Improved device I/O under DOS 3.3
...
Certain scenarios (e.g. not running any Applesoft program at all since booting DOS 3.3) can make DOS 3.3 consider cc65 device input (e.g. getchar()) that reads a CR interpreting the command in the keyboard buffer. Setting the hibyte of the Applesoft currently executed line number to some value <> $FF (beside setting the input prompt to some value <> ']') makes DOS 3.3 understand that we're not in intermediate mode and that therefore I/O not preceded with ctrl-d mustn't be fiddled with (see DOS 3.3 routine at $A65E).
2020-12-19 19:54:12 +01:00
Greg King
59c58acbe3
Documented the address size argument of the bss-name, code-name, data-name, and rodata-name pragmas.
2020-12-05 23:04:48 -05:00
Olli Savia
b22d8c7441
Added STATUS (0) definition
2020-12-03 12:13:23 +01:00
Polluks
9563541870
crt0 clean-up
2020-11-29 18:08:33 +01:00
Polluks
5fa7b90e05
crt0 clean-up
2020-11-29 17:10:34 +01:00
Tim Gates
2646c06f61
docs: fix simple typo, paramater -> parameter
...
There is a small typo in src/cc65/pragma.c.
Should read `parameter` rather than `paramater`.
2020-11-29 10:26:08 +01:00
Polluks
c663f64542
Added features; changed FFF0 segments
2020-11-28 20:56:12 +01:00
Polluks
a538188d90
Fixed some config mistakes
2020-11-28 20:56:12 +01:00
Polluks
9538ca29b2
Unified #1345
2020-11-28 20:56:12 +01:00