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

1520 Commits

Author SHA1 Message Date
uz
fe5adb5c4e Working on stroked font output.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4455 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-10 18:50:33 +00:00
uz
1154a11649 tgi_vectorchar takes now a char argument. Added tgi_install_vectorfont.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 16:18:13 +00:00
uz
e12bd13e16 Added clipping for lines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4452 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 15:26:46 +00:00
uz
24e68f5df3 Changed a comment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 12:08:25 +00:00
uz
e319fc217b Hold the maximum X and Y coordinate in variables instead of calculating them
when needed. The variables make signed compares in the line clipper easier.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4450 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 12:02:52 +00:00
uz
eee4430061 Added a tgi_pieslice function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4449 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:32:17 +00:00
uz
bafd7a7279 Fixed a sign error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:26:23 +00:00
uz
787f069738 Moved fixed point multiplication and rounding into an asm module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:16:43 +00:00
uz
de6050f21d Added a tgi_arc function. Removed the old ellipse code and create a new
ellipse module that calls tgi_arc.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 19:52:18 +00:00
uz
78070d8bfb Added tgi_circle and tgi_ellipse functions. The latter works, but could be
optimized.



git-svn-id: svn://svn.cc65.org/cc65/trunk@4445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 17:14:29 +00:00
uz
18272c0427 Working on the division and multiplication routines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4443 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-04 19:41:54 +00:00
uz
655ba3e6ee Added a C callable entry point for the division routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-04 18:25:29 +00:00
uz
c200e0ec94 Added division routine. Removed C callable entry points from mul routines,
they're now in common.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-04 18:23:40 +00:00
uz
851926b301 Add C callable special multiplication routines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-04 18:17:00 +00:00
uz
56e035635b Use new multiplication routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-04 13:46:16 +00:00
uz
7c804513fa The upper 16 bit differ between signed and unsigned multiplication, so while
for 16x16=16, the unsigned routine can be used, regardless of signedness, this
is not true for 16x16=32.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4438 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-04 13:45:27 +00:00
ol.sc
1bec071755 - Replaced font .byte's with font .incbin file
- Adjusted font width declaration from 8 to 7
- Modified font using Beagle Bros Shape Mechanic font editor to look like Apple2 text mode glyphs (with the exception of '_' because OUTTEXT _always_ inserts 2 empty pixels between chars)

git-svn-id: svn://svn.cc65.org/cc65/trunk@4437 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-03 22:20:48 +00:00
uz
100c470727 Added C callable entry point for the 16x16=32 multiplication.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-03 17:43:57 +00:00
uz
0c1703f8fd Added 16*16=32 multiplication routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4434 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-03 13:40:03 +00:00
uz
87866e3099 Working on the TGI API, adding vector fonts. Only roughly tested!
git-svn-id: svn://svn.cc65.org/cc65/trunk@4432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 22:29:49 +00:00
uz
fdc7604d8f Added separate 8x8=>16 multiplication routine as start of the multiplication
and division stuff cleanup.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 22:28:02 +00:00
ol.sc
9fa0acfefc Removed unintentionally added line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4430 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 22:10:13 +00:00
ol.sc
2fcb498f58 Removed generic macpack
git-svn-id: svn://svn.cc65.org/cc65/trunk@4429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 21:54:51 +00:00
ol.sc
4b601bea40 - Adjusted TEXTSTYLE and OUTTEXT to TGI specs
- Removed defunct scaling support from TEXTSTYLE
- Optimized OUTTEXT
- Clarified font source and format
- Removed generic macpack

