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

1311 Commits

Author SHA1 Message Date
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
cuz
c1a38ce8f4 Fixed a problem in mouse_load_driver: The driver was not removed from memory
when the load failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 09:48:14 +00:00
cuz
b8a6d7a6f6 Minor update by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-31 21:11:46 +00:00
cuz
13e0436336 Update by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3742 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-29 16:27:39 +00:00
cuz
4b8d90d2de Changed the mouse API: Introduced a new flag byte that contains information
about the driver, the mouse kernel needs to know. Current supported: Two flags
to enable interrupts before or after calling the driver INSTALL routine.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-21 11:25:31 +00:00
cuz
1501e80779 New version from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3736 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-08 19:26:21 +00:00
cuz
6c6d450ff0 Bugfix by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3733 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-23 20:30:44 +00:00
cuz
06e00f9343 Declare zero page variables before use. Otherwise they aren't used in zero
page addressing mode, if the assembler has a choice.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3725 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-09 11:43:03 +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
9a98194dc5 Code goes into the CODE segment, not RODATA.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-03-31 20:07:43 +00:00
cpg
f981dd35ad fix INSTALL return value (Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3695 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-05 15:11:33 +00:00
cpg
48c3702315 add sysmkdir.o and sysrmdir.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3694 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-04 09:58:11 +00:00
cpg
c249515d48 initial version from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3693 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-04 09:56:04 +00:00
cpg
67cd3d8d76 error code 172 -> EEXIST (Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3692 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:12:58 +00:00
cpg
017be4c23b TAB fixes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 19:57:16 +00:00
cuz
1184d5ad43 putchar didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3685 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-12-20 22:58:16 +00:00
cuz
60bb97e433 Optimized the code and allowed access to the ROM by using page numbers
higher than what em_pagecount() returns.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3676 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-29 17:21:52 +00:00
cuz
d3ac084997 Add the ltest module to the makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@3675 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-28 14:55:45 +00:00
cuz
74d19eb5a3 Added an extended memory driver for the DTV.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3674 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-27 22:58:44 +00:00
cuz
eeddbed25b File was removed but is still needed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-27 22:03:19 +00:00
cuz
2ef14e3ae8 Fixed a small coding sloopyness that broke the NES startup code when
adding more segments to the library and linker config.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3670 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-23 04:41:04 +00:00
cuz
71abd1471f Cosmetic changes by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3665 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-21 20:52:41 +00:00
cuz
840797d2d4 The mouse_buttons module was not built
git-svn-id: svn://svn.cc65.org/cc65/trunk@3653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-20 13:13:50 +00:00
cuz
609ae3aca1 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-09 17:30:28 +00:00
cuz
5c39800979 Ignore driver files
git-svn-id: svn://svn.cc65.org/cc65/trunk@3630 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-08 21:15:24 +00:00
cuz
6ea5614493 Serial driver for the SSC card by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3627 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-08 21:03:46 +00:00
cuz
575ee044e5 Missing ser_ioctl wrapper by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3626 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-08 20:58:33 +00:00
cuz
291b4edb9a Don't install the IRQ vector if mouse_install returns an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-05 20:25:24 +00:00
cuz
b17be7f2e8 Don't install the IRQ vector if joy_install returns an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-05 20:24:37 +00:00
cuz
78c5e6fcee Remove call to utsta0 which does no longer exist
git-svn-id: svn://svn.cc65.org/cc65/trunk@3620 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-02 20:05:25 +00:00
cuz
c732d3e360 New stuff contributed by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-31 20:11:45 +00:00
cuz
0a069540e1 Added the new PET joystick driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@3601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-28 22:11:58 +00:00
cuz
aeb90b37c0 Driver for the Protovision 4 Player Joystick Adapter by Stefan Haubenthal.
New joy_stddrv module to make the Protovision driver the default driver (cause
it's the only one).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3596 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-28 21:06:23 +00:00
cuz
a92d2eb0b7 Driver for Protovision 4 Player Joystick by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3595 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-28 21:01:59 +00:00
cuz
f3c6fbc72a Small optimzation by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-28 20:57:16 +00:00
cuz
6871cc6c57 Changes from Oliver: Use posix_memalign instead of _aligned_malloc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3589 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-26 12:09:43 +00:00
cuz
4759eaebfb Added missing import statements.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3586 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-24 19:55:38 +00:00
cuz
5cf71b0dea Removed obsolete modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@3582 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-13 21:21:31 +00:00
cpg
be31ff1fe4 take __RESERVED_MEMORY__ from linker script into account when setting
upper memory limit


git-svn-id: svn://svn.cc65.org/cc65/trunk@3569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:48:32 +00:00
cpg
9fbc99eb6d remove initscrmem and grmemusage:
git-svn-id: svn://svn.cc65.org/cc65/trunk@3568 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:44:01 +00:00
cpg
2efd1c79df _graphmode_used isn't used anymore
git-svn-id: svn://svn.cc65.org/cc65/trunk@3567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:42:59 +00:00
cpg
044de2eaca remove graphuse.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:42:20 +00:00
izydorst
d2ee1c447d - unsafe characters are ignored, added some notes to be considered
git-svn-id: svn://svn.cc65.org/cc65/trunk@3551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-25 21:07:12 +00:00
cuz
8eef418197 Add kernal replacement function
git-svn-id: svn://svn.cc65.org/cc65/trunk@3549 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-25 18:15:11 +00:00
cuz
bec540da9e Fixed obsolete __IRQFUNC_COUNT__ symbol name
git-svn-id: svn://svn.cc65.org/cc65/trunk@3548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-25 17:05:52 +00:00
cuz
50f707dd39 Ignore pmemalign.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3544 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 15:15:03 +00:00
cuz
8334d54622 Added initcwd.s from Stefan Haubenthal which initializes _cwd on startup.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3540 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 13:20:49 +00:00
cuz
7a624b8901 Replaced _aligned_malloc by the POSIX compatible function posix_memalign
(Greg King).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 12:57:00 +00:00
cpg
b5604af456 put zeropage variables into EXTZP segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3535 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-22 22:48:43 +00:00
izydorst
56420208c7 added support for remove() and rename() standard functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3533 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-19 13:41:44 +00:00
izydorst
b393a52f97 to clarify things...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3532 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-19 13:36:01 +00:00
izydorst
e642fbbbea Stefan Haubenthal's patch for Contiki port
git-svn-id: svn://svn.cc65.org/cc65/trunk@3529 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-17 11:59:46 +00:00
izydorst
fca6bbeb9a functions returning char in A must have X cleared
git-svn-id: svn://svn.cc65.org/cc65/trunk@3528 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-17 11:32:26 +00:00
cuz
82751788fd Fixed a bug: Divisions with a divisor > 0xFFFFFF did not work because the
high byte of the divisor was overwritten instead of the high byte of the
result.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-05 21:01:34 +00:00
cuz
c2140cdb08 Make strtok __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@3514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-17 21:11:09 +00:00
cuz
0fcc998024 Inline InitBuffers
git-svn-id: svn://svn.cc65.org/cc65/trunk@3503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-05 10:32:06 +00:00
cuz
a170b50687 CLOSE is actually the same as INSTALL/UNINSTALL
git-svn-id: svn://svn.cc65.org/cc65/trunk@3502 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-05 10:25:27 +00:00
cuz
a835641eb7 Bump the priority for the serial IRQ handler
git-svn-id: svn://svn.cc65.org/cc65/trunk@3501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-05 10:14:04 +00:00
cuz
f096dc95ae Carry is clear on IRQ entry
git-svn-id: svn://svn.cc65.org/cc65/trunk@3500 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-05 10:11:23 +00:00
cuz
3c4cd1fff9 Call interrupt handlers with carry clear
git-svn-id: svn://svn.cc65.org/cc65/trunk@3499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-05 10:07:17 +00:00
cuz
107ead3211 Adjusted IRQ handler for new callirq semantics
git-svn-id: svn://svn.cc65.org/cc65/trunk@3498 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-05 10:00:17 +00:00
cuz
a8a25d6808 Bug fix by Karri Kaksonen
git-svn-id: svn://svn.cc65.org/cc65/trunk@3494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-02 08:09:36 +00:00
cuz
d30fbca7c8 Removed mouse.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-28 20:11:08 +00:00
cuz
066b07c6ce Interruptor support
git-svn-id: svn://svn.cc65.org/cc65/trunk@3492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-27 18:01:57 +00:00
cuz
cbdcab4fdb Change the sematics of callirq and the existing interruptors: The interrupts
must now return carry set if the interrupt has been handled, and carry clear
if not. The callirq routine will stop calling handlers with the first handler
that claims to have handled the interrupt. callirq will return the carry flag
to the caller as it came from the last interruptor called.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-25 20:10:10 +00:00
cuz
2a688ef6fd Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-24 22:13:15 +00:00
cuz
b36a0193c3 Remove getenv.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-24 16:06:53 +00:00
cuz
5c2eebcda1 The 65C02 code didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-23 14:12:19 +00:00
cuz
424d1d7782 Remove getenv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-23 14:11:41 +00:00
cuz
148dc9e5bf Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:32:29 +00:00
cuz
533e8eb9b7 getenv is now in common
git-svn-id: svn://svn.cc65.org/cc65/trunk@3485 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:31:16 +00:00
cuz
e0319679f0 Added environment routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@3483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:26:15 +00:00
cuz
deab71739a Bugfix from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 02:08:29 +00:00
cuz
c0f6dea213 Startup code with interruptor support by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 01:41:50 +00:00
cuz
9bd3aba923 Use .assert
git-svn-id: svn://svn.cc65.org/cc65/trunk@3478 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 16:52:18 +00:00
cuz
f3ac2be07d Cosmetic changes from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3477 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 16:52:10 +00:00
cuz
94b11e7a73 Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 14:28:15 +00:00
cuz
977cb3d900 Place initcwd in the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:53:04 +00:00
cuz
00633945b8 Leave __cwd_buf_size intact
git-svn-id: svn://svn.cc65.org/cc65/trunk@3467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:48:05 +00:00
cuz
ccd4955384 initcwd from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:31:00 +00:00
cuz
ee81f9a686 Make the size of _cwd FILENAME_MAX chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@3465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:28:11 +00:00
cuz
088d5baaca Fixed output path for objects
git-svn-id: svn://svn.cc65.org/cc65/trunk@3463 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-18 10:00:40 +00:00
cuz
19e2d56016 Initialize _cwd by use of a constructor that calls a platform specific
function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-16 14:43:22 +00:00
cuz
93ce19da63 Cosmetic changes from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3460 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-15 08:27:09 +00:00
cuz
feacac1394 POSIX file I/O by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-12 09:12:48 +00:00
cuz
b0117e1e22 New cgetc with apple2enh fix from Oliver Scmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-08 19:27:07 +00:00
cuz
1c5c974200 mainargs rewrite by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3453 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-05 21:11:10 +00:00
cuz
c81dc42f93 Squeezed a few bytes out of open()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3452 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-03 18:04:53 +00:00
cuz
35aafe8b44 Update from Oliver Schmidt: Includes gotox/gotoy which were missing before.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 09:59:53 +00:00
cuz
624c808dbc Renamed O65_OS_CC65_MODULE -> O65_OS_CC65 in the headers.
Squeezed one precious byte out of the loader code:-)


git-svn-id: svn://svn.cc65.org/cc65/trunk@3445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 08:23:56 +00:00
cpg
0093a8f388 startup code now resides in LOWCODE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 21:53:12 +00:00
cuz
e3df1fea4a Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 07:24:01 +00:00
cuz
35676b5c6b dio implementation by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 18:25:04 +00:00
cuz
069f0a7015 Cosmetic changes requested by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 18:17:57 +00:00
cuz
2c1bbf7d40 Removed tabs
git-svn-id: svn://svn.cc65.org/cc65/trunk@3429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-28 17:27:04 +00:00
cuz
939f6334dc Remove obsolete files
git-svn-id: svn://svn.cc65.org/cc65/trunk@3428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-28 17:05:31 +00:00
cuz
0a7067e89b Squeezed out a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-28 16:01:08 +00:00
cuz
5e6ca22fe3 Fixed "statement has no effect" warnings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-27 20:14:49 +00:00
cuz
dd21ca9e0b Ignore ready built drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@3424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:23:58 +00:00
cuz
1bf894cf44 New version from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3423 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:23:14 +00:00
cuz
071c58bda2 New version from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:03:30 +00:00
cuz
54240ffad3 Move constructor code into the INIT segment. Note: Didn't change any
obsolete modules.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:38:46 +00:00
cuz
8e95d036e3 Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:34:01 +00:00
cuz
d0bee35728 Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:28:46 +00:00
cuz
6ec87c5dd9 Move initialization code into the init segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:06:46 +00:00
cpg
50319e2a4f clean up
git-svn-id: svn://svn.cc65.org/cc65/trunk@3396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-20 00:39:46 +00:00
cpg
fcf1a05454 add query_sectorsize: query sector size of disk by reading sector #4
and making a status command ($53) to the drive: initial check-in,
needs cleanup


git-svn-id: svn://svn.cc65.org/cc65/trunk@3394 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 01:04:41 +00:00
cpg
03a0c61768 dioqsize.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@3392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:58:26 +00:00
cpg
15d7996bfc initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3391 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:57:26 +00:00
cuz
6c796774d8 Code improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@3385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 10:28:54 +00:00