1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Oliver Schmidt
e47485f925 Added CONIO cursor support.
For quite some time I deliberately didn't add cursor support to the Apple II CONIO imöplementation. I consider it inappropriate to increase the size of cgetc() unduly for a rather seldom used feature.

There's no hardware cursor on the Apple II so displaying a cursor during keyboard input means reading the character stored at the cursor location, writing the cursor character, reading the keyboard and finally writing back the character read initially.

The naive approach is to reuse the part of cputc() that determines the memory location of the character at the cursor position in order to read the character stored there. However that means to add at least one additional JSR / RTS pair to cputc() adding 4 bytes and 12 cycles :-( Apart from that this approach means still a "too" large cgetc().

The approach implemented instead is to include all functionality required by cgetc() into cputc() - which is to read the current character before writing a new one. This may seem surprising at first glance but an LDA(),Y / TAX sequence adds only 3 bytes and 7 cycles so it cheaper than the JSR / RTS pair and allows to brings down the code increase in cgetc() down to a reasonable value.

However so far the internal cputc() code in question saved the X register. Now it uses the X register to return the old character present before writing the new character for cgetc(). This requires some rather small adjustments in other functions using that internal cputc() code.
2016-06-19 15:03:20 +02:00
Patrycjusz R. Łogiewa
759f5f5f48 docs for targets with target utilities adjusted 2016-05-18 16:42:51 +02:00
Oliver Schmidt
c9734004ee Minor fixes for recent doc change. 2016-03-25 19:03:12 +01:00
Oliver Schmidt
9aac382afb Updated documentation to reflect the current linker configs. 2016-03-25 18:48:23 +01: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
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
c3d93d259b Updated linuxdoc sources from https://github.com/groessler/cc65/tree/gh-pages-sgml. 2014-02-04 22:51:39 +01:00
Oliver Schmidt
aa7561ec45 Revert "No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh-pages'."
This reverts commit fcea8951f1.

Conflicts:
	doc/Makefile
2014-02-04 22:18:58 +01:00
Oliver Schmidt
fcea8951f1 No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh-pages'. 2013-03-25 00:50:52 +01:00
ol.sc
8e06d6d4f7 Added documentation of static drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5927 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-08 23:08:00 +00:00
ol.sc
272b8e7185 I wasn't aware that the unit numbers in the ProDOS device list contain device type identifiers in the low nibble. So if we can't use the device list entries as-is we can as well present the high nibble as low nibble to the user thus providing more meaningful device numbers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5852 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-15 21:59:51 +00:00
ol.sc
61d4b6b03f Removed DIO specific typedefs which were just aliases to basic types and replaced the term 'drive' with 'device' in order to harmonize with the recently added device.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-11 18:22:49 +00:00
ol.sc
d99d5f3337 Replaced Apple II specific solution with implementation of recently introduced devicedir().
git-svn-id: svn://svn.cc65.org/cc65/trunk@5846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-10 20:55:56 +00:00
ol.sc
1c77d3a6f0 Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5822 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-09 16:16:08 +00:00
uz
1a0571fdc3 Change .CONDES -> .INTERRUPTOR (Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5064 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-06-17 18:56:27 +00:00
ol.sc
fc3574a111 Added the variables for setting the ProDOS type and auxtype to the docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4932 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-27 20:36:31 +00:00
ol.sc
e9ce157bb7 Fixed typos.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4860 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-14 00:03:22 +00:00
ol.sc
38d50cce0b Minor formatting change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-20 12:14:12 +00:00
ol.sc
432f8492ec Maybe this looks better when rendered to HTML ?
git-svn-id: svn://svn.cc65.org/cc65/trunk@4754 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-18 10:37:55 +00:00
ol.sc
56fea8788f Fixed typo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4751 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-18 10:22:55 +00:00
ol.sc
07680d2376 Read number of total blocks from ProDOS 8 volume directory header - and fall back on the constant 280 only for non-ProDOS 8 disks.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-17 19:16:25 +00:00
ol.sc
7b8c996b63 Whitespace only change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4726 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-17 19:13:43 +00:00
ol.sc
a99d0ceee7 dio_open():
- Use ProDOS 8 unit number as parameter.
- Don't access the drive, just check its presence.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4725 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-16 21:36:50 +00:00
ol.sc
05b23194d9 Added function to find out the volume name of a ProDOS 8 disk in a ProDOS 8 device.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-26 21:02:35 +00:00
ol.sc
cbd2ffdf29 Fixed formatting (broken due to wrong tab settings).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-01-26 20:04:51 +00:00
ol.sc
d79dae4570 Added short documentation of the recently added ioctl for mixing graphics with 4 lines of text.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4556 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-01-24 12:05:22 +00:00
ol.sc
5de9f6dfe5 Added macro for ssc slot selection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4526 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:21:22 +00:00
ol.sc
4aa2b0c127 git-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81 2009-12-12 23:07:42 +00:00
ol.sc
87ab0064f8 Fixed typos.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-12 22:44:50 +00:00
ol.sc
bc26bd5097 Fixed typo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-09 18:11:58 +00:00
ol.sc
45777792ee Replaced obsolete 'codeseg' with 'code-name'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4412 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 10:48:43 +00:00
ol.sc
161cf913e3 Oops - forgot to make these minor things identical to apple2.sgml.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-10 11:38:34 +00:00
ol.sc
90a3e1fa8b Updated to the level of apple2.sgml
git-svn-id: svn://svn.cc65.org/cc65/trunk@4354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-10 11:32:38 +00:00
ol.sc
0c161a6cdd Now that cc65 programs can run as SYS files themselves my ProDOS Loader ulimately has to change from a minimalistic shell replacement to a pure loader (without exit hook). This approach simplifies several things. However the "reboot after exit" option now present as a ProDOS Loader variant has to move into the cc65 program.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4172 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-14 19:58:06 +00:00
ol.sc
773e05b5f3 Removed '_' prefix from textframe(xy) because this prefix for non-standard symbols isn't necessary if they are declared in non-standard include files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-10 19:18:15 +00:00
ol.sc
56c12fd66f Fixed C&P issue.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3967 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-06-21 08:41:24 +00:00
ol.sc
f1039974a6 Added some more details on the specifics of the Apple2 C-library implementation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3966 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-06-18 21:58:00 +00:00
cuz
e1adb1ee57 Several updates by Oliver Schmidt.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3845 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-06-16 17:32:33 +00:00
cuz
feae688346 Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:37:22 +00:00
cuz
88e34c9903 Fixed problem with unprotected <> chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@3719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 20:20:39 +00:00
cuz
685235795c Apple 2 mouse driver and other stuff from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 19:51:37 +00:00
cuz
e3cf61b569 Small changes and a whole new doc file for the enhanced apple //e contributed
by Oliver Schmidt.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3666 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-21 20:59:51 +00:00