git-svn-id: svn://svn.cc65.org/cc65/trunk@4428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 21:38:18 +00:00
uz
1518a4813c The X register must be zero on return.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4426 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 16:24:26 +00:00
uz
3b06aaaf85 Added the new toascii function for the CBMs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 16:23:32 +00:00
uz
7f865046f3 Fixed an error in the color setting code which caused tgi_init to fail.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4423 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 15:36:13 +00:00
uz
2e5281fa2d Added tgi_load_vectorfont(). Fixed tgi_free_vectorfont().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:35:22 +00:00
uz
25ccbeeaa8 When initializing the driver, set white as the drawing color.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4420 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:33:27 +00:00
uz
57c9a8f796 Additional error code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:01:23 +00:00
uz
5a2a741cde Added tgi_free_vectorfont.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@4416 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 21:53:34 +00:00
uz
97ef7df9f5 Fixed a bug (wrong order of variables).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4415 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 21:53:22 +00:00
ol.sc
6da8c5639c Changes to the TGI driver API:
* Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper

git-svn-id: svn://svn.cc65.org/cc65/trunk@4407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 21:44:36 +00:00
uz
763fe0b802 Start of TGI changes. Untested, may not work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 21:26:35 +00:00
uz
4e4beef8b7 Fixed the return types of the sine/cosine functions. Added comments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 14:02:24 +00:00
uz
c65925b0b9 Merged the sine/cosine routines into one file, because they're often used
together, we save some code in this case, and the sine table isn't of real use
for programs, because it contains some specialities.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4400 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 09:58:11 +00:00
uz
7d453f5e11 Added fixpoint sine and cosine functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4399 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-29 23:19:00 +00:00
ol.sc
50c1db0331 Changes to the TGI driver API:
* Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper

git-svn-id: svn://svn.cc65.org/cc65/trunk@4398 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-29 23:11:46 +00:00
uz
5304a8149e Changes to the TGI driver API:
* Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper



git-svn-id: svn://svn.cc65.org/cc65/trunk@4396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-29 20:13:56 +00:00
ol.sc
1d9fc5f655 Changed 'Clear the screen' to 'Clear the drawpage'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4394 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-27 21:20:06 +00:00
uz
33af076cfc Lynx TGI driver update by Karri Kaksonen. Adds collision detection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-26 19:28:11 +00:00
uz
f24adadb9c Added a first version of a Cohen Sutherland line clipper. This version
basically works, but has rounding problems and an intermediate result overflow
in the multiplication, which causes for larger lines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-26 15:37:51 +00:00
uz
54a8a778eb Remove 65C02 code, because in this case, the value of Y on return is always
zero, which can be used by the optimizer.
                                         


git-svn-id: svn://svn.cc65.org/cc65/trunk@4384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-20 08:25:58 +00:00
uz
ed2767e65f Changed names of the pragmas to be identical to the corresponding command line
options. This should make use easier. The old names of the pragmas are still
available but will cause warnings.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-14 12:55:15 +00:00
uz
30586e95e8 Cosmetic change. Formatting was lost because of cut&paste.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-10 20:50:15 +00:00
uz
ed15f337d9 Use a simple expression now that ldwarning is available as an assert action.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 13:04:53 +00:00
uz
7ecdaf3d6e Use the new ldwarning assert action.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 12:42:32 +00:00
uz
a3529cd048 Ignore start address in cbm_opendir. Rearrange the code somewhat to make it
shorter.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4319 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 18:38:39 +00:00
uz
d42ce3b59e Lynx updates by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 14:09:19 +00:00
ol.sc
5f609164d6 This is what was actually meant in the first place.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-30 08:04:34 +00:00
uz
d54a1ba3d2 Improved cbm_dir routines by Thomas Giesel.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 22:01:58 +00:00
uz
e4d9fd3bd1 Fixed more bugs, shortened the code where possible.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 18:39:55 +00:00
uz
6c8fab8e51 Fixed two bugs, made the sources somewhat better readable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 17:47:33 +00:00
uz
9329908927 Stefan Haubenthal fixed a few typos.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 07:29:56 +00:00
ol.sc
fd0fa0241e Adjusted driver to the recent kernel interface change (code rearrange ment necessary to stay in 6502 branch reach).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 23:26:41 +00:00
uz
d55fb5217e Changed the solution for the PLOT problem with old -02 kernals to that used
for the VIC20: PLOT is not an kernal entry but a library function that will 
do the right stuff. This makes it work with other stuff that calls PLOT, too.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 18:45:08 +00:00
uz
5967b4845e Let vsprintf call vsnprintf to save code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:18:06 +00:00
uz
067383eb6a Added an untested implementation of snprintf.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:11:05 +00:00
uz
0b43444c26 Added an (only roughly tested) implementation of vsnprintf
git-svn-id: svn://svn.cc65.org/cc65/trunk@4245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:04:36 +00:00
ol.sc
dfc6162e91 Fixed bug triggered if all 8 io buffer slots may be used.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 21:32:05 +00:00
uz
2b50847a4c The _printf routine does not return anything.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 19:20:51 +00:00
uz
70cb60ef31 Fix the plot routine to work with the buggy -02 kernal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4234 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 15:56:29 +00:00
uz
b695733cda OOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4233 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 15:19:14 +00:00
uz
634e84f12a Changed the existing Commodore mouse drivers for the new API. UNTESTED!
git-svn-id: svn://svn.cc65.org/cc65/trunk@4232 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:35:32 +00:00
uz
16e6deaf86 Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!


