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

52 Commits

Author SHA1 Message Date
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