polluks2
1cdd4676b2
Fixed many typos
2021-12-14 13:13:16 +01:00
Oliver Schmidt
b35a9d97a6
Updated URL and improved consistency.
2021-12-12 23:59:22 +01:00
Wayne Parham
1d36f255ec
Added Sym-1 link to documentation doc/index.sgml
2021-11-24 22:26:43 +01:00
Oliver Schmidt
8b0de8a931
Merge branch 'master' into master
2021-11-23 22:56:51 +01:00
Oliver Schmidt
f796c26091
Added hint on clock().
...
clock() isn't available on the Apple II - and never will be.
2021-11-21 22:56:02 +01:00
mrdudz
cf1c0b6774
move hints on how to run binaries from the target specific pages to the intro page, where they should be.
2021-09-28 22:18:49 +02:00
Oliver Schmidt
28b1687aaf
Be explicit about hardware flow control (RTS/CTS) being the only supported option.
2021-09-26 12:09:50 +02:00
Spiro Trikaliotis
62da869e49
doc: psg_silence: Remove empty notes
...
The notes section of psg_silence (Creativision funcref) contained an
empty Notes section, consisting of an empty <itemize> only.
Newer sgmltools fail on this, as they insist on having an <item>
element, or they fail compilation:
[ 225s] Processing file ../doc/funcref.sgml
[ 225s] onsgmls:/tmp/linuxdoc-tools.NfxbjODQbW/sgmltmp.funcref.01.precmdout:5884:9:E:end tag for "ITEMIZE" which is not finished
Fixed this by removing the (empty) Notes section altogether.
2021-06-21 22:10:31 +02:00
Wayne Parham
f98e5f4feb
Stylistic changes
2021-06-15 17:14:27 -05:00
Wayne Parham
11d81b1f43
Stylistic changes
2021-06-15 16:39:28 -05:00
Wayne Parham
4db50e8e93
Documentation update: Mention where to find sym1 sample programs
2021-06-13 11:29:30 -05:00
Wayne Parham
2a25921515
Sym-1 documentation updates
2021-06-07 20:00:18 -05:00
Wayne Parham
6c4c959141
Sym-1 lib changes
2021-06-06 21:28:03 -05:00
Wayne Parham
e687f2f048
Clarified 'Limited memory applications' section
2021-06-06 17:55:58 -05:00
Wayne Parham
7d5fc7eb43
Changed kb references to KB
2021-06-06 17:51:24 -05:00
Wayne Parham
69e2313a63
First round of requested code changes
2021-06-06 23:20:54 +01:00
Greg King
c0f29993e0
Fixed the descriptions of the Creativision's functions.
...
Fixed bios_playsound()'s position in the alphabetical list of functions.
2021-05-29 08:53:13 -04:00
Polluks
30830e1348
Added missing Creativision functions
2021-05-25 10:42:21 +02:00
mrdudz
6d560f4236
change prototype for GraphicsString() to void __fastcall__ GraphicsString(const void *myGfxString);
2021-05-18 15:16:14 +02:00
mrdudz
c53059468e
fix documentation for the driver _init calls
2021-05-17 14:25:18 +02:00
WayneParham
e9fd87d07a
Merge branch 'master' into master
2021-05-16 10:02:37 -05:00
Greg King
5d198d6842
Fixed some URL links in a couple of documents.
2021-05-12 05:05:39 -04:00
Wayne Parham
f09ffb2a45
symNotepad.c
2021-05-12 01:08:13 +01:00
Bob Andrews
82ee502f57
Merge branch 'master' into wrapped-call
2021-05-11 14:16:25 +02:00
mrdudz
ef8c70c7af
use url instead of htmlurl, add note on least significant 8bits of the bank value
2021-05-11 13:36:30 +02:00
Wayne Parham
f81aefe8bd
Synertek Systems Sym-1 config files
2021-05-09 17:13:24 -05:00
mrdudz
3ea330f15f
update docs
2021-05-08 01:03:43 +02:00
mrdudz
729690e9e9
document the wrapped-call extension
2021-05-05 16:07:47 +02:00
Evgeny Vrublevsky
8e02f8f5ec
Add .REFTO as an alias to .REFERTO. Update the docs related to it.
2021-04-29 07:55:43 -04:00
Evgeny Vrublevsky
50a58e7706
Added documentation for the .REFERTO.
2021-04-29 07:55:43 -04:00
Greg King
1f4ce41846
Fixed the alphabetic sorting of the "Pseudo functions" section.
2021-04-24 13:48:42 -04:00
Greg King
4866ee53e6
Moved some Assembly function descriptions out of the "Control commands" section, and into the "Pseudo functions" section.
2021-04-24 13:20:10 -04:00
Marco Aurelio da Costa
fd3d5d35fb
mc: Implemented .LITERAL
2021-04-19 15:42:29 +02:00
Marco Aurelio da Costa
1993d5c091
mc: Documentation for .PUSHCHARMAP/.POPCHARMAP
2021-04-18 20:39:05 +02:00
Greg King
6bb1b6953f
Documented the options to control cc65's warnings about induced pointer type changes.
2021-04-17 01:59:09 -04:00
Dirk Lehmann
eb1cf750f2
-W-unreachable-code option added, alphabetic order of --list-warnings
2021-04-13 09:37:55 +02:00
Oliver Schmidt
0ed41db478
Some minor clarifications.
2021-04-06 01:45:41 +02:00
Greg King
0f1386ff4c
Added documentation about the slightly different behavior of cpeekcolor() on the cx16 platform.
2021-03-25 08:28:15 -04:00
Christian Groessler
531a31722e
fix typo
2021-03-22 14:06:40 +01:00
Greg King
bb3a2db5a0
Fixed an ambiguous statement about CONDES segments.
2021-02-21 15:44:59 -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
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
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
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
Zsolt Branyiczky
032b4e3979
Fixed typo
2020-11-19 22:02:07 +01:00
Zsolt Branyiczky
130d3b52a2
new macros supporting 6502DTV cpu
2020-11-19 22:02:07 +01:00
Polluks
c59e8277ae
Added prototype
2020-11-18 10:28:19 +01:00
Zsolt Branyiczky
dd44dc4d77
Fix typo
2020-11-15 16:35:55 +01:00
Zsolt Branyiczky
06dfef81a1
Added 6502dtv description to cpu option
2020-11-15 16:35:55 +01:00
Zsolt Branyiczky
b33b053307
add c64dtv support
2020-11-15 16:35:55 +01:00
Greg King
aad17a6f05
Made two GEOS directory functions return NULL if they can't give a valid entry.
2020-10-29 18:06:01 -04:00
Christian Groessler
3537210674
add waitvsync() for atari and atari5200
2020-10-28 21:12:32 +01:00
Oliver Schmidt
8e685a0071
Mention recursion.
2020-10-23 18:35:14 +02:00
Oliver Schmidt
947dd9aca0
Adjusted ChkDkGEOS.
2020-10-22 08:54:07 +02:00
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
Greg King
a0db846a97
Allowed old-style (K and R) function declarations to be fastcall.
...
That lets them match old-style definitions. It avoids "Type conflict" error messages. It allows shorter function calls.
Fixed the types of some variables in "test/ref/otccex.c". It avoids crashes on 64-bit Windows (32-bit Windows with 64-bit pointers).
2019-07-22 09:26:23 -04:00
jede
7f9e73a1ce
Add textcolor and bgcolor.s
2019-07-21 14:11:51 -04:00
Lauri Kasanen
5cbbb4597f
Document binary literals
2019-07-20 17:21:42 +02:00
Oliver Schmidt
e34ee32973
Reduced shadow for h2 to improve readability.
2019-06-04 11:46:15 +02:00
bbbradsmith
5269552346
sim65 common define for paravirt hooks base location
...
allows the loaded binary to take up as much space as possible
restored some documentation of the hooks but without reference to specific location
2019-05-31 10:40:04 +02:00
Oliver Schmidt
6efb71bea7
Rearranged paravirt function vector.
...
- exit right below 6502 vectors.
- keep exit addr stable as it may be called from asm.
2019-05-30 00:10:17 +02:00
bbbradsmith
3612edf4fa
sim65.sgml typo: bold is bf not **
2019-05-29 22:56:51 +02:00
bbbradsmith
fb7d4acd5c
versionable header for sim65
...
load and run address now configured from header
fix error codes not to conflict with test
fix test/misc/endless.c which is supposed to fail if an endless loop does not occur
2019-05-29 22:56:51 +02:00
bbbradsmith
2f3cae0d2e
movable sp for sim65
2019-05-29 22:56:51 +02:00
Brad Smith
38d2eb7a0e
cc65.sgml incorrectly closed tt
2019-05-29 22:41:24 +02:00
Brad Smith
26d436b90d
separating standard file I/O from low-level paravirtualization
2019-05-27 21:09:19 +02:00
Brad Smith
53bfd2e8cd
added name
2019-05-27 21:09:19 +02:00
bbbradsmith
4acf011fa4
noting that standard file functions work as well
...
correcting target name
2019-05-27 21:09:19 +02:00
Brad Smith
42beb29f72
sim65.sgml syntax error unclosed tt
2019-05-27 21:09:19 +02:00
bbbradsmith
17505e2173
sim65.sgml noting sim65c02 target as well
2019-05-27 21:09:19 +02:00
bbbradsmith
69c7acb3bc
some documentation for sim65
2019-05-27 21:09:19 +02:00
Brad Smith
d56e3adf2f
CC65 -> cc65
2019-05-15 18:19:45 +02:00
Brad Smith
0d000bb629
Document --debug-opt-output and --debug-opt
2019-05-15 18:19:45 +02:00
Lauri Kasanen
f16ce22281
doc: Rename aux member to data
2019-05-15 11:17:45 +02:00
Lauri Kasanen
c2f3421dee
Document using inline asm with SoA, structs with array members
2019-05-15 11:17:45 +02:00
Christian Groessler
a24e3d9e72
ld65.sgml: document '--allow-multiple-definition' switch
2019-05-01 10:57:48 +02:00
Oliver Schmidt
7b234d4497
Adjusted doc to code.
...
The requirement in question was lifted with 6ead4abf24
back in 2011.
2019-04-30 17:55:26 +02:00
Lauri Kasanen
55ce618bf2
Document computed gotos
2019-04-21 12:46:03 -04:00
Oliver Schmidt
ac0b452834
Added '_' prefix to sin and cos.
...
Users complained that otherwise the names might clash with their functions.
2019-04-13 11:25:54 +02:00
Christian Groessler
cb7882a202
atari5200.sgml: small fix for last change
2019-04-13 11:07:06 +02:00
Christian Groessler
03311e7268
atari5200: update docs for recent conio changes
...
also renames libsrc/atari5200/extra/conioscreen_20x12.s to
libsrc/atari5200/extra/conioscreen-20x12.s to be in line with
other optional link modules
2019-04-13 11:07:06 +02:00
IrgendwerA8
df80d071e8
Added space after function name.
2019-03-29 22:53:04 +01:00
IrgendwerA8
3d8c3a4948
Code review adaptations, removed "cc65_" prefix from functions
2019-03-29 22:53:04 +01:00
IrgendwerA8
435f417c64
Moved documentation to funcref.
2019-03-29 22:53:04 +01:00
IrgendwerA8
db8bd84a82
Changes due to code review.
2019-03-29 22:53:04 +01:00
IrgendwerA8
399250a105
Optimized mul20 & mul40 and extracted to new library.
2019-03-29 22:53:04 +01:00
Greg King
2cd4b5109a
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
2019-03-24 14:39:04 -04:00
Daniel Serpell
f94a125f30
Adds address after JVB instruction in the display list example.
2019-03-23 18:38:26 +01:00
IrgendwerA8
8ead5f2f5a
Access Atari OS variables by structure.
2019-03-03 22:50:57 +01:00
Stefan
01489f9ffc
Update cbm510.sgml
...
There is just one CIA but it's not called "CIA1"...
2019-02-26 18:38:05 +01:00
Christian Groessler
de519b969a
Merge remote-tracking branch 'dmsc/xex-c' into upstream-master
2019-02-23 01:14:54 +01:00
Daniel Serpell
824e30934e
Change XEX configuration file names to better reflect original names.
...
Also, updates documentation with the new files.
2019-02-21 19:00:17 -03:00
Daniel Serpell
b03ae76b54
Add support for INITAD to the Atari binary format.
2019-02-21 19:00:03 -03:00
Christian Groessler
b6f22d332b
un-remove TABs in doc/using-make.sgml
2019-02-21 13:45:51 +01:00
Christian Groessler
7445550831
remote TABs in doc/ and test/
2019-02-12 22:50:49 +01:00
Oliver Schmidt
b9ea77b185
Merge pull request #834 from jedeoric/master
...
Update telestrat target doc, add tgi_clear support for telestrat target, stratsed & telemon 2.4 vars added
2019-02-12 17:51:24 +01:00
jede
a4a968dfd1
Fix typo
2019-02-04 20:42:03 +01:00
Daniel Serpell
e767c8990d
Adds documentation and a sample config file for the ATARI format.
2019-02-03 18:16:46 -03: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
jede
620359fa2e
add more clearly what rom stratoric contains
2019-01-30 13:28:50 +01:00
jede
a3d876b737
fix comma in telestrat.sgml
2019-01-26 12:01:48 +01:00
jede
dfa91106fd
fix doc/telestrat.sgml
2019-01-26 12:00:13 +01:00
jedeoric
63e64f801a
Merge branch 'master' into master
2019-01-25 10:15:21 +01: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
Marrin
003d6542e4
Fixed documented return type.
2019-01-02 12:06:01 +01:00
Scott Hutter
fa27c9dfc6
Moved contents of SetNewMode doc
2018-12-30 18:57:46 +01:00
Scott Hutter
74f622d9c6
corrected text formatting
2018-12-30 18:57:46 +01:00
Scott Hutter
0012b6d811
SetNewMode() documentation = issue #814
2018-12-30 18:57:46 +01:00
Oliver Schmidt
180bb0823a
Fixed typo.
2018-12-03 12:52:00 +01:00
Christian Groessler
462d8096c0
atari.sgml: use consistent naming for realtime clock.
2018-11-16 16:13:43 +01:00
Christian Groessler
9405323815
Some documentation fixes
...
- gamate.sgml: remove empty section "Hardware access"
- telestrat.sgml: remove wrong "<descrip>" tags
2018-11-16 16:13:43 +01:00
Christian Groessler
b8bd075e5e
atari.sgml: fix typo
2018-11-16 16:13:43 +01:00
Christian Groessler
bc6127ffef
atari.sgml: Add documentation for Atari clock_... functions implementation.
2018-11-16 16:13:43 +01:00
Oliver Schmidt
ee6b2edd72
Replaced systime() with clock_gettime().
2018-11-16 12:54:26 +01:00
Oliver Schmidt
3ffefb0f0d
Fixed reference to clock_settime().
2018-11-16 12:45:45 +01:00
Oliver Schmidt
582aa41f2a
Fixed typo.
2018-11-14 18:02:56 +01:00
Oliver Schmidt
4b42d6ad54
Added target docs on the clock_... functions.
2018-11-13 18:33:51 +01:00
Oliver Schmidt
83768a1e8a
Fixed two typos.
2018-11-13 18:33:51 +01:00
IrgendwerA8
61a9871c21
Adaptations due to code review.
2018-11-12 14:36:40 +01:00
IrgendwerA8
f86ebbd258
Support for self explanatory KBCODE values
2018-11-12 14:36:40 +01:00
jede
b0495cb44a
Update doc (how telestrat works), tgi_outtext doc added
2018-11-10 14:54:43 +01:00
Oliver Schmidt
8fd1db4d78
Added basic docs on the clock_... functions.
2018-11-08 20:43:46 +01:00
Oliver Schmidt
679d0468b9
Updated URLs.
2018-11-06 11:57:57 +01:00
jede
af7b271f55
update ld65.sgml with telestrat target
2018-10-19 23:43:40 +02:00
Evgeny Vrublevsky
f73aa2af71
'--no-std-lib' was renamed to '--no-target-lib'
2018-10-19 10:57:10 +02:00
Oliver Schmidt
96196f00e9
Adjusted library name.
2018-10-18 13:22:26 +02:00
Evgeny Vrublevsky
8084702a58
Renamed to '--no-std-lib'
2018-10-18 13:08:56 +02:00
Evgeny Vrublevsky
23b5cc870e
Renamed to '--no-crt-lib'
2018-10-18 13:08:56 +02:00
Evgeny Vrublevsky
2a9bb0d8de
CL65: --no-rtl option for disabling default runtime library
2018-10-18 13:08:56 +02: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
greg-king5
d8ad89c4b4
Merge pull request #740 from laubzega/master
...
Add segment type "overwrite".
2018-09-14 00:59:47 -04: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
Laubzega
1646acb26f
First cut of "overwrite" segment docs.
2018-09-08 19:20:01 -07:00
Oliver Schmidt
c7a40db1b7
Added hint random number generator hint.
2018-09-08 23:59:39 +02:00
Greg King
2cc822b44e
Fixed some mistakes (mostly in the documentation).
2018-08-30 11:48:46 +02:00
Greg King
b5d939c858
Style changes.
2018-08-30 11:48:46 +02:00
Greg King
c39d07dd17
Document style clean-up.
2018-08-29 15:43:20 -04:00
greg-king5
a08192b53e
Merge pull request #706 from xlar54/master
...
* tgi driver for c128 VIC-II
* Made the VIC-IIe TGI driver put its bitmap behind the ROMs.
* c128-hi.tgi doc
2018-08-29 10:34:05 -04:00
Oliver Schmidt
f8c6c58373
Made Apple II CONIO more flexible.
...
Originally the Apple II had a 64 char set and used the upper two bits to control inverse and blinking. The Apple //e brought then an alternate char set without blinking but more individual chars. However, it does _not_ contain 128 chars and use the upper bit to control inverse as one would assume. Rather it contains more than 128 chars - the MouseText chars. And because Apple wanted to provide as much backward compatibility as possible with the original char set, the alternate char set has a rather weird layout for chars > 128 with the inverse lowercase chars _not_ at (normal lowercase char + 128).
So far the Apple II CONIO implementation mapped chars 128-255 to chars 0-127 (with the exception of \r and \n). It made use of alternate chars > 128 transparently for the user via reverse(1). The user didn't have direct access to the MouseText chars, they were only used interally for things like chline() and cvline().
Now the mapping of chars 128-255 to 0-127 is removed. Using chars > 128 gives the user direct access to the "raw" alternate chars > 128. This especially give the use direct access to the MouseText chars. But this clashes with the exsisting (and still desirable) revers(1) logic. Combining reverse(1) with chars > 128 just doesn't result in anything usable!
What motivated this change? When I worked on the VT100 line drawing support for Telnet65 on the Apple //e (not using CONIO at all) I finally understood how MouseText is intended to be used to draw arbitrary grids with just three chars: A special "L" type char, the underscore and a vertical bar at the left side of the char box. I notice that with those chars it is possible to follow the CONIO approach to boxes and grids: Combining chline()/cvline() with special CH_... char constants for edges and intersections.
But in order to actually do so I needed to be able to define CH_... constants that when fed into the ordinary cputc() pipeline end up as MouseText chars. The obvious approach was to allow chars > 128 to directly access MouseText chars :-)
Now that the native CONIO box/grid approach works I deleted the Apple //e proprietary textframe() function that I added as replacement quite some years ago.
Again: Please note that chline()/cvline() and the CH... constants don't work with reverse(1)!
2018-08-20 00:30:17 +02:00
Oliver Schmidt
842c151edd
Replaced _systime with clock_gettime.
...
We want to add the capability to not only get the time but also set the time, but there's no "setter" for the "getter" time().
The first ones that come into mind are gettimeofday() and settimeofday(). However, they take a struct timezone argument that doesn't make sense - even the man pages says "The use of the timezone structure is obsolete; the tz argument should normally be specified as NULL." And POSIX says "Applications should use the clock_gettime() function instead of the obsolescent gettimeofday() function."
The ...timeofday() functions work with microseconds while the clock_...time() functions work with nanoseconds. Given that we expect our targets to support only 1/10 of seconds the microseconds look preferable at first sight. However, already microseconds require the cc65 data type 'long' so it's not such a relevant difference to nanoseconds. Additionally clock_getres() seems useful.
In order to avoid code duplication clock_gettime() takes over the role of the actual time getter from _systime(). So time() now calls clock_gettime() instead of _systime().
For some reason beyond my understanding _systime() was mentioned in time.h. _systime() worked exactly like e.g. _sysremove() and those _sys...() functions are all considered internal. The only reason I could see would be a performance gain of bypassing the time() wrapper. However, all known _systime() implementations internally called mktime(). And mktime() is implemented in C using an iterative algorithm so I really can't see what would be left to gain here. From that perspective I decided to just remove _systime().
2018-08-15 16:06:44 +02:00