git-svn-id: svn://svn.cc65.org/cc65/trunk@4230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:11:14 +00:00
uz
8be28482ac Remove this copy of the apple include file - a copy was added to asminc
before and we don't need it twice.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-25 13:46:18 +00:00
uz
019dbb7b1d Systime implementation derived from the cbm610.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 21:09:45 +00:00
uz
753bbab40d Systime implementation for the CBM610, derived from the C64.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 20:12:40 +00:00
uz
83be732983 The CIA TOD needs a write to the 1/10 sec register to start. Shortened the
code by using initialized data.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 19:40:36 +00:00
uz
5c5d01d84a Moved most platform assembler includes into asminc, so they will be available
in the distribution. 
Added --forget-inc-paths to the command line of the assembler in the
Makefiles, because the assembler does now have builtin paths and will find
include files from an installation first.
Hopefully fixed any problems that arose from the two changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:44:22 +00:00
ol.sc
a4871a4928 Build files in the extra directory (analog to apple2).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 21:43:57 +00:00
uz
0508d655f1 Fixed an error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 19:10:46 +00:00
uz
90b7dd065d Build files in the extra directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 19:00:12 +00:00
ol.sc
5c35c213f6 Added author hint - as contained in the other source files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 17:30:50 +00:00
ol.sc
6345e4b0cd Added alternative implementation for ProDOS 8 I/O buffer management. The purpose of this implementation is to avoid pulling in the heap stuff (and especially the C-written posix_memalign() function) into small file utility-like applications. It saves in this scenario > 1400 Bytes. It manages memory blocks between $0800 and the cc65 start address. This is especially usefull for the now supported "native" SYS programs starting at $2000.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 17:29:49 +00:00
uz
6a5e402ad7 Move/rename extra object files for the Apple2.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4206 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 10:22:29 +00:00
uz
95b70fe0fc Renamed the comlynx source and driver to lynx-comlynx, so it follows the
existing naming conventions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 16:47:30 +00:00
uz
0e91f15ea8 Improved memset/memcpy/memmove functions by Christian Krueger.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 14:32:25 +00:00
uz
2153cc46db Remove the framerate module. It's job is done by the tgi driver.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 14:26:50 +00:00
uz
ec946cae51 Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new
serial driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 14:22:04 +00:00
uz
6019580fb6 Removed unused code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4191 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-18 17:42:44 +00:00
uz
80fc3a0b48 Replaced the condition for the assertion in toggle_videomode by something that
is still always false, but will be evaluated by the linker instead of the
assembler. The assembler will otherwise emit a warning when just translating
the module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4190 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-18 17:39:23 +00:00
uz
689d06929c Fixed an error in the makefile. strtoimax and strtoumax were in the wrong
list.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-18 17:23:48 +00:00
uz
75068a6528 New strtoimax and strtoumax standard functions as aliases for strtol/strtoul.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-17 18:37:42 +00:00
uz
3a3eaf99cb Lynx changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-17 09:32:05 +00:00
uz
5e55e1c651 Added a (currently untested) strtoul implementation. strtol and strtoul should
probably get merged somehow, because they share quite some code.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4180 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 21:45:25 +00:00
uz
2f2bced531 Shrink atoi by using negeax instead of inlined code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4179 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 21:25:44 +00:00
uz
96637a8c35 Make system() fastcall like most other library functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4178 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 21:01:20 +00:00
uz
e5996090f7 Added an implementation of strtol (stdlib.h).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 20:56:08 +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
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
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
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
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
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
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
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
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
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
uz
1ea503a036 The pleasp.s module is no longer in use.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4094 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-31 12:56:54 +00:00
uz
db69c202a4 Oh well. Decided to throw away the separate implementation for leaa0sp,
because it's not used too much, may sometimes inlined and can easily be
replaced by another entry in leaaxsp.s


