ol.sc
b7df1ed5d4
Being loaded by my 'ProDOS Loader' needs to be classified as being loaded as BIN from an interpreter (and not as SYS). But the 'ProDOS Loader' zeros the system bitmap up to the system global page (this is what it's about) so additionally check page $03 protection which is zero when loaded as SYS but one when loaded by 'ProDOS Loader 1.4'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4168 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 19:50:09 +00:00
uz
4b84d95891
labs() is also imaxabs().
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4167 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 18:06:43 +00:00
uz
32e2eb3fad
Fixed parsing a labeled-statement: A label is always part of a statement, it
...
is not itself one.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 14:36:16 +00:00
uz
fe652c8206
Sqeeze out two bytes of the code.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4165 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 13:39:27 +00:00
uz
c9de0e6841
Lynx changes by Karri Kaksonen.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 13:37:44 +00:00
uz
e035323ab4
Added another condition that allows us to remove pha/pla.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4163 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 13:22:27 +00:00
uz
785d8ebb43
Removed the ace target. It didn't have a linker config and was untested for
...
~10 years
git-svn-id: svn://svn.cc65.org/cc65/trunk@4162 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 11:46:04 +00:00
uz
effa1f4864
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4161 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 22:04:49 +00:00
uz
4ee6bf6f2c
Fixed a few inaccuracies the the description of the --codesize option.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4160 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 22:04:35 +00:00
ol.sc
c271f18d00
Hooking into the MLI call needs much more thoughts - and is currently not necessary...
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4159 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 20:55:20 +00:00
uz
df22cbf925
Search config files also in the builtin search directory for libraries and in
...
the directory defined in the CC65_LIB environment variable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4158 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 20:12:48 +00:00
ol.sc
2b98ab38f7
Addon to 4155: Fixed error.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 06:58:20 +00:00
uz
d660356ff7
Added a comment about the first entry being the default entry. Not sure if
...
this is true for GEOS.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 06:41:08 +00:00
ol.sc
736db8789e
Much better approach for ProDOS 8 IO-buffer custom implementations - the first one was actually kind of stupid.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4155 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 19:54:29 +00:00
ol.sc
c8e1d7e0d2
Adjusted Apple2 targets to the new standard mouse driver paradigm.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4154 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 19:35:13 +00:00
uz
7de61e351c
Define a standard driver and mode for tgi graphics and use it in the sample
...
program. The standard driver and mode is the first one in the tgi_mode_table.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4153 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:59:37 +00:00
uz
569b8d0e77
Separated tgi_load and tgi_load_driver.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4152 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:47:33 +00:00
uz
4ed9b6facf
Fixed a copy&paste error.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:42:34 +00:00
uz
8870eda779
Use mouse_stddrv instead of a platform dependent #define.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4150 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:55:20 +00:00
uz
7c2823e780
Added the mouse_stddrv variable for the C64 and C128.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:51:21 +00:00
uz
d74f9ab396
Added a mouse_stddrv variable that contains the standard mouse driver for a
...
system.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:45:43 +00:00
uz
fa3a7930d7
Fixed a problem with load tracking in OptStackOps.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4147 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:36:17 +00:00
ol.sc
aeccd3a776
Allow to run programs as ProDOS SYS files (beside BIN files). To do so detect at runtime if BASIC.SYSTEM is present by checking the "signature" of the last system bitmap byte.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4146 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:27:20 +00:00
uz
d9cdca75b6
Make use of the IRQ to swap view and draw pages when they aren't visible.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4145 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 13:56:50 +00:00
uz
d95321f489
Changes by Karri Kaksonen to implement interruptor support.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 13:56:20 +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
d91fe6b877
ProDOS 8 requires an page-aligned 1kB IO-buffer for every open file. The implementation using posix_memalign() is universally correct but quite expensive. There I added support for overriding this implementation with maybe limited (i.e. to one open file) but cheaper custom implementations.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4142 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-10 09:59:26 +00:00
ol.sc
19397b742d
Fixed typo.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4141 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-10 09:35:37 +00:00
ol.sc
648a1b5427
Added support for switching between 40/80 columns. As the Apple //e 80 column firmware features converting the current screen content on switching if was already active before the idea is to keep the 80 column firmware active and initialize it (which clears the screen) only if necessary.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4140 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-10 09:04:05 +00:00
uz
079358c3c1
Fixed an error in OptPtrLoad16.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4139 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 21:10:19 +00:00
uz
e68332a10b
Fixed several more problems like the one in Assignment() some time ago: An
...
expression that yields a constant value may have side effects, and the
expression code must not be removed in this case.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4138 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 20:29:12 +00:00
uz
2d3b0f1146
Fixed a problem similar to the one in Assignment() some time ago: An
...
expression that yields a constant value may have side effects, and the
expression code must not be removed in this case.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4137 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 20:08:21 +00:00
uz
84e288f21c
Use the new function MarkedExprWithCheck.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 19:49:30 +00:00
uz
0c20177fce
Allow to store start and end of generated code in the ExprDesc structure. New
...
function MarkedExprWithCheck.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 19:48:22 +00:00
uz
7d60d32aee
Changed the prototype of videomode() to take and return an unsigned instead of an unsigned char.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4134 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 16:45:21 +00:00
uz
931b6418bf
Changed the prototype of videomode() to take and return an unsigned instead of
...
an unsigned char. Two more video mode constants as discussed on the list.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 16:25:12 +00:00
uz
6c87aa64be
Fixed a typo in the docs.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4132 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 16:23:59 +00:00
uz
331803126f
Fixed flexible array struct members.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4131 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 07:55:44 +00:00
uz
9f7ca16001
Added initialization of bit-fields.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4130 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-07 16:59:46 +00:00
uz
f5ca779b9b
A constant right side does not necessarily mean that no code is generated for
...
the right side. The expression may have had side effects. This error is also
found in several other places.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4129 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-07 14:22:27 +00:00
uz
b2d30c3283
Remove stack pointer check in RemoveCodeRange - the calling function has to
...
take care about that.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-07 14:21:19 +00:00
ol.sc
96b731dd96
Just presume alternate charset to be active on the //e - how shouldn't it if conio usage activates it.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4127 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-07 14:00:17 +00:00
uz
74bfd6ee31
New function videomode() for the C128. Marked toggle_videomode as deprecated.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4126 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-07 13:21:04 +00:00
uz
90c731d1e9
Changed a comment line.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-06 21:39:28 +00:00
uz
f50520dffe
Use xsprintf instead of sprintf.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-06 19:07:18 +00:00
uz
94a2223443
Use SymIsTypeDef and SymIsBitField instead of accessing Sym->Flags directly.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-06 16:51:08 +00:00
uz
cc229ce7ba
New function SymIsBitField.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-06 16:50:41 +00:00
uz
2402ef005e
Fixed an error: When initializing unions, only the first member can be
...
initialized.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-06 16:44:16 +00:00
ol.sc
78a7af13e6
Adjusted to the changed default start address.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-04 21:32:41 +00:00
ol.sc
0d25264ed4
Minor reformatting.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-04 21:28:16 +00:00