Greg King
ae6696fcb9
Removed some ambiguity from a statement.
...
A limited number of bit-field types are required by the C standard, not by cc65.
2020-09-08 10:55:07 -04:00
Jesse Rosenstock
4e4e4c2d21
Allow char bit-fields
...
These are not required to be supported (only int, signed int, and
unsigned int are required), but most compilers support it.
https://port70.net/~nsz/c/c89/c89-draft.html#3.5.2.1
https://port70.net/~nsz/c/c89/c89-draft.html#A.6.5.8
For consistency with other integral types, plain `char` bit-fields
are unsigned, regardless of the `--signed-chars` option.
Fixes #1047
2020-09-08 14:24:04 +02:00
Jesse Rosenstock
85e8a6cb9f
Clarify docs that bss is zero-initialized
...
Addresses comment raised in #1202 .
2020-08-19 13:24:15 +02:00
Jesse Rosenstock
7e61b11f23
Add _Static_assert docs to cc65 extensions
...
Fixes #1149 .
2020-08-16 21:57:04 +02:00
Greg King
ba48dfe65d
Fixed a typo in the CX16 document.
2020-07-16 14:06:23 -04:00
Spiro Trikaliotis
0e55d33cc3
Fix info page building for newer linuxdoc
...
In ca65.sgml, the following pattern was used in tables in order to
create an empty row:
||~@
That is, the first two columns are empty, the last one has an
Unfortunately, with newer linuxdoc, this fails, as the empty columns
create two @item directly after each other, which is not allowed.
Changing this to
~|~|~@
fixes it by adding an " " into each column.
Furthermore, the last line had a "newrow" (@) separator, which created
an artifact. Removed that one.
2020-07-16 19:25:40 +02:00
Greg King
4296cbaf82
Added a 320x200x256 TGI driver to the Commander X16 library.
...
Made the mandelbrot sample program handle the X16's 256 colors.
2020-07-15 17:30:58 -04:00
Greg King
410e4502ee
Added a 160x192x2 TGI (graphics) driver to the VIC-20 library.
...
The driver requires a special linker configuration: "vic20-tgi.cfg".
The VIC-20 computer needs at least 8K of expansion RAM!
"tgidemo.c" needed to be adjusted because the VIC-20's vertical (y) range is greater than its horizontal (x) range -- the opposite of most other platforms. Also, the circle demo would jam on the VIC-20.
2020-07-08 05:55:30 -04:00
Daniel Serpell
17c5504129
In Atari XEX output format, join memory areas if possible.
...
This makes executables shorter if two memory areas are consecutive.
2020-07-04 23:28:10 +02:00
Dirk Jagdmann
3cbe485b94
fix description of Kerberos memory
2020-06-22 23:55:45 +02:00
Dirk Jagdmann
9227b0ccaf
sort items
2020-06-22 23:55:45 +02:00
Dirk Jagdmann
cb26766651
add C64 documentation
2020-06-22 23:55:45 +02:00
Oliver Schmidt
37107174c6
Added waitvsync() for the Enhanced Apple //e.
...
The implementation is a bit tricky as it requires to take different code paths for the //e, the //c and the IIgs. Additionally the //c only provides a VBL IRQ flag supposed to be used by an IRQ handler to determine what triggered the IRQ. However, masking IRQs on the CPU, activating the VBL IRQ, clearing any pending VBL IRQs and then polling for the IRQ flag does the trick.
2020-06-18 21:44:57 +02:00
Greg King
2acb3b153b
Added some "See also" links to the TGI color-count descriptions.
2020-06-08 20:09:45 -04:00
Greg King
87144a15dd
Fixed the "verbatim" tags in the TGI document.
2020-06-08 17:22:02 -04:00
Greg King
bc1e884988
Documented how the TGI API shows when a palette has 256 colors.
2020-06-08 16:39:11 -04:00
Oliver Schmidt
555282497c
Removed --lib option from cl65.
...
The general approach of cl65 when generating the command lines to be executed is to first put options and the put files. However, this doesn't work well with the --lib option which would rather need to be put when libraries in general are put. I opted to not add this special behavior to cl65 as
* the use case for the --lib option is _VERY_ specific
* cl65 is after all a wrapper for ordinary use cases
2020-05-30 21:03:15 +02:00
jede
7ae6430728
Fix typo
2020-05-28 08:50:20 -04:00
jede
532240a2db
Telestrat joystick management
2020-05-28 08:50:20 -04:00
Greg King
f8be35b41e
Fixed some typos in the "large alignment" support.
2020-05-15 21:09:02 -04:00
Chris Cacciatore
3adeb0f907
Removed invalid link to ca65 document.
2020-05-15 17:54:41 -04:00
Chris Cacciatore
ad1eadd60d
Added support for --large-alignment in ld65.
...
Implemented the same way as in ca65.
2020-05-15 17:54:41 -04:00
Greg King
8b5a2f135c
Added missing <tag> and <itemize> Linuxdoc tags to some ctype.h function descriptions.
2020-03-27 00:59:15 -04:00
Dirk Jagdmann
beaa77d2d6
fix whitespace
2020-03-23 11:47:51 +01:00
IrgendwerA8
ce80624f62
ctype size optimization
2020-02-03 20:45:09 +01:00
Greg King
b66f7272af
Updated the cx16 library to the ROM's prerelease 36.
2020-01-11 02:20:52 -05:00
Greg King
3fa253d31f
Updated the cx16 library to the Commander X16 Kernal's prerelease 35.
2019-12-25 10:56:32 -05:00
Greg King
f75657d7e2
Added <cx16.h> to the function reference document.
2019-11-20 12:11:47 -05:00
Stefan
c9d2c10cbd
Update vic20.sgml
2019-11-20 12:54:47 +01:00
Stefan
a56b176749
Update plus4.sgml
2019-11-20 12:54:47 +01:00
Stefan
ea16316e33
Update pce.sgml
2019-11-20 12:54:47 +01:00
Stefan
7361aa9959
Update nes.sgml
2019-11-20 12:54:47 +01:00
Stefan
c08f1e4bfd
Update funcref.sgml
2019-11-20 12:54:47 +01:00
Stefan
63ab22f97f
Update cx16.sgml
2019-11-20 12:54:47 +01:00
Stefan
49ebac7ac1
Update cbm510.sgml
2019-11-20 12:54:47 +01:00
Stefan
94892231bc
Update c64.sgml
2019-11-20 12:54:47 +01:00
Stefan
9bf2bf308a
Update c128.sgml
2019-11-20 12:54:47 +01:00
Stefan
9ab614d764
Update c16.sgml
2019-11-20 12:54:47 +01:00
Greg King
5da525e0ea
Added a standard mouse driver to the cx16 library.
2019-11-16 14:51:24 -05:00
Greg King
d78133e1f0
Updated cx16 to match the Commander X16 ROMs and emulator, release 34.
2019-11-16 13:11:40 -05:00
Greg King
4dda5d2173
Changed a "See also" link in the abort() and assert() descriptions from raise() to signal().
...
Programmers might want to use signal() to catch the SIGABRT that's sent by abort() and assert().
2019-11-12 11:57:38 -05:00
Greg King
ac4866c027
Made assert() send SIGABRT when an assertion fails.
...
A signal handler can catch it, and do anything needed to make stderr work.
2019-11-10 12:46:01 -05:00
Stefan
7f7db01e25
Fixed typos
2019-11-10 03:21:43 -05:00
Greg King
d7ec817f0a
Fixed a typo in the cx16 document.
2019-09-30 10:41:21 -04:00
Greg King
18afc7c703
Created a target and a library for the Commander X16 prototype computer.
2019-09-27 03:38:51 -04:00
Greg King
0896deedef
Added a .ORG keyword to ca65 structs/unions.
...
Allow 24-bit numbers as operands in ca65 structs/unions.
2019-09-11 19:00:08 -04:00
Oliver Schmidt
3b128ba59f
Use MACHID to check for realtime clock.
...
There's no need to do guesswork to know if a realtime clock is present/active.
2019-09-10 09:49:06 +02:00
Jeremy Chadwick
4e3abf417f
Use the word 'macros' universally (not macroes)
2019-08-27 08:34:35 +02:00
Jeremy Chadwick
57b997355f
Grammatical modifications
2019-08-26 09:32:14 -04:00
Jeremy Chadwick
cc373cc41d
doc: clarify need for .IMPORT on some special symbols
2019-08-26 09:32:14 -04:00