git-svn-id: svn://svn.cc65.org/cc65/trunk@4092 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-31 12:22:13 +00:00
uz
bf9d36a2fa Renamed leaasp.s again, this time to leaa0sp.s. Added a new module leaaxsp.s.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4091 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-31 12:15:51 +00:00
uz
a1dd468291 Renamed leasp.s to leaasp.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@4090 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-31 12:10:59 +00:00
uz
23dae5a04b Fixed two more function that didn't clear the high byte of the function result.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4049 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-23 21:40:36 +00:00
uz
4c4071b34a Fixed an error in cbm_k_save (on which cbm_save is based): The X register was
not cleared on return.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4048 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-23 21:38:11 +00:00
uz
c4763e9007 Special cased the division 16 by 8.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4043 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-19 14:51:16 +00:00
uz
acd1233bf2 Greatly improved multiplication routine. Optimized the generic 16x16 one and
added special cases for 8x16 and 8x8. The former is directly called by the
compiler as tosmula0 and tosumula0 resp.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4036 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-17 20:48:28 +00:00
uz
bfc8bd6d74 Added an entry point that clears the high word of rhs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-16 16:38:52 +00:00
uz
aa7d419165 More entry points for long ops that clear the high word of the lhs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4025 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-15 21:06:06 +00:00
uz
b1f772e9be Added additional entry points that clear the high word of the right operand.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4023 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-15 20:58:35 +00:00
uz
6a26b6e3b4 Added tosicmp0, a special entry point that clears the X register.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4005 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-14 22:08:28 +00:00
uz
f8d3fccc01 get_tv() implementation for the CBM610 by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3998 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-06 20:24:41 +00:00
cpg
9cafacaf6d introduce STARTUP segment to Atari platform
git-svn-id: svn://svn.cc65.org/cc65/trunk@3995 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-04 20:04:41 +00:00
uz
7ecf7a7e58 Adjust geos startup code to new compiler handling. Introduce __STARTUP__
symbol, remove geos.o.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-31 12:46:38 +00:00
uz
8216bf1d6a Force an import of the special symbol __STARTUP__ in the C compiler when
main() is encountered. Define this symbol in the startup code. This will
automatically force linking of the startup code which can then reside inside
the standard library as any other object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-31 12:05:42 +00:00
uz
931add050e Added a systime implementation by Stefan Haubenthal with a few changes. The
routine reads the TOD clock of CIA1 on the C64 and C128. Since systime was a
dummy routine common for all CBMs before, this change adds an individual dummy
routine for all other CBM systems. CBM510/610 do also have a TOD clock, so a
similar function as in the C64 could be used ...


git-svn-id: svn://svn.cc65.org/cc65/trunk@3974 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-27 18:44:37 +00:00
uz
087ae8173a Be sure to read disk errors after sending the command on the command channel.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3973 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-27 18:42:37 +00:00
uz
2363a6f5c7 Move common data and ex-/imports into an assembler include named time.inc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-27 17:59:27 +00:00
uz
37e08cac59 Re-added cbm_dir which was acidently removed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3964 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-05-07 18:31:57 +00:00
cpg
2f39754838 use RUNAD (from atari.inc) instead of /bin/bash2E0
git-svn-id: svn://svn.cc65.org/cc65/trunk@3963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-04-29 21:37:10 +00:00
cpg
482b3da7d8 add Atari MultiJoy driver from Stefan A. Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-04-11 18:10:44 +00:00
uz
d352b85c87 Fixed problems with the startup code (Greg King): Interrupts must be hooked
before calling initlib because initlib calls contructors and may install
drivers, which enable hardware interrupts. Similar for donelib.

