uz
4026a28c60
Added a new flags byte to the TGI headers. Bumped the API version.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5083 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 11:23:27 +00:00
ol.sc
4aa00e84e1
Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-02 10:38:48 +00:00
ol.sc
14cfadbc75
Computed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4/3 for a classic CRT and using the given driver resolutions as storage aspect ratio (SAR).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5001 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-30 12:46:03 +00:00
ol.sc
5e37ed1a16
Target-specific black & white values for use by the target-shared TGI kernel
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 17:11:23 +00:00
uz
577247df58
As a test, remove the SYS header from the startup code and use the one
...
supplied by the new exehdr module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4862 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-14 11:51:05 +00:00
uz
9948b5acfe
Remove the load address since it's supplied in its own module now.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4856 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-13 16:57:23 +00:00
uz
fa1b5047dd
Fixed order of options in call to ld65, which became important after the
...
latest changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4843 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-09 21:33:14 +00:00
ol.sc
d1f5b74f01
Now that we reduce the size of the RAM memory area by the stacksize in the linker configuration we need to add the stacksize to end of the RAM area when setting the initial stack pointer in the startup code.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4822 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 10:37:20 +00:00
uz
09adce2fec
Added patches to make systime work correctly with the different video systems
...
(Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-03-19 20:46:56 +00:00
ol.sc
8663ae5975
Fixed line endings I broke with recent change.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4618 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-03-07 21:00:42 +00:00
ol.sc
9ef9396b71
Added comment based on mailing list posting by Greg King.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-20 09:52:05 +00:00
uz
5f18ddbec9
Patches by Greg King to avoid crosstalk between mouse and keyboard.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4589 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-15 17:52:41 +00:00
ol.sc
d1aad57b98
Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-14 23:12:54 +00:00
uz
d4592d1a7c
New EMD driver for the Double Quick Brown Box cartridge, written and
...
contributed by Marco van den Heuvel with quite some cleanup by me.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4587 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-12 11:09:23 +00:00
uz
49f6f3972b
Make PIA upper case for orthogonality.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4586 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-12 11:07:07 +00:00
uz
6a712d8b9e
More driver cleanup.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4585 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-12 10:46:57 +00:00
uz
8bae793f48
Use the .max function to calculate the backup space.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-11 18:56:47 +00:00
uz
e65f966d25
Added DTV detection code by Marco van den Heuvel.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4580 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-04 20:27:48 +00:00
uz
aa6a507991
Some more improvements (untested).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4579 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-04 20:08:50 +00:00
uz
37fbe08df2
New extended memory driver for the C256K memory extension. Written and
...
contributed by Marco van den Heuvel with several changes by me.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4577 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-04 19:19:17 +00:00
uz
4e18dad55a
New EMD driver for the ISEPIC cartridge written and contributed by
...
Marco van den Heuvel with some cleanup by me.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4574 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-02 18:32:34 +00:00
uz
31819685af
Fixes for joysticks 3+4 in the ptv joystick driver. Contributed by Marco van
...
den Heuvel.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-02 17:05:18 +00:00
uz
7d731dce02
Marco van den Heuvel contributed code to detect a C64 DTV.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-01 18:04:14 +00:00
uz
cf4d3d0a16
No need to save the Y register in INSTALL.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-01 07:19:47 +00:00
uz
3bf4afae50
Added size checking code contributed by Marco van den Heuvel.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-01 07:15:41 +00:00
uz
80b1dddb7f
Added size checking routine contributed by Marco van den Heuvel.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4565 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-01 07:07:24 +00:00
uz
7e2a24176f
Replaced $30 by literal '0' for better readability.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:12:24 +00:00
uz
13698871cb
Removed the call to CLRCH in the startup code.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 21:22:17 +00:00
uz
60bc009991
* Moved the BASIC stub that calls the compiled program into it's own segment
...
named EXEHDR.
* Renamed BASICHDR to EXEHDR for the PET-II machines.
* Moved the call to CHRCH in front of the code that saves the zero page, since
open files are sometimes remembered in the zero page, so we need to close
them before we grab a copy.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-09 12:42:24 +00:00
uz
bfbf94404b
Squeezed bytes and cycles out of the kbhit functions for almost all platforms.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 18:31:16 +00:00
uz
c7a33334ba
Don't hardcode the address of the SYS call for the startup code of the
...
Commodore machines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4474 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-23 12:01:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a939b2b7e9
Added the IRQ entry
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:33:08 +00:00
cuz
dc781be7f9
Add the irq entry point
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:27:38 +00:00
cuz
16c81eb942
Add the irq entry point
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:12:57 +00:00
cuz
303304fe90
Add definitions for tools so the makefile is useful by itself.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:28:26 +00:00
cuz
7b13d79bde
Use get_tv.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:05:19 +00:00
cuz
4233f92e9a
Removed an unused .import
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 19:56:29 +00:00
cuz
cfef8e1e0d
Renamed __IRQFUNC_xxx -> __INTERRUPTOR_xxx
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-09-20 10:24:59 +00:00
cuz
28eec78cad
Fixed a comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2987 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:10:23 +00:00
cuz
35a099bb81
Rewrote argument parsing
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2984 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 08:43:35 +00:00
cuz
4ae1e7bbb7
Fixed a comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2973 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 20:43:08 +00:00
cuz
b67169c979
Fixed NTSC/PAL issue
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 20:42:34 +00:00
cuz
0d7cf8ebce
Use new callirq function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2970 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:28:57 +00:00
cuz
663bce6cd7
Change MOVE routine calling conventions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2965 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 16:44:39 +00:00
cuz
cfe8c8d934
Removed the old mouse module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2958 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:55:35 +00:00
cuz
31595342d6
Mouse driver implementation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:54:24 +00:00
cuz
5f3ed8826f
Added an interrupt facility similar to that on the C128 and Plus/4
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2956 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:50:15 +00:00
cuz
3bfbaee6a6
Working on loadable mouse drivers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:12:06 +00:00
cuz
7a5d4f3138
Fixed issues with the last change: The return code must be pulled from stack
...
before the stack pointer is reset.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2906 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-08 20:38:58 +00:00
cuz
220e5a3898
Place the return code into ST
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2884 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 17:08:07 +00:00
cuz
910f9277ac
Place the return code into ST
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2883 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 16:59:52 +00:00
cuz
be5adac693
Use the assembler version as BASIC line number, so the version of the
...
assembler (and probably compiler) can be determined from a compiled
executable. Nice idea from Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2880 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 13:34:12 +00:00
cuz
5ed647b99e
New joystick driver contributed by Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2878 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 12:23:45 +00:00
cuz
dbbc0032e8
Started to remove obsolete RS232 code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:44:52 +00:00
cuz
b15e4106dc
Use new joystick decls
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2777 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 22:38:12 +00:00
cuz
5010b8be45
Use changed EM decls
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2773 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 21:08:13 +00:00
cuz
422ebf76fb
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2764 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-15 23:06:05 +00:00
cuz
ba079ae6a1
Added an IRQ vector
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2753 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 17:39:22 +00:00
cuz
042c63f278
Squeezed one precious byte out of the code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2749 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 20:55:37 +00:00
cuz
3b69c2fd21
Small size optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 15:16:11 +00:00
cuz
bac72d6b60
Add SER_API_VERSION
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 23:28:58 +00:00
cuz
4fa1f8ba97
Use structs/enums
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 19:57:27 +00:00
cuz
d7cbbc6f46
Clear high byte of returned value
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-28 15:53:24 +00:00
cuz
f8c840fc55
Removed the HORLINE entry point
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:56:16 +00:00
cuz
7cafe5bbde
Removed the HORLINE entry point
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2646 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:54:41 +00:00
cuz
7f12a14e12
Removed emulation for BAR
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2605 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 17:39:00 +00:00
cuz
ca72fb45b4
DONE, GETPALETTE and GETDEFPALETTE will no longer return errors.
...
Use TGI_API_VERSION.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2568 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:29:12 +00:00
cuz
096d23ccf0
Use the new := operator
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:53:14 +00:00
cuz
873d9adde9
Use symbolic names instead of numbers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-28 21:39:20 +00:00
cuz
5a0041df7a
Added two more joystick drivers from groepaz
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-27 20:14:31 +00:00
cuz
86a2019c50
Fixed sprite expand registers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-25 18:50:14 +00:00
cuz
676e8ff513
Working on the serial driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2414 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-25 14:52:46 +00:00
cuz
bc9f2678a2
Fixed a problem and a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-21 20:35:26 +00:00
cuz
a3109620ab
Changed rm -f to $(RM)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:59:27 +00:00
cuz
74b3b70805
Ignore .ser files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:20:07 +00:00
cuz
5efa39491a
Working on the serial driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2329 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:17:36 +00:00
cuz
00b4316ee3
Added first version of swiftlink driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 12:05:56 +00:00
cuz
deeecae2ce
Added get_ostype.s
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:42:03 +00:00
cuz
4e76d0155d
New uname function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:24:02 +00:00
cuz
487ded2ce2
New mainargs.s from Greg King
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2168 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-25 11:46:21 +00:00
cuz
3b3e1bec17
Removed the empty LOWCODE segments from the startup files. This is now
...
handled by the OPTIONAL segment attribute in the linker config.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:32:04 +00:00
cuz
fa849031d8
Working on the new serial code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2070 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-20 22:49:32 +00:00
cuz
63b0537eb7
First few nes files by groepaz
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2056 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-14 21:28:51 +00:00
cuz
37178d5141
Make screensize() fetch the values dynamically instead of using variables
...
that are set on startup. This is needed to support the C128, which can switch
the screen size at runtime.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2042 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-09 19:34:57 +00:00
cuz
467d8ad9c5
Added routines to handle command line params
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2012 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-10 21:21:46 +00:00
cuz
e3faea3fa2
Renamed DEINSTALL -> UNINSTALL
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1968 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 12:42:22 +00:00
cuz
23fc9ab74c
Fixed a comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1967 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 12:40:32 +00:00
cuz
97e7ce86ae
Added comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1961 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 23:00:16 +00:00
cuz
2a293bfc6b
Renamed DEINSTALL to UNINSTALL.
...
Checked/fixed initialization so that some of the drivers do work now when
linked statically.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1958 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:48:40 +00:00
cuz
c9f3497367
Renamed DEINSTALL ->UNINSTALL
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1951 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:12:33 +00:00
cuz
a8810a464d
Make sure the zap target is available
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1932 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 15:35:30 +00:00
cuz
5f5bfa8751
DONE must set an error code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1875 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-03 08:03:53 +00:00
izydorst
a6888c5e46
TGI drivers updated for current API (INIT call has changed)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1873 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-02 22:18:30 +00:00
cuz
92d9a7cb40
readjoy() is no longer available
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1849 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-26 15:59:49 +00:00
izydorst
58cd139c6e
emd drivers for RamCart 64/128KB
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1828 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 00:13:53 +00:00
cuz
69ac0ce1fc
Added joy_stddrv modules
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 09:32:14 +00:00
izydorst
6b1d62a281
some bytes saved
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1805 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:04:00 +00:00
cuz
6a79a3b2d8
New joystick API
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1800 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:41:40 +00:00
izydorst
46773e5e9b
em drivers for VDC (both C128 native and C128 in C64 mode)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 17:01:02 +00:00
cuz
36fe6284a8
For the CBM platforms, make revers() machine dependent and use the RVS flag
...
of the different machines instead of a separate one.
For the C128, make the textcolor() function work in 40 and 80 column mode.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1787 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-19 20:29:27 +00:00
cuz
01488b8b31
Cleanup
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1727 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 10:40:41 +00:00
cuz
fb8984c73b
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1725 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-06 21:54:49 +00:00
cuz
f7244c4e19
Added em_use
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 18:57:53 +00:00
cuz
df956f4628
Added get_tv for several platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:19:21 +00:00
cuz
386643bbf1
Added C64 RAM driver, fixed bug in REU driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1699 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 20:45:24 +00:00
cuz
7583f2b0cf
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1694 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 06:15:03 +00:00
cuz
52559c2c18
Cosmetic change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1691 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:40:49 +00:00
cuz
ef166c1fa8
Completed the REU driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1683 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 18:07:06 +00:00
cuz
0c38839e79
Replaced em_mapclean by em_commit
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1682 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 18:06:57 +00:00
cuz
66f85941c9
Started new driver for the CBM REU
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1680 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 23:59:29 +00:00
cuz
a2d6c68717
New GeoRAM driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1676 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 14:41:21 +00:00
cuz
0cd1141f60
Fixed last fix:-)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1620 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 19:13:19 +00:00
cuz
4a9210e3e1
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1618 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 11:18:24 +00:00
cuz
83c2b4c916
Rename the 320x200x2 driver to c64-hi.tgi
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 21:02:56 +00:00
cuz
fe75b5c3f3
Added LOWCODE and STARTUP segments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:50:45 +00:00
cuz
6d498d8187
Use external symbols for the CBM kernal jump table functions. This allows
...
to emulate these functions on platforms where one or more of these functions
are not available (PET, CBM-II).
git-svn-id: svn://svn.cc65.org/cc65/trunk@1544 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 23:02:47 +00:00
cuz
751aaee63d
Finally: Commodore file I/O
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1531 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 23:45:15 +00:00
cuz
163c421db0
Renamed randomize to _randomize
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:17:38 +00:00
cuz
3fae969b5b
New randomize() function for nearly all platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 10:48:20 +00:00
cuz
eab19873f3
Remove the ",r" spec
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1434 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 18:16:46 +00:00
cuz
7fffd12f11
Started to add tgi text output functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:18:49 +00:00
cuz
12741467f8
Add rule to make zeropage.o in runtime dir if it is missing
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1387 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-11 12:39:10 +00:00
cuz
613cb2ff77
Add TGI driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 11:12:16 +00:00
cuz
8c8f0ba06f
New TGI module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1310 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:08:57 +00:00
cuz
33c1e82bda
Move zp space out of crt0.s
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 09:09:10 +00:00
cuz
d0599a24fe
Move include files into /asminc, changed include file paths
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:19:16 +00:00
cuz
7d11fa012c
Straighten checking of the initialized flag in both, the C64 and C128
...
versions of rs232.s.
New include file common/rs232.inc, use the constants from this file instead
of defining them separately in each platform specific rs232 module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-25 06:06:52 +00:00
cuz
c80c2049b6
Use names instead of numeric addresses
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1085 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 19:11:52 +00:00
cuz
5c537721bf
Removed c128 code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1080 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 15:52:04 +00:00
cuz
c143007420
Remove an unused import
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 10:02:16 +00:00
cuz
f74ed6a2d1
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@914 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:45:44 +00:00
cuz
3d85621819
Removed the port parameter from mouse_init
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@906 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 16:00:55 +00:00
cuz
0856c6debc
Fixed an error in the reset_brk() routine of all target machines (all the code
...
was derived from my old C64 code which had an error).
git-svn-id: svn://svn.cc65.org/cc65/trunk@900 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:29:13 +00:00
cuz
6d4953870a
Polished the mouse routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@899 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:28:21 +00:00
cuz
20f23128cd
Use correction values for the coordinates so that the x/y coordinates are
...
0/0 if the upper left corner of the mouse sprite is in the upper left corner
of the screen.
Use always sprite #0 for the mouse pointer.
git-svn-id: svn://svn.cc65.org/cc65/trunk@892 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 13:43:00 +00:00
cuz
4e3fcec239
Fixed an error in mouse_pos
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@873 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:51:05 +00:00
cuz
2760787727
Polishing the mouse stuff
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@871 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:35:13 +00:00
cuz
241db12053
Don't use php to save old IRQ state
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@869 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:24:20 +00:00
cuz
8b73812212
Added mouse_pos() and mouse_info(), removed mouse_x() and mouse_y()
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@867 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:20:44 +00:00
cuz
18b9977039
Removed the read module from the Makefile
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 15:18:38 +00:00
cuz
22b55ae7fe
Don't hardcode the stack location
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 14:48:00 +00:00
cuz
e906d07cc1
Fixed newline bug in cvline
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@523 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 14:59:14 +00:00
cuz
e02b3e91c8
Use a destructor instead of atexit
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 17:58:40 +00:00
cuz
99ecc9a609
Removed initialization code to set the screen size and replaced it by a
...
separate module that contains a module constructor. In some cases, the
code was even unnecessary, since the screen size is known in advance.
git-svn-id: svn://svn.cc65.org/cc65/trunk@476 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 19:05:32 +00:00
cuz
f3b93741ab
Use the condes feature
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 22:19:09 +00:00
cuz
23937f1dac
First condes feature test
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@463 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 23:05:52 +00:00
cuz
df52e29196
Updated the mouse module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:50:38 +00:00
cuz
cb762d9d7c
Added type parameter to mouse_init
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:15:46 +00:00
cuz
e66b11770f
Squeeze 4 bytes out of the startup code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@412 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 21:01:34 +00:00
cuz
c15fb9b50f
Debugged the mouse routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 19:44:44 +00:00
cuz
9633ff1882
Started debugging the mouse routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 18:46:29 +00:00
cuz
e0a619ff90
Place the zero page variables into the ZEROPAGE segment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:13 +00:00
cuz
c6546592b6
newline is used elsewhere and must be exported
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:54:53 +00:00
cuz
f3605c162b
Fixed a bug in LF handling for the CBM machines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:24:10 +00:00
cpg
0c85406f52
replaced multiple lines of "rm" commands with a single "rm" line in the
...
clean target. on some rm lines the argument was empty which caused the
NetBSD rm command to complain...
git-svn-id: svn://svn.cc65.org/cc65/trunk@135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-03 21:03:41 +00:00
cuz
874b728ecd
Fixed cr/lf handling
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@30 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:02:13 +00:00
uz
53dd513176
This commit was generated by cvs2svn to compensate for changes in r2,
...
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00