1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
Commit Graph

874 Commits

Author SHA1 Message Date
mrdudz
f328532030 updated docs with recently added extended memory drivers 2016-02-28 20:12:28 +01:00
Bob Andrews
25f4482641 Merge pull request #238 from mrdudz/gamate
Bit Corporation 'Gamate' support
2016-02-27 18:44:26 +01:00
Brad Smith
222ab93026 revise note on prototypes/K&R conventions 2016-02-26 17:33:46 -05:00
Brad Smith
fd708d30ec draft of cc65-intern document 2016-02-26 17:11:11 -05: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
polluks
cb3700ef66 Changed stdout to stderr to separate sim65's output streams. Suggested doc edit. 2016-01-05 17:45:18 +01:00
polluks
f69f8add17 Updated index. 2016-01-05 15:57:18 +01:00
polluks
231150bc3c Added sim65 documentation. 2016-01-05 15:45:51 +01:00
polluks
804f1fded6 Fixed typos. 2016-01-05 15:38:05 +01:00
Oliver Schmidt
02e4b5bfe3 Merge pull request #249 from polluks/master
My first PR
2015-12-27 13:40:20 +01:00
polluks
a8a6e9df5b Added chrcvt documentation 2015-12-27 02:09:12 +01:00
mrdudz
8a499fdf4e fixup conio.c some more. also includes merge of upstream/master because git is retarded. 2015-12-02 00:13:32 +01:00
mrdudz
3bc1375c90 fix typo 2015-11-29 22:00:59 +01:00
mrdudz
aff2d95cb9 fix docs 2015-11-29 21:15:28 +01: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
mrdudz
60285097e3 initial import of the gamate stuff 2015-11-14 13:15:29 +01:00
Oliver Schmidt
281dc33e5a Made addr/size hex consts 4 digits wide. 2015-10-30 17:19:19 +01:00
Oliver Schmidt
43bda6928d Merge pull request #221 from undisbeliever/master
Added .asize and .isize pseudo variables in ca65
2015-10-23 20:41:28 +02:00
mrdudz
ba901d2de7 removed apple2 specific note 2015-10-22 17:33:01 +02: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
mrdudz
07a77d1259 updated docs 2015-10-19 03:12:19 +02:00
mrdudz
5099910b18 updated docs 2015-10-18 23:57:58 +02:00
Lauri Kasanen
7f409c3edb nes: Expose and document all joypad keys 2015-10-05 17:19:36 +03:00
Lauri Kasanen
04be8020b6 nes: Document whether waitvblank waits for the start or end of vblank 2015-10-05 17:18:53 +03:00
mrdudz
d0a1dc73b8 Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-09-04 13:40:52 +02:00
mrdudz
01baf36fa8 fixed style issues 2015-09-03 13:09:18 +02: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
Greg King
52eec1f236 Updated the fastcall information in a document and two Assembly files. 2015-07-22 13:31:14 -04:00
mrdudz
996c7b493e moved all notes into regular documentation 2015-07-16 21:39:13 +02:00
mrdudz
21d7729ad1 Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-07-16 16:46:24 +02:00
mrdudz
1414411bba added waitvblank and fixed get_tv 2015-07-15 19:46:26 +02:00
mrdudz
83391ab67c some more tweaking, added docs page 2015-07-14 17:22:47 +02: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
Oliver Schmidt
a13284a792 Merge pull request #160 from Movax12/definedinstr
.DEFINEDINSTR
2015-06-04 22:05:00 +02:00
Oliver Schmidt
fe023a1218 Merge pull request #151 from greg-king5/fastcall
Make __fastcall__ be the default calling convention.
2015-05-26 22:39:33 +02:00
Greg King
b49fd26d16 Improved the compiler documentation, a little bit. 2015-05-26 11:23:54 -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
Oliver Schmidt
893af97ccd Fixed isblank() availability atttribute. 2015-05-13 14:54:12 +02:00
Oliver Schmidt
1e6629de8d Removed 'gh-pages'.
The 'gh-pages' goal has been moved to another Makefile. This reference was just a leftover.
2015-05-05 13:46:26 +02:00
Greg King
8743e9911d Added a command-line option to compile a program, with __cdecl__ as the default calling convention. 2015-04-22 09:59:23 -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
Stephan Mühlstrasser
7fb206e381 Macro-based implementation of screen layout configuration modules. 2015-03-23 19:02:45 +01:00
Greg King
52f5854813 Fixed a typo. 2015-03-14 16:50:08 -04:00
Oliver Schmidt
a7ecab38bd Improved vector (re)setting function docs. 2015-03-14 18:53:56 +01:00
Oliver Schmidt
15c64c3926 Replaced 'Limits' with 'Notes'.
Quite some items in the 'Limits' sections aren't actual limitations so it seems appropriate to just use a more neutral term.
2015-03-14 18:41:57 +01:00
Greg King
604a5b4447 Changed the documentation to reflect the new fastcall/cdecl reality. 2015-03-13 05:40:55 -04:00
Greg King
2ac615e27e Mentioned in the documentation how we can make the new format be the default. 2015-03-08 10:43:03 -04:00
Greg King
2d50267bd8 Added a second OSI C1P program file format.
Unlike the first format, the new format is already loadable; it doesn't need to be converted.
2015-03-07 16:39:44 -05:00
Oliver Schmidt
088c76e678 Merge pull request #148 from smuehlst/c1p
kbhit() implementation, fixed C data stack pointer initialization
2015-03-02 13:02:17 +01:00
Greg King
f5ac6b0dbf Updated the introduction to the Atmos target because I changed how its programs are started. 2015-02-28 00:17:07 -05:00
Stephan Mühlstrasser
7c4f96de81 kbhit implemented, note about limitation removed. 2015-02-23 20:28:05 +01:00
Stephan Mühlstrasser
92e75e9df8 Incorporated another round of feedback for pull request.
Adjusted comment formatting in several assembler files.
Removed dummy kbhit() function, as it's better to get a linker
error than an implementation that does the wrong thing.
2015-02-18 18:38:42 +01:00
Stephan Mühlstrasser
88df129215 Add dummy kbhit(), remove redundant documentation for cgetc(). 2015-02-12 22:54:21 +01:00
Stephan Mühlstrasser
4e03d7448c Merge branch 'master' of https://github.com/cc65/cc65 into c1p 2015-02-08 15:58:42 +01:00
Stephan Mühlstrasser
a1cc85768e Minor corrections. 2015-02-08 15:46:33 +01:00
Stephan Mühlstrasser
da8ec4f7b1 Completing OSI documentation. 2015-02-08 15:06:55 +01:00
Stephan Mühlstrasser
88249a2125 Fixed URL for SRecord. 2015-02-07 01:19:03 +01:00
Stephan Mühlstrasser
04469be331 Minor corrections to documentation. 2015-02-07 00:22:16 +01:00
Stephan Mühlstrasser
680c62d589 Start documentation for Ohio Scientific targets. 2015-02-06 22:53:36 +01:00
Oliver Schmidt
6b3083053c Merge pull request #143 from greg-king5/basic-stub
Support Atmos command line
2015-01-10 23:46:43 +01:00
Greg King
2ef83bd66c Mentioned, in the Atmos document, the extra byte at the end of program binaries. 2015-01-09 13:55:16 -05:00
Greg King
d9df576fa6 Used an easier-to-remember way of creating a program that uses graphics RAM for other purposes. 2014-12-13 09:52:39 -05:00
Greg King
8d5bb55281 Made some descriptions less ambiguous. 2014-12-03 12:02:48 -05:00
Greg King
0ee891c106 Completed the coding of da65's SEGMENT feature.
Before this commit, we could define segment ranges; but, the disassembler wouldn't do anything with those definitions.  Now, da65 will put ".segment" directives into its output.

Fixed da65's document.
2014-11-23 15:29:16 -05:00
Greg King
09e50d433d * Changed the way that Atmos programs are started.
- Put a BASIC-language stub at the beginning.
  - Removed the Autostart flag.

  Those changes make it easy to give command-line arguments to a program.

* Made the Atmos configure file accept a special symbol definition on ld65's command line.  We can use "__RAMEND__" to increase the amount of RAM that's available to programs.
2014-11-09 06:32:11 -05:00
Oliver Schmidt
5b55fa4500 Adjusted URL. 2014-11-03 23:33:01 +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
497b161d12 fix warning when generating info file 2014-05-29 00:41:39 +02:00
Christian Groessler
803e9904db small doc update 2014-05-28 00:34:34 +02:00
Christian Groessler
40d7ebd719 more doc updates for atari5200 2014-05-27 02:44:59 +02:00
Greg King
b4f4c3bb4d Updated the function reference document.
* Fixed the description of strncpy().
* Added some [commented out] function names to the lists for some headers.
2014-05-26 06:04:53 -04:00
Greg King
628d27327b Slightly refined the strqtok() documentation. 2014-05-22 13:58:51 -04:00
Greg King
1669c25b8a Documented strqtok(). 2014-05-22 11:18:30 -04:00
Christian Groessler
f1ece57c05 more documentation updates for Atari 5200 2014-05-16 02:27:20 +02:00
Christian Groessler
c382c59579 documentation updates for Atari 5200 2014-05-16 02:26:20 +02:00
Greg King
f7f2069587 Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools. 2014-04-25 05:04:03 -04:00
Greg King
d2bb12d17a Avoided some makeinfo warnings when Cygwin runs LinuxDoc Tools. 2014-04-25 03:33:53 -04:00
Greg King
e4f8b6fef0 Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools. 2014-04-24 13:03:52 -04:00
Christian Groessler
4a1eff1d84 Document mouse callbacks and some other small changes. 2014-04-24 02:04:17 +02:00
Greg King
bf2e79f30c Fixed typos. And, fixed descriptions of where ld65 looks for files. 2014-04-20 11:45:36 -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
Greg King
42595fbf13 Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
Oliver Schmidt
b92630142f Harmonized usage of "KB" and "cc65". 2014-03-30 22:10:37 +02:00
Oliver Schmidt
180caeba0a Added doc install target. 2014-03-29 23:25:47 +01:00
Greg King
cb838a43fa Added document lines that name the default device drivers.
Also:
- Changed some <htmlurl> tags to <url>.  Now, those links will show their URL addresses (in addition to their names) in info and text pages.
- Added some Atmos-specific function names to its document.
- Fixed some punctuation syntax.
2014-03-28 13:59:31 -04:00
Christian Groessler
508e2ba9c8 Add information about which drivers are the default drivers. 2014-03-22 10:42:12 +01:00
Oliver Schmidt
c0b5be9944 Reflect the fact that LOADER.SYSTEM is delivered as 'targetutil'. 2014-03-15 19:01:46 +01:00
Oliver Schmidt
3d8179df30 Not splitting the docs anymore requires link adjustment. 2014-03-15 18:53:30 +01:00
Oliver Schmidt
e227a07c8f Adjusted doc to recent drop of VER_PATCH. 2014-03-10 19:03:01 +01:00
Oliver Schmidt
8236b0dd74 Upload zip file. 2014-03-09 01:20:39 +01:00