See also R3897 and R3951 where this change was done for other platforms.
                         


git-svn-id: svn://svn.cc65.org/cc65/trunk@3954 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 18:23:31 +00:00
uz
81c7457e04 Added support for chained interrupt handlers installed with .condes type 2.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 18:16:13 +00:00
uz
0aea6d28dc Removed an unsed import.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 18:14:54 +00:00
uz
d28ba06f79 Fixed problems with the startup code (Greg King): Interrupts must be hooked
before calling initlib because initlib calls contructors and may install
drivers, which enable hardware interrupts. Similar for donelib.

See also R3897 where this change was done for other platforms.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3951 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 18:10:01 +00:00
uz
e5cbba264f Move the irqcount variable from BSS into DATA, since it is used by the
interrupt handler, which is installed *before* zerobss is called.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3950 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 18:04:25 +00:00
uz
a17d27247e initmainargs routine by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3949 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 17:51:12 +00:00
uz
89951068dd writefndiskcmd gets its arguments in ptr1 and Y.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3945 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 15:40:06 +00:00
uz
3c168b4323 A few minor 65C02 optimizations.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3944 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 15:39:19 +00:00
uz
a0cd736adb Must open the command channel before writing to it.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3943 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 14:43:02 +00:00
uz
828b4226cf Comment additions and changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3942 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 14:42:32 +00:00
uz
9c193743a0 Added missing .export statements.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3941 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 14:11:34 +00:00
uz
ef18b567f0 Added a new sysrename module to make the high level function rename work. Code
is untested!


