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

711 Commits

Author SHA1 Message Date
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
f243a15e8e Added joystick drivers for C16 and Atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@1818 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 09:10:15 +00:00
cuz
d758e77835 Converted the C16/Plus4 joystick code to modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@1816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 08:53:39 +00:00
izydorst
a63a1075f8 memmove, memcpy, memset and bzero now return dest ptr as they should
git-svn-id: svn://svn.cc65.org/cc65/trunk@1815 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 00:49:25 +00:00
cuz
9227123e16 Allow file names up to 16 chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@1814 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 00:06:41 +00:00
cuz
d0c237bcd8 Allow longer file names, use BASIC input buffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@1813 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 00:06:28 +00:00
izydorst
c024ddbdb2 added bzero implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1812 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 00:05:51 +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
cuz
3771aaa558 Converted the VIC20 joystick to a loadable module
git-svn-id: svn://svn.cc65.org/cc65/trunk@1807 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:23:06 +00:00
izydorst
0f9dd23746 putchar.s moved to put_char.s due to name conflict with one of common/ files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1806 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:16:44 +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
f29db6ace0 added missing cputhex8 and cputhex16 functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1804 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 22:55:17 +00:00
izydorst
3dc9b06127 fixed bug on C64 GEOS (I/O was not enabled when reading joystick)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1803 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 22:54:56 +00:00
cuz
0f291f0db6 Ignore joystick drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1801 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:44:57 +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
cuz
4157bba161 Joystick library, first version
git-svn-id: svn://svn.cc65.org/cc65/trunk@1796 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 20:59:11 +00:00
cuz
bb0d6a6e39 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1795 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 20:39:24 +00:00
izydorst
a0b79c7f49 *.emd are removed too with make zap
git-svn-id: svn://svn.cc65.org/cc65/trunk@1794 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 17:06:02 +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
0b496a9daa Ignore intermediate .s files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1786 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-19 20:19:46 +00:00
cuz
07b040fe5a Added STARTUP and LOWCODE segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1776 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-16 09:30:52 +00:00
izydorst
5a3040dfb1 buggy rmb and rmbf macros (not used anywhere anyway ;)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1758 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:35:54 +00:00
cuz
41f6d32cfd Fix parameters to cbm_load and cbm_save
git-svn-id: svn://svn.cc65.org/cc65/trunk@1757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:30:40 +00:00
cuz
620c275d75 Fixed the fix:-)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1754 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:18:44 +00:00
cuz
c45c2eb3ea Small change to make the color stuff consistent across platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@1753 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:09:25 +00:00
cpg
844f5a1a86 old color.s implementation for convenience
git-svn-id: svn://svn.cc65.org/cc65/trunk@1751 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:52:48 +00:00
cpg
f0caac24e1 used version from pet -- Atari is now a monochrome target
git-svn-id: svn://svn.cc65.org/cc65/trunk@1749 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:51:18 +00:00
cpg
cff1f462fb call setcursor
git-svn-id: svn://svn.cc65.org/cc65/trunk@1748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:50:35 +00:00
cuz
0dc85c727b Fixed escape and stop key definitions for the commodore machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 21:01:34 +00:00
cuz
380f5ce51d Added a PLOT kernal replacement function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1740 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 18:44:28 +00:00
cuz
b3ed17f575 Added EMD drivers for the Commodore B machines.
Note: These drivers are currently untested because I didn't realize that
using the drivers would need file routines, which are not available right
now. So in fact the drivers are not only untested, they are also unusable
on the target platforms, because they cannot be loaded.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1732 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-10 10:30:01 +00:00
cuz
9595d16ac0 Fixed the PLOT function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1728 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 10:45:16 +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
cpg
c56b5218d2 adapted to fastcall calling convention
git-svn-id: svn://svn.cc65.org/cc65/trunk@1723 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-06 00:32:20 +00:00
cpg
4314ed5185 comment fixes; cleanups
git-svn-id: svn://svn.cc65.org/cc65/trunk@1722 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-06 00:26:09 +00:00
cpg
1c29bd3663 comment fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1721 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-06 00:24:35 +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
ebba65b0b3 Make read and write __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:31:06 +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
6ad3b3078f Close all open files on exit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 21:44:58 +00:00
cuz
773888ba95 Ignore .emd files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1706 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 21:44:41 +00:00
cuz
ab9eb876b9 Change constructor priority
git-svn-id: svn://svn.cc65.org/cc65/trunk@1705 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 20:01:43 +00:00
cuz
aa1672d695 Copy EM drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1701 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 21:28:35 +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
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
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
b5ac3a0862 Ignore em_load.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1695 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 06:16:28 +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
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
8369e0fe7a New defines, sort
git-svn-id: svn://svn.cc65.org/cc65/trunk@1692 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-02 06:10:41 +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
f5193bc0d1 Remove em_load
git-svn-id: svn://svn.cc65.org/cc65/trunk@1681 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-30 00:01:30 +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
4c4e5def21 New extended memory API
git-svn-id: svn://svn.cc65.org/cc65/trunk@1678 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 14:46:56 +00:00
cuz
5de8af4f8f Extended memory library and other changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1677 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 14:42:12 +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
cpg
6116ee51ec call setcursur when finished
git-svn-id: svn://svn.cc65.org/cc65/trunk@1662 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-27 15:05:01 +00:00
cpg
93f6ee340d always use setcursor to update cursor settings
git-svn-id: svn://svn.cc65.org/cc65/trunk@1657 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 21:34:13 +00:00
cpg
ef36bbfd82 call setcursor to update cursor settings
git-svn-id: svn://svn.cc65.org/cc65/trunk@1656 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 21:32:08 +00:00
cpg
16af39de8d setcursor now updates OLDADR from COLCRS and ROWCRS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1655 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 21:31:01 +00:00
cuz
0edf53fd2f Use the constants from _file.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@1650 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 21:59:35 +00:00
cuz
fbe913e1db Use register variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1646 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:19:49 +00:00
cuz
e1385c925a New functions to swap register variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1629 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 12:38:38 +00:00
cuz
12a1f1afd4 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1623 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 19:17:16 +00:00
cuz
5d0ebf8b96 Rewrote fclose() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1621 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 19:13:38 +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
8070250984 Rewrote fread in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:05:00 +00:00
cuz
40a53d37e2 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:04:50 +00:00
cuz
79396d8acd Rewrote fwrite in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1614 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 22:51:25 +00:00
cuz
756091e31f Must import sp now that the zp definitions are elsewhere
git-svn-id: svn://svn.cc65.org/cc65/trunk@1612 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 22:06:01 +00:00
cuz
928bd5d192 Change naming conventions for tgi drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1611 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 21:05:11 +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
6195f87f6a Rewrote fopen in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 18:46:40 +00:00
cuz
6f198ae131 Rewrote _fopen in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1607 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 17:52:38 +00:00
cuz
222d3d1f23 Rewrite
git-svn-id: svn://svn.cc65.org/cc65/trunk@1605 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 16:21:46 +00:00
cuz
56350d81e0 Fixed a bug in pushw0sp
git-svn-id: svn://svn.cc65.org/cc65/trunk@1604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 16:21:35 +00:00
cuz
3650422769 New module
git-svn-id: svn://svn.cc65.org/cc65/trunk@1602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 11:19:51 +00:00
cuz
d7d86886b6 Add STARTUP and LOWCODE segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 11:10:50 +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
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
96e87c49ee Fixed the break stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@1593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:41:20 +00:00
cuz
81827cbb45 Small changes for new C16 target
git-svn-id: svn://svn.cc65.org/cc65/trunk@1592 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:39:44 +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
2de0fbb020 More banking support
git-svn-id: svn://svn.cc65.org/cc65/trunk@1588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:24:24 +00:00
cuz
b7e7864fc5 Added wrappers for the kernal functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1587 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:16:20 +00:00
izydorst
7ee826123f added _systime implementation for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 19:31:44 +00:00
cuz
bbbf2ac45a Move the startup code into its own segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1581 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 17:43:30 +00:00
cuz
d7a5fbeb1a Removed __cdiff. Since the assembler does character set translation for
some time now, it is no longer needed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:53:46 +00:00
cuz
195a49a6cf More c16 changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1572 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:53:10 +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
0cfca414a0 Fixed a wrong name (see last change)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:52:11 +00:00
cuz
e77a39b2cd exit() is __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:38:52 +00:00
cuz
fc714f33c2 Removed comment about a cast that is no longer necessary
git-svn-id: svn://svn.cc65.org/cc65/trunk@1564 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:29:15 +00:00
cuz
e41c0adbb2 New target c16
git-svn-id: svn://svn.cc65.org/cc65/trunk@1563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:22:26 +00:00
cuz
cd552515fb Move more common code into rwcommon.s.
Move declaration of __errno into errno.inc.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1552 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 18:14:35 +00:00
cuz
f98c3a0758 Use the POSIX file I/O functions instead of the high level C routines to
save some overhead. Adapt to the new read conventions in modload.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1549 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 14:22:26 +00:00
cuz
9c7d2191aa New calling conventions for read
git-svn-id: svn://svn.cc65.org/cc65/trunk@1548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 14:21:10 +00:00
cuz
ae38242db9 Added kernal replacement routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1546 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 01:31:56 +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
3b081086f3 Fixed open flags for append mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 14:35:07 +00:00
cuz
b2a06ab041 Add support for append mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 14:27:06 +00:00
cuz
ca905a8705 Allow more chars in filenames
git-svn-id: svn://svn.cc65.org/cc65/trunk@1541 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 19:37:02 +00:00
cuz
3a95ae002b Fixed a bug: Because of a wrong label position the code that cleared the
BSS was skipped.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1540 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:54:36 +00:00
cuz
ad1a4c370d Don't check the IEEE status
git-svn-id: svn://svn.cc65.org/cc65/trunk@1539 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:22:26 +00:00
cuz
89dfca1eb5 Use C file I/O
git-svn-id: svn://svn.cc65.org/cc65/trunk@1538 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:21:21 +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
544ff5b900 Working on the CBM file functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1533 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-17 22:45:55 +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
9e74c2b26f Make close() fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1530 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 19:38:37 +00:00
cuz
70bc177714 Renamed fmode.inc -> fcntl.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@1529 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 16:35:47 +00:00
cuz
a3c8336725 Fix open flags, minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1526 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 23:52:39 +00:00
cuz
fc81b379d8 cbm_write is not __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 18:42:06 +00:00
cuz
ef9edbe357 Rewrite cbm_write() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 18:21:32 +00:00
cuz
1407208c4c Fixed %W/%U
git-svn-id: svn://svn.cc65.org/cc65/trunk@1517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 18:08:36 +00:00
cuz
521f30c011 Call strftime instead of formatting the time manually
git-svn-id: svn://svn.cc65.org/cc65/trunk@1515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:28:45 +00:00
cuz
3ed8d565d4 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:26:05 +00:00
cuz
1455555c57 Fixed precision bug in printf family
git-svn-id: svn://svn.cc65.org/cc65/trunk@1513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:17:28 +00:00
cuz
5dba474030 Added strftime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:08:46 +00:00
cuz
e7db3d83ea Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 08:56:45 +00:00
cuz
704ce5ae22 Added _systime for all platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@1510 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:49:38 +00:00
cuz
de7bb15dee Call _systime instead of always returning -1
git-svn-id: svn://svn.cc65.org/cc65/trunk@1509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:36:02 +00:00
cuz
43d8ecd567 Added lots of functions from time.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:06:02 +00:00
cuz
35aaf34e20 Add the time() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 19:54:30 +00:00
cuz
bafba1d673 Handle arguments outside char range correctly
git-svn-id: svn://svn.cc65.org/cc65/trunk@1501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-11 11:58:20 +00:00
izydorst
c8597283ef added _randomize() implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-10 15:48:57 +00:00
izydorst
d1754b7457 Removed GEOS rand.s implementation in favor of random number generator from common library.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1498 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-10 15:35:10 +00:00
cuz
2f3f1df00f New _randomize() function, do some cleanup on apple2.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@1496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-07 12:16:15 +00:00
cpg
f708a05d61 use always a sector size of 128 for sectors 1 to 3, ignore
sst_sectsize


git-svn-id: svn://svn.cc65.org/cc65/trunk@1495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-06 23:02:48 +00:00
cpg
82696446fc added randomize
git-svn-id: svn://svn.cc65.org/cc65/trunk@1494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-06 22:21:15 +00:00
cpg
b98a3bd537 zap also deletes *.tgi files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-06 21:58:00 +00:00
cuz
abec29c613 Make realloc a __fastcall__ function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:21:14 +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
839b425890 Change initial seed to 1
git-svn-id: svn://svn.cc65.org/cc65/trunk@1488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 13:19:43 +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
cpg
444aa7c944 turn on cursor before returning to DOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 00:35:16 +00:00
cpg
345bec94f1 some fixes for last change
git-svn-id: svn://svn.cc65.org/cc65/trunk@1485 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-04 23:30:19 +00:00
cpg
e8afafce78 improved handling of cursor display and position
git-svn-id: svn://svn.cc65.org/cc65/trunk@1483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-03 22:54:52 +00:00
cpg
6078dea817 honour cursor setting
git-svn-id: svn://svn.cc65.org/cc65/trunk@1481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-03 22:10:55 +00:00
cuz
2275e4c2a8 Moved divt.s from runtime into common because it's a C library function, not a
runtime support function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-02 10:52:36 +00:00
cuz
9f8887fe6b No support files in atmos dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@1474 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-28 23:35:13 +00:00
cuz
1ee3ccfdc2 Added new div() function written by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@1469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-25 20:42:18 +00:00
cuz
82684d98fb Minor optimization suggested by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@1468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-24 19:23:24 +00:00
cuz
89fe03a728 Fixed a problem with perror: The error code may get overwritten before it
can be output. Report from Greg King.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-18 13:38:23 +00:00
cuz
9ca21c07e0 Output an error if an invalid address is used
git-svn-id: svn://svn.cc65.org/cc65/trunk@1452 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 20:58:22 +00:00
cuz
b0559a4b19 Fixed a string in the help screen
git-svn-id: svn://svn.cc65.org/cc65/trunk@1446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 12:03:24 +00:00
cuz
3f1eba36f3 Remove the swapeax routine, it is obsolete
git-svn-id: svn://svn.cc65.org/cc65/trunk@1442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 17:59:42 +00:00
cuz
e00f5ba5a0 Add tgi subdir
git-svn-id: svn://svn.cc65.org/cc65/trunk@1441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-04 19:27:45 +00:00
cuz
fc774b3006 Last change introduced a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 19:18:06 +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
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
5fec8ac5c3 Don't call the driver if we don't have one loaded
git-svn-id: svn://svn.cc65.org/cc65/trunk@1431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 13:54:42 +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
2f44fb05a4 Started to add text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:18:23 +00:00
cuz
689202057c Fixed the result of the % operator for longs
git-svn-id: svn://svn.cc65.org/cc65/trunk@1409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-28 19:55:19 +00:00
cuz
3aab67401e Fixed the result of the % operator for ints
git-svn-id: svn://svn.cc65.org/cc65/trunk@1408 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-28 19:41:00 +00:00
cuz
c2b550abf9 vsscanf is a C file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1399 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:47:22 +00:00
cuz
4b805447b6 Prepare VIC20 startup for different start addresses
git-svn-id: svn://svn.cc65.org/cc65/trunk@1390 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-11 15:11:31 +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
94ea416652 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-09 05:07:06 +00:00
cuz
76ee9a1f66 New, shorter readjoy function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:27:40 +00:00
cuz
56fd8532ed The vic20 target had the wrong CFLAGS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1381 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:16:52 +00:00
cuz
93dbb62e9f Small optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:35:15 +00:00
cuz
99b193a482 Cleanup, fix VIC20 problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@1378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:28:39 +00:00
cuz
8a4378e60c Remove unused code, port to new version
git-svn-id: svn://svn.cc65.org/cc65/trunk@1377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:28:23 +00:00
cuz
f0d89e09bc Added VIC20 port changes from Steve Schmidtke
git-svn-id: svn://svn.cc65.org/cc65/trunk@1376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 05:18:13 +00:00
cuz
2a8e2d422c Reverse the last change, brain error :-(
git-svn-id: svn://svn.cc65.org/cc65/trunk@1374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-27 07:44:51 +00:00
cuz
58ef7c8df5 Reintroduce a patch for a bug that has been lost between version 1.2 and 1.3
of the vsprintf module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-27 07:31:13 +00:00
cpg
00a4c6ead0 first version, derived from cbm/oserrlist.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1369 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-24 21:43:57 +00:00
cpg
00302ddd71 oserrlist.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1368 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-24 21:42:27 +00:00
cuz
fcd582e3cb Added _stroserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@1365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-18 13:29:04 +00:00
cuz
baece405e5 Ignore tgi drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-18 13:28:34 +00:00
cpg
2d7f755c32 improved chk_supp: only do the test on SpartaDOS and only if the SDOS version
is below 4 (4 is SpartaDOS-X and supports seeking on all file systems)


git-svn-id: svn://svn.cc65.org/cc65/trunk@1362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 19:27:51 +00:00
cpg
3fd58b9068 initialize __dos_type variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@1361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 18:51:30 +00:00
cpg
2382690f6e added dos_type defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1360 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 18:48:48 +00:00
cuz
87fa3fbdaa Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1358 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 09:41:00 +00:00
cuz
d4e71bfb59 Removed a JMP (ind)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 09:40:45 +00:00
cuz
7e9d911d16 Add ROM function defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-15 20:07:30 +00:00
cuz
55dfc0f312 Use MEMSIZE instead of using a fixed high mem location
git-svn-id: svn://svn.cc65.org/cc65/trunk@1354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-15 20:03:37 +00:00
cuz
380582e4a3 Copy TGI drivers into main lib dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@1338 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 11:17:27 +00:00
cuz
e2f95ebca5 Add tgi_horline
git-svn-id: svn://svn.cc65.org/cc65/trunk@1336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 11:12:41 +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
104ce990cb More work on the graphics subsystem
git-svn-id: svn://svn.cc65.org/cc65/trunk@1334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 10:30:31 +00:00
cuz
750f5e5028 Added a file header
git-svn-id: svn://svn.cc65.org/cc65/trunk@1332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-05 21:11:16 +00:00
cuz
88494bf2e7 Don't call _revers for _textcolor, because both are different and the apple
does not support colors.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-05 14:44:44 +00:00
cuz
84cb41f625 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1328 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-23 14:02:09 +00:00