1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-11 01:05:25 +00:00
Commit Graph

136 Commits

Author SHA1 Message Date
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
aa030c8e6c Ignore serial binary drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:03:10 +00:00
cuz
fb09db833e Added C128 swiftlink driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:02:48 +00:00
cuz
ad2c6a0e18 Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:07:08 +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
ed6a2f5c86 New joystick driver, converted from c64 one
git-svn-id: svn://svn.cc65.org/cc65/trunk@2458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-28 21:41:15 +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
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
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
izydorst
7cc6ab0c16 fixed line drawing routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:39:39 +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
e7136de262 Fix toggle_videomode, move kernal entries to kernal.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2034 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-18 11:27:49 +00:00
cuz
39a436c466 Switch to lower case chars in toggle_videomode
git-svn-id: svn://svn.cc65.org/cc65/trunk@2031 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 21:09:27 +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
8c7400c26e Added fast(), slow() and c64mode()
git-svn-id: svn://svn.cc65.org/cc65/trunk@1982 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-13 21:29:12 +00:00
cuz
85f51dc89a New function toggle_videomode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1980 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-13 21:12:11 +00:00
cuz
11e16317b3 Renamed DEINSTALL -> UNINSTALL, fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1969 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 12:43:00 +00:00
cuz
749298f340 Renamed the DEINSTALL vector to UNINSTALL.
Checked/fixed compatibility when linked statically.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1959 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:57:05 +00:00
cuz
ee155a8553 Renamed the DEINSTALL vector to UNINSTALL.
Added a comment regarding usage of the driver when it is linked statically
to the application.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:19:53 +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
izydorst
b22030dbc7 DONE must set an error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1876 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-03 12:56:38 +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
17a99e2709 fixed addressing problems seen on the Real Machine (tm)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1831 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 14:52:51 +00:00
izydorst
578443610d new TGI driver for interlaced VDC 640x480 mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1830 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 14:15:46 +00:00
izydorst
e2e2b02c3d fixes in comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1829 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 00:46:52 +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
izydorst
8397a1d8aa tgi driver for C128 VDC, changed order of things in libsrc/tgi/tgi-kernel.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 22:50:17 +00:00
cuz
ea4d2f4e6f Fixed several problems with the new output routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1823 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 14:11:32 +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
cuz
6b0073145d Joystick code conversion for C128
git-svn-id: svn://svn.cc65.org/cc65/trunk@1810 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:30: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
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
0824475804 Return 0 if color not found
git-svn-id: svn://svn.cc65.org/cc65/trunk@1792 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 13:40:44 +00:00
cuz
67890598ac Disable scrolling
git-svn-id: svn://svn.cc65.org/cc65/trunk@1791 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-19 23:16:51 +00:00
cuz
181748bf03 Move the initialization code from conio.s as constructor/destructor code
into the cgetc and cputc modules.
Fix color routines using additional snippets from MagerValp.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-19 22:53:13 +00:00
cuz
8775a9da8a Add 80 column mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1788 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-19 21:22:22 +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
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
87531388f9 Added C128 extended memory driver for memory in bank #1
git-svn-id: svn://svn.cc65.org/cc65/trunk@1715 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-04 22:29:45 +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
dcc294da5f Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1700 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 21:27:06 +00:00
cuz
45cae51628 C64 -> C128 conversion
git-svn-id: svn://svn.cc65.org/cc65/trunk@1698 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 14:12:34 +00:00
cuz
57e7ce7eb2 Renamed CC65_MMU_CFG to MMU_CFG_CC65
git-svn-id: svn://svn.cc65.org/cc65/trunk@1697 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 14:12:25 +00:00
cuz
dc3b6ecbfe Ignore drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 06:17:00 +00:00
cuz
508af1ca21 Added emd drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1693 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 06:14:46 +00:00
cuz
5d720cb6e3 Changed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:41:39 +00:00
cuz
6cb572104a Use the new LOWCODE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1589 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:34:46 +00:00
cuz
4b8a20fee6 Rename segment named NMI to LOWCODE
git-svn-id: svn://svn.cc65.org/cc65/trunk@1571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:52:49 +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
22047d8086 Removed duplicate line
git-svn-id: svn://svn.cc65.org/cc65/trunk@1537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 17:37:49 +00:00
cuz
911d5c0703 Store directly into zeropage
git-svn-id: svn://svn.cc65.org/cc65/trunk@1536 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 17:37:13 +00:00
cuz
fd2b108cd0 Set the file name bank to bank zero on startup to make our file routines
work.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1535 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 11:16:18 +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
91e26f573c Added the TGI mode table
git-svn-id: svn://svn.cc65.org/cc65/trunk@1435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 18:19:25 +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
b9b144cf52 More banking fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1090 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-26 13:48:49 +00:00
cuz
7e65f64c6a Debug the rs232 routines. This involved using two new segments, STARTUP
and NMI to make sure the NMI handler is loaded into the low 16K of memory
which are active when the control is passed from the ROM NMI stub to the
user handler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1086 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 19:13:36 +00:00
cuz
efce8fa8d0 Minor fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@1082 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 15:56:19 +00:00
cuz
7afca6557d Added rs232 routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1081 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 15:54:40 +00:00
cuz
2ffb744316 Make the code somewhat smaller
git-svn-id: svn://svn.cc65.org/cc65/trunk@950 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 09:57:56 +00:00
cuz
c1ea31d24c Disable the mouse sprite on exit
git-svn-id: svn://svn.cc65.org/cc65/trunk@949 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 09:53:04 +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
b0687bbbf5 Added the hack for write() to make printf work
git-svn-id: svn://svn.cc65.org/cc65/trunk@907 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 16:01:32 +00:00
cuz
50ccc25f05 Redesigned the IRQ and BREAK logic, debugged the mouse routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@898 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:27:19 +00:00
cuz
745cf9a6b3 Use latest changes from C64 version
git-svn-id: svn://svn.cc65.org/cc65/trunk@894 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 16:30:27 +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
e401636c28 Added mouse module from C64
git-svn-id: svn://svn.cc65.org/cc65/trunk@870 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:24:54 +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
00e858c9de Squeeze 2 bytes out of the startup code
git-svn-id: svn://svn.cc65.org/cc65/trunk@413 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 21:02:49 +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