git-svn-id: svn://svn.cc65.org/cc65/trunk@3940 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 14:06:12 +00:00
uz
30237d3c36 Moved some code from scratch.s into a new subroutine named writefndiskcmd in
the diskcmd.s module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3939 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 14:02:52 +00:00
uz
770d230178 fnparse will return zero flag according to error (ZF=1 means no error).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3938 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 13:54:03 +00:00
uz
feb31603da Use named constants from ctype.inc instead of hard coded numeric values.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3929 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 22:11:56 +00:00
uz
b6d7dba170 Removed an unused import.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3928 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 22:08:43 +00:00
cpg
b68094a2f6 add strnicmp.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3924 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 19:15:51 +00:00
cpg
222a421969 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3923 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 19:15:21 +00:00
cpg
f94ee2c20e small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-30 19:17:14 +00:00
cpg
8008a980bb now it really works (tested w/MYDOS only)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3918 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-28 22:01:28 +00:00
cpg
46cb2548c1 fix comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@3917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-28 21:54:02 +00:00
uz
02d5f3025d Function key support be Stephan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-24 16:35:42 +00:00
uz
8c8e0b131f Code optimizations (by Stefan Haubenthal and me).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3906 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-06 17:49:29 +00:00
uz
7e9b6e7311 Fixed problems with the startup code (Greg King): Interrupts must be hooked
before calling initlib because initlib calls contructors and may install
drivers, which enable hardware interrupts. Similar for donelib.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-31 18:22:51 +00:00
uz
0cc2bf015e Reverted a change that should not have been commited.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3896 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-31 18:21:17 +00:00
uz
0ec5268baa Made strxfrm fastcall, added docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-27 20:02:48 +00:00
uz
2b098710d9 Added Koala Pad mouse drivers written by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3877 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-05 20:54:35 +00:00
uz
af9286852f A label must always be followed by a statement. This wasn't checked by the
compiler before.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3864 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-03 12:54:11 +00:00
uz
4812feb44b git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81 2008-08-02 22:02:54 +00:00
cuz
258a8e7d4c Move zpsave into its own segment to decrease the executable size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3852 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-15 18:34:20 +00:00
cpg
e64672acc7 use __ZPSAVE_LOAD__ instead of __BSS_LOAD__ to create EXEHDR
git-svn-id: svn://svn.cc65.org/cc65/trunk@3851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-04 17:32:00 +00:00
cuz
f257b2ee81 Moved the data that keeps a copy of the used zero page locations in its own
segment to reduce the executable size.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3849 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-03 19:39:14 +00:00
cpg
baf1e77645 Use RMARGN instead of a hard coded value for compatibility with XEP80.
Patch by Stefan Haubenthal.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-01 20:58:03 +00:00
cuz
545df804bb Renamed setoserror to seterrnofromoserror to avoid clashes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-15 06:55:35 +00:00
cuz
6c5c0be79f Fixed an error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3837 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-15 06:44:46 +00:00
cuz
4b27f80c91 Removed display swapping code
git-svn-id: svn://svn.cc65.org/cc65/trunk@3836 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-14 18:56:32 +00:00
cuz
3293330f31 New entry point setoserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@3835 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-13 17:35:15 +00:00
cuz
8440c13edd New function fndefunit.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3834 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-13 14:49:16 +00:00
cuz
1a0c871976 NTSC/PAL update by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3831 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-10 20:15:28 +00:00
cuz
6787fb362f New get_tv module from Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3830 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-10 20:12:20 +00:00
cuz
528dff89b1 Removed an unused module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3823 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-30 08:41:26 +00:00
cuz
966843dc1d The value of COLOR_WHITE changed from 1 to 3.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3818 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-25 19:08:26 +00:00
cuz
1a5a724f1b Removed obsolete files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3817 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-25 19:07:52 +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
263b7863a3 Oliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3812 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-02-25 07:47:04 +00:00
cuz
a47008cca0 Fixed a bug: Byte three of the remainder was overwritten by byte 4.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3796 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-26 17:25:21 +00:00
cpg
b66b04f289 space optimization by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3777 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-03-28 19:34:48 +00:00
cuz
a47adefd7b Updated version by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3771 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-02-09 08:24:03 +00:00
cuz
b8293aaf8a New version by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3767 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-01-24 21:07:11 +00:00
cuz
88aedc2e29 Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3766 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-01-05 16:16:34 +00:00
cuz
ae4167e595 Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@3764 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-18 16:41:45 +00:00
cuz
620f19464d Added build rules for the apple2-auxmem driver.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3763 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-18 16:40:45 +00:00
cuz
c784f056f7 New extended memory driver by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3762 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-17 19:50:23 +00:00
cuz
d1a647b073 Honor the new MOUSE_FLAG_EARLY_IRQ and MOUSE_FLAG_LATE_IRQ flags also when
uninstalling the driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3761 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-17 19:40:16 +00:00
cuz
c0e46594f0 Mouse driver fixes by Oliver Schmidt.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3758 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-17 19:22:53 +00:00
cuz
39f096b34e Added constructor support (contributed by Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-17 19:19:55 +00:00
cuz
aa217e4535 Rewrote the xxx_load routines for the drivers in assembler to save some
space.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-05 16:59:29 +00:00
cuz
2e0b65887c joy_unload didn't return a valid error code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3755 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:33:51 +00:00
cuz
0b17f91797 ser_unload didn't return a valid error code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3754 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:31:33 +00:00
cuz
4e599d372f mouse_unload didn't return a valid erro code on success.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3753 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:29:13 +00:00
cuz
878dcf4aa7 Fixed a problem when loading joystick drivers: When an install error occurred,
the driver wasn't removed from memory.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:15:18 +00:00
cuz
dc569cad49 Unloading the joystick driver didn't reset the interrupts, so the program may
crash later.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3751 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:14:30 +00:00
cuz
e941b34947 Fixed an error in the load routine: The driver was not removed from memory
when the install routine failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:01:33 +00:00
cuz
d2097f6d75 Fixed error handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@3749 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 09:59:02 +00:00