1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
Commit Graph

169 Commits

Author SHA1 Message Date
Zsolt Branyiczky
b33b053307 add c64dtv support 2020-11-15 16:35:55 +01: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
f8be35b41e Fixed some typos in the "large alignment" support. 2020-05-15 21:09:02 -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
Jeremy Chadwick
4e3abf417f Use the word 'macros' universally (not macroes) 2019-08-27 08:34:35 +02:00
Christian Groessler
7445550831 remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
Greg King
c37582bb00 Fixed a note in "ca65.sgml".
String escapes are converted to a target platform's encoding.
2019-01-30 12:18:32 -05:00
Oliver Schmidt
cd72f816d3
Merge pull request #829 from inexorabletash/string-escapes
ca65: Add string_escapes feature. Resolves #535
2019-01-20 21:58:06 +01:00
Greg King
a6b04f6e97 Changed most "backticks" (grave accents) into apostrophes.
Quotations that are embraced by tick marks now look better, in most fonts.
2019-01-05 14:57:12 -05:00
Joshua Bell
c8bf652982 ca65: Add string_escapes feature. Resolves #535 2019-01-05 11:29:54 -08:00
Brad Smith
16aec54276 ca65.sgml fails to document z: a: f: address size override prefixes. 2018-10-18 08:12:55 +02:00
Oliver Schmidt
6cce110345 Adjusted URL to use https (and removed obsolete dates). 2018-09-20 12:45:15 +02:00
Phil Smith
ded1c20190
Reserve space in examples with .res 2017-09-02 19:30:14 -07:00
Phil Smith
929553dc8d
At most 256 bytes will be reserved 2017-09-02 00:02:47 -07:00
Oliver Schmidt
b8f30ba0de Merge pull request #436 from bbbradsmith/ca65_define_macro_doc
Small improvement to ca65 macro documentation
2017-06-05 15:03:37 +02:00
Brad Smith
051cf11ce6 expanding macro examples, trying to adhere to style guidelines 2017-05-23 17:07:45 -04:00
Brad Smith
355696d17d ca65 documentation of .define macros, making note that parentheses in ca65 macros are problematic especially when thinking of them as "C style", replacing unclear example with an example showing how accidental parentheses can cause a problem. 2017-05-22 21:33:02 -04:00
Florent Flament
2a81eaa06e Add Atari 2600 documentation 2017-01-15 20:53:34 +01:00
Kyle Swanson
1b4a7e37ce doc/ca65: fix typo 2016-12-27 11:46:12 -06:00
Jakob Haufe
86fc0240a9
Add missing tag and remove duplicate text 2016-09-23 10:50:46 +02:00
Sven Oliver Moll
0949b2e104 added missing ',' in documentation. 2016-09-12 18:38:10 +02:00
Sven Oliver Moll
ae3f9bbd77 Added assembler pseudo commands .P4510 and .IFP4510 together with docs and testcase 2016-09-07 19:21:24 +02:00
Sven Oliver Moll
4384603eeb 4510 support: added some other small improvements:
- fixed typo in doc/ca65.sgml
- Greg found a way to get rid of one extra opcode handling in total
2016-08-30 22:58:40 +02:00
Sven Oliver Moll
91f8e09bcc 4510 support: fixed some cosmetical stuff and documentation 2016-08-29 23:29:31 +02:00
Sven Oliver Moll
0538184699 Add 4510 support for C65/C64DX 2016-08-29 10:45:18 +02:00
Greg King
573381a340 Allowed character code zero to be remapped with other character codes. 2016-06-11 06:43:19 -04:00
Oliver Schmidt
e2419ece0b Added scrcode macro for the Apple II.
Although the Apple II generally works with plain ASCII (i.e. in the ProDOS 8 MLI) the actual screen codes differ. This fixes #260.
2016-03-27 18:26:46 +02:00
John Brandwood
ef153364ea Add indirect JMP examples and fix typos in the documentation. 2016-02-26 08:10:11 -08:00
John Brandwood
d23db09f7f Add optional feature to use brackets instead of parens for 6502 indirect addressing. 2016-02-25 12:40:31 -08:00
Greg King
3c8c62c6ab Fixed the ca65 Assembly-code variable ".paramcount".
Fixed how it's described in the ca65 document.
2015-11-17 14:21:40 -05:00
Marcus Rowe
67cd0c2197 Added .asize and .isize pseudo variables
These pseudo variables will return the size of the accumulator/index
in bits.

For the 65816 instruction set .ASIZE/.ISIZE will return either 8 or 16,
depending on the current size of the operand in immediate addressing
mode.

For all other CPU instruction sets, .ASIZE/.ISIZE will always return 8.

For example:

	; Reverse Subtract with Accumulator
	; A = memory - A
	.macro rsb param
		.if .asize = 8
			eor	#$ff
		.else
			eor	#$ffff
		.endif
		sec
		adc	param
	.endmacro
2015-10-20 09:30:25 +10:00
Greg King
05df907114 Fixed the syntax in the shortcut expansion of ".ZEROPAGE".
Added a reference from ".SEGMENT" to ".ZEROPAGE".
2015-08-01 05:50:13 -04:00
Greg King
a55b6ef3db Removed obsolete lines from a list of 65816 mnemonic aliases.
Described what the macroes in macro package "generic" do.
2015-07-29 06:55:50 -04:00
JT
e7fca18798 Added .DEFINEDMACRO psuedo function
Fixed typo/fomatting

Formatting fix

Refactor the code to test for a macro

Remove .FEATURE requirement for .DEFINEDMACRO
2015-06-27 01:39:11 -04:00
JT
c30d87f0b7 Update documentation to .ISMNEMONIC 2015-05-22 20:33:42 -04:00
JT
9ee5adc190 Remove .FEATURE requirement and add documentation 2015-05-19 00:06:12 -04:00
JT
0d765abd6c Fix typo in documentation for .ADDRSIZE 2015-04-21 16:24:27 -04:00
JT
ffa52863b3 Small changes to coding style and to ca65 documentation for .ADDRSIZE 2015-04-21 16:09:01 -04:00
JT
2d3cf98bc8 2nd Small change to .ADDRSIZE documentation 2015-04-20 19:40:41 -04:00
JT
9e9884764e Small change to .ADDRSIZE documentation 2015-04-20 19:09:18 -04:00
JT
499eab65f1 Updated documentation for .ADDRSIZE and .FEATURE addrsize 2015-04-20 18:56:34 -04:00
Stephan Mühlstrasser
810fe229e9 Document osic1p-specific constants. 2015-03-23 19:31:46 +01:00
Oliver Schmidt
2c975d3642 Create static drivers directly from source files.
Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:

The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.

However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.

Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').
2014-06-04 23:50:18 +02:00
Oliver Schmidt
99f0a56f63 Merge pull request #122 from groessler/a5200
new target: Atari 5200 console
2014-05-30 22:52:51 +02:00
Christian Groessler
c382c59579 documentation updates for Atari 5200 2014-05-16 02:26:20 +02:00
Greg King
e4f8b6fef0 Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools. 2014-04-24 13:03:52 -04:00
Greg King
bb9aa7558f Fixed the SGML <htmlurl> and <url> tags.
Those tags have two attributes: "url=" and "name=".  In the non-HTML output formats, <url> shows both fields, while <htmlurl> shows only the name field (as the HTML format always does.)  Thus, the general rules are
1. If the two attributes are different, then use <url>.
2. If they are similar, then use <htmlurl>.
3. If they are the same, then consider using <url> without the "name=" attribute.
(The reason for rules 2 and 3 is that the same text shouldn't be shown twice.)

There can be exceptions.  Example: "od65.sgml" has <htmlurl> because the URL
would disturb the flow of a sentence.
2014-04-14 05:54:13 -04:00
Greg King
79d8a0d857 Streamlined the document author credits. 2014-04-08 15:36:39 -04:00
Oliver Schmidt
e227a07c8f Adjusted doc to recent drop of VER_PATCH. 2014-03-10 19:03:01 +01:00