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

976 Commits

Author SHA1 Message Date
izydorst
4b80c3537d removed jmpvec in favor of callax function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1841 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-25 03:27:50 +00:00
izydorst
df88fc0a8a 65c02 optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-25 03:24:09 +00:00
izydorst
4f2a18d154 clrscr now puts the cursor into home position
git-svn-id: svn://svn.cc65.org/cc65/trunk@1839 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-25 02:49:42 +00:00
cuz
fb2deff1d0 Shortened the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1836 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-24 14:22:42 +00:00
cuz
38a33ebce8 Fixed an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@1835 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-24 14:22:24 +00:00
izydorst
dc207514dd support for .zeropage segment in GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1834 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 22:14:14 +00:00
izydorst
31e4d80ac8 more GEOS Kernal replacements for common/ and runtime/ routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1833 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 20:44:17 +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
11c36ece8e tgi for C128, zap removes .joy files too
git-svn-id: svn://svn.cc65.org/cc65/trunk@1827 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 23:29:11 +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
izydorst
96b68d8f4f fixed typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 21:39:38 +00:00
izydorst
6657214a18 setviewpage was never assembled
git-svn-id: svn://svn.cc65.org/cc65/trunk@1824 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 16:32:32 +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
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
cuz
71bfc5a910 Return bg color if coords out of range
git-svn-id: svn://svn.cc65.org/cc65/trunk@1326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 22:01:14 +00:00
cuz
207c4a9e56 Working on the TGI library
git-svn-id: svn://svn.cc65.org/cc65/trunk@1325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:53:58 +00:00
cuz
fb4bb7b383 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:46:32 +00:00
cuz
bf944755dd Working on the TGI library
git-svn-id: svn://svn.cc65.org/cc65/trunk@1323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:40:24 +00:00
cuz
897c1d8523 Added emulation and more clipping for the BAR function.
Copy colors and page count into local storage from the driver.
Added more functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 13:10:02 +00:00
cuz
89752c9d29 Added clipping
git-svn-id: svn://svn.cc65.org/cc65/trunk@1320 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 11:17:06 +00:00
cuz
ccb0127ed9 Target clean needs to clean the tgi dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@1319 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 10:58:47 +00:00
cuz
574ac2393b Rewrote cbm_open and cbm_read in assembler saving about 80 bytes total.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1318 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 10:58:24 +00:00
cuz
74b9e4831a Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 21:15:46 +00:00
cuz
0ee967fe17 Changed function prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@1316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 16:26:15 +00:00
cuz
579e1ae267 TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 16:25:56 +00:00
cuz
7fc24b058a TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 14:16:32 +00:00
cuz
2614d20153 TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1313 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 13:39:32 +00:00
cuz
f82ac8a91c TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 13:28:51 +00:00
cuz
e50b24d46a Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:46:52 +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
a1fa833da3 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-14 13:13:27 +00:00
izydorst
fc3d55d196 put segment keywords so bss, data and rodata are used for storage
git-svn-id: svn://svn.cc65.org/cc65/trunk@1301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 22:49:09 +00:00
izydorst
593797f9eb fixed LoadW for doing 16-bit offsets loads, not only constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 11:20:29 +00:00
cuz
eb568293d7 Added support for the Oric atmos (with some help by Debrune Jérôme
<jede@oric.org>)


git-svn-id: svn://svn.cc65.org/cc65/trunk@1297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-03 20:23:15 +00:00
cpg
86f74d96ab added ICAX3, ICAX4, ICAX5
git-svn-id: svn://svn.cc65.org/cc65/trunk@1294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-30 12:48:58 +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
3aadd7f62b Combine the existing include files, move zp space out of crt0.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 09:08:52 +00:00
cuz
9556117f0f zpspace cannot be an external symbol
git-svn-id: svn://svn.cc65.org/cc65/trunk@1289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 08:32:47 +00:00
cuz
a1a147ee08 Added module with zero page locations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 08:29:31 +00:00
cpg
52bc49952f implementation which supports SpartaDOS format disks on SpartaDOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1284 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-23 21:29:55 +00:00
cpg
094231be21 updated comment about fdtoiocb return values
git-svn-id: svn://svn.cc65.org/cc65/trunk@1283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-23 21:26:25 +00:00
cuz
9364b206ab Added check/support for simple addressing format.
Check the operating system option and return the module id to the caller.
Use bzero instead of memset.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:38:01 +00:00
cuz
009df2d6b5 New entry points for bzero and _bzero
git-svn-id: svn://svn.cc65.org/cc65/trunk@1277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:18:45 +00:00
cpg
5c2e2e5a96 support append mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 15:28:07 +00:00
cpg
e79d285671 amode_to_bmode fixes: support "a", be more restrictive about the position
of the char (r, w, and a must appear as the first char only)


git-svn-id: svn://svn.cc65.org/cc65/trunk@1271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 15:25:48 +00:00
cuz
231fed08f2 mod_ctrl struct cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-24 18:47:11 +00:00
cuz
6bdf186607 Streamlined the code, add zero page relocations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-23 19:51:45 +00:00
cuz
0e4eef1f0f New files for loading modules at runtime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:29:30 +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
302005befe dos -> unix lf conversion
git-svn-id: svn://svn.cc65.org/cc65/trunk@1248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:19:14 +00:00
cuz
fe027ce916 Fixed wrong compares (new code by Piotr Fusik)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-17 18:55:21 +00:00
cuz
b07ea7d699 Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1237 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-12 20:02:51 +00:00
izydorst
2edcb9d73b fixes in structs, added common cc65 color definitions, cgetc laces cursor in
correct line, interrupts are enabled before jumping into _main


git-svn-id: svn://svn.cc65.org/cc65/trunk@1217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 17:37:12 +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
cpg
f709fd679b fix return Z flag: it was set if the LSB of the length was zero and
didn't care about the MSB


git-svn-id: svn://svn.cc65.org/cc65/trunk@1207 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 23:44:16 +00:00
cuz
9cfcdfab53 Use _file.inc and its constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1206 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:32:13 +00:00
cuz
6e37905b18 Completed _scanf.c, added vsscanf.c, rewrote sscanf.c.
Added an assembler include _file.inc and changed asm code that uses struct
FILE to be independent of its size.
Fixed return codes in several files to use EOF instead of -1.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:26:18 +00:00
cuz
d4cb713197 Fix return codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1204 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:23:59 +00:00
cuz
d036b8946f Working on the _scanf implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:11:54 +00:00
cuz
f901555264 The %p format specifier was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 16:50:35 +00:00
cuz
854f23e945 Added a few more specialized multiply routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1193 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-16 20:27:50 +00:00
izydorst
93fd8803c1 conio with fixed width and proortional font support
git-svn-id: svn://svn.cc65.org/cc65/trunk@1180 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:49:31 +00:00
izydorst
ae74057353 conio with fixed width and proportional font support
git-svn-id: svn://svn.cc65.org/cc65/trunk@1178 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:47:34 +00:00
izydorst
d537134626 moved cursor.inc to proper location
git-svn-id: svn://svn.cc65.org/cc65/trunk@1177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:46:04 +00:00
izydorst
b88b10b822 replaced char* by const char* as it is in prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@1176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:44:57 +00:00
izydorst
b7dd6ebaa4 error handling if drive type is unknown
git-svn-id: svn://svn.cc65.org/cc65/trunk@1175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:44:07 +00:00
cpg
a402bd0034 ucase_fn.o: new object file; added -DUCASE_FILENAME=1 to compile flags
git-svn-id: svn://svn.cc65.org/cc65/trunk@1144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-27 20:39:10 +00:00
cpg
22567de635 moved code to convert filename to uppercase into its own file/object
git-svn-id: svn://svn.cc65.org/cc65/trunk@1143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-27 20:37:52 +00:00
cpg
b39cc5a3a9 better error handling; rs232_params now uses its parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@1139 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 22:55:06 +00:00
cpg
4d67ecc40d initial (incomplete) implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 00:13:47 +00:00
cpg
24336238bd added remove.o and rs232.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@1135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 00:12:03 +00:00
cpg
5369b11c39 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@1133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-09 21:53:11 +00:00
cuz
d29be293fe Do not initialize the data window address after on each entry
git-svn-id: svn://svn.cc65.org/cc65/trunk@1132 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-05 01:06:43 +00:00
cpg
26bad172a5 fix comments about fdtoiocb parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@1131 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-04 01:07:08 +00:00
cpg
edefb8ea30 fdtoiocb returns the IOCB in A!
git-svn-id: svn://svn.cc65.org/cc65/trunk@1130 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-04 01:05:33 +00:00
cpg
a86b97cc89 fixed return paramter; setup ICAX1Z so the key routine isn't confused by
opened R: devices


git-svn-id: svn://svn.cc65.org/cc65/trunk@1129 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-04 01:04:20 +00:00
cuz
df92f7585f New version from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-23 11:56:07 +00:00
cuz
f2967f26fc Update from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-18 20:05:57 +00:00
cuz
c413c5feeb Several SBC optimizations suggested by Piotr Fusik
git-svn-id: svn://svn.cc65.org/cc65/trunk@1121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-17 11:25:12 +00:00
cuz
38f716079a Replaced calloc by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@1119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-15 21:53:00 +00:00
cuz
edb7991884 Added inflatemem from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1117 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-12 21:21:38 +00:00
cpg
1bcc7775b0 fix a typo in the comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1100 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-06 01:30:38 +00:00
cpg
56d98bbb93 return the hardware tv system, not the ROMs one
git-svn-id: svn://svn.cc65.org/cc65/trunk@1099 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-06 01:22:54 +00:00
cpg
d10a647baf both routines fixed (fix by Piotr Fusik)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1098 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-05 23:52:19 +00:00
cpg
aff228f0dc fixed some whitespace so emacs doesn't complain when saving; "zap" now
also removed the startup *.o files


git-svn-id: svn://svn.cc65.org/cc65/trunk@1097 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-05 22:29:47 +00:00
cuz
b258333a71 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1096 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-04 19:38:35 +00:00
izydorst
5f87dcea95 support for assert.h in GEOS, conio bugfixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1094 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-27 23:04:18 +00:00
izydorst
8ce6c9bcac simple conio support for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1093 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-27 17:13:22 +00:00
izydorst
1949afddf5 support for 40/80 column modes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1091 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-27 17:07:19 +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
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
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
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
41c0394aef Sorted object files alphabetically so it's easier to find a file in the list
git-svn-id: svn://svn.cc65.org/cc65/trunk@1079 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 11:50:45 +00:00
cuz
41529583f6 Cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1072 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 20:48:18 +00:00
cuz
20143c0187 New pushwysp implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 20:44:54 +00:00
cuz
37f7bc4c83 Removed an old comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1070 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-23 19:00:15 +00:00
cuz
d0265989bc Fixed a path
git-svn-id: svn://svn.cc65.org/cc65/trunk@1068 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 20:28:28 +00:00
cuz
40a9055be8 Fixed a bug in the return value of the sprintf and vsprintf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1067 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 15:23:34 +00:00
cuz
54f96dce9b Removed duplicate case labels and fixed the code for machines without some
or all function keys.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:37:22 +00:00
cuz
5e7e3d4b81 Removed the switch routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1020 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 07:57:20 +00:00
mrintsch
babcf84f17 Changed the parameters of cbm_load and cbm_save to a more "C-like" way.
The API should be stable now.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-10 20:35:07 +00:00
cpg
404dd3ca41 implemented graphics() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1013 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-06 22:36:48 +00:00
cuz
0fdf581d06 Added special multiplication routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1012 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-04 21:34:14 +00:00
cpg
8d6f5a2fca clriocb and findfreeiocb moved from open.s to fdtable.s (they are now also
used by graphics.s)


git-svn-id: svn://svn.cc65.org/cc65/trunk@1008 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-03 16:09:14 +00:00
cpg
5f36ad2d53 a small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1007 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-03 15:56:42 +00:00
cuz
c4a5744651 Changed name for long compare subroutine
git-svn-id: svn://svn.cc65.org/cc65/trunk@992 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-01 22:21:16 +00:00
cuz
5532a80beb Removed old code to set the flags
git-svn-id: svn://svn.cc65.org/cc65/trunk@963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-21 20:35:40 +00:00
cuz
edcc015a48 Color RAM initialization was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@959 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-21 12:55:27 +00:00
cuz
9d926289e1 We need to have the character data in the VIC bank to make sprites work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@954 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-20 09:53:12 +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
e12444824f Added condes IRQ routines and a README file.
Made k_blncur a condes IRQ routine and moved it to cgetc.s.
Added mouse and joystick routines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@951 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 10:01:52 +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
5723cfed0c Add blinking cursor on input
git-svn-id: svn://svn.cc65.org/cc65/trunk@944 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-18 12:23:28 +00:00
cuz
e7c270e7ac Include source lines into generated asm code
git-svn-id: svn://svn.cc65.org/cc65/trunk@943 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-18 12:22:55 +00:00
mrintsch
308785487f included errno.h instead of declaring _oserrno as external
git-svn-id: svn://svn.cc65.org/cc65/trunk@940 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-15 23:39:47 +00:00
cuz
2dda11b876 Added cb,510 to the clean rule
git-svn-id: svn://svn.cc65.org/cc65/trunk@927 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 21:11:39 +00:00
cuz
6d97fa1383 Added the rs232 module
git-svn-id: svn://svn.cc65.org/cc65/trunk@926 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 20:52:54 +00:00
cuz
4bfc8bc554 Cosmetic change
git-svn-id: svn://svn.cc65.org/cc65/trunk@925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 20:39:05 +00:00
cuz
f46c46abe1 Video RAM location is now defined in the linker config
git-svn-id: svn://svn.cc65.org/cc65/trunk@924 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 17:09:22 +00:00
cuz
e1a9115fd4 More P500 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 14:37:08 +00:00
cuz
c4a49faf48 Working in P500 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@919 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 09:52:30 +00:00
cuz
cd1598fa89 Added peekxsys functions for the 610
git-svn-id: svn://svn.cc65.org/cc65/trunk@918 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 08:42:17 +00:00
cuz
cce379324d Add support for the CBM 510
git-svn-id: svn://svn.cc65.org/cc65/trunk@916 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 07:53:34 +00:00
cuz
3e5adc0926 Added support for the CBM510
git-svn-id: svn://svn.cc65.org/cc65/trunk@915 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:47:10 +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
14f2349ea1 Adding CBM510 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:37:59 +00:00
cuz
259967895f Started to add support for the P500 aka CBM510
git-svn-id: svn://svn.cc65.org/cc65/trunk@911 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:09:19 +00:00
cuz
3c68940c4b Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@908 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 18:55:43 +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
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
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
9e80491acb Remove sprite param to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@893 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 13:49:08 +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
izydorst
35f403b702 interrupt flag is cleared/restored rather than cleared/set
git-svn-id: svn://svn.cc65.org/cc65/trunk@890 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-10 22:11:19 +00:00
izydorst
490e3b8c0f dio bugfix, added get_tv and get_ostype functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@889 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-10 21:43:15 +00:00
cuz
1da6f339dc Added new mouse functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@888 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-10 18:42:50 +00:00
cpg
44dfe5c73e set Y minimum to 31
git-svn-id: svn://svn.cc65.org/cc65/trunk@887 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 23:37:36 +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
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
c501c18b95 Added mouse_pos(), mouse_info(). Changed mouse_hide() and mouse_show() to
use a counter instead of a flag.


git-svn-id: svn://svn.cc65.org/cc65/trunk@868 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:22:06 +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
def6300556 Use constants for the bits in the _ctype array.
git-svn-id: svn://svn.cc65.org/cc65/trunk@865 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 14:00:41 +00:00
cuz
fc87d198f7 Removed the ldeax module
git-svn-id: svn://svn.cc65.org/cc65/trunk@862 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 13:00:30 +00:00
izydorst
2a57280a11 functions that do not modify data take const char* as argument
git-svn-id: svn://svn.cc65.org/cc65/trunk@848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-15 16:09:35 +00:00
izydorst
9346c3fbac info about c1541 in docs, lowered highest available address to $6000 due to
posiblity of overwriting C stack by drawing/copying to screen backbuffer


git-svn-id: svn://svn.cc65.org/cc65/trunk@847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-15 16:08:15 +00:00
cuz
07fcbb3208 Minor change
git-svn-id: svn://svn.cc65.org/cc65/trunk@829 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-29 09:30:29 +00:00
cuz
ac35484ec7 Remove unused stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@828 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-29 09:07:59 +00:00
cuz
2dd227534f Remove/cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-26 20:08:10 +00:00
cuz
ea2c59ef8e Remove unneeded code
git-svn-id: svn://svn.cc65.org/cc65/trunk@821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-25 21:37:52 +00:00
cuz
d55c271c2a More shift routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-25 21:36:01 +00:00
izydorst
8e97e1f4b7 own versions of some common routines, fillram and movedata equal to memset
and memcpy


git-svn-id: svn://svn.cc65.org/cc65/trunk@789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-15 16:09:50 +00:00
izydorst
66bcf9ac4e fixed incorrect way of temporary storing parameter
git-svn-id: svn://svn.cc65.org/cc65/trunk@788 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 21:15:02 +00:00
cuz
02b81bdd69 Allow system specific common and runtime files
git-svn-id: svn://svn.cc65.org/cc65/trunk@785 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 14:55:08 +00:00
cuz
dd0cdd42b6 Ignore more intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@781 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 14:42:20 +00:00
cuz
5e14218975 Fixed geos portion of Makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@780 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 14:41:30 +00:00
izydorst
baf977dfd8 multidrive support
git-svn-id: svn://svn.cc65.org/cc65/trunk@778 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-13 15:58:12 +00:00
izydorst
56463fe3d5 old cleanups
git-svn-id: svn://svn.cc65.org/cc65/trunk@777 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-06 18:21:28 +00:00
izydorst
ebce3ebbc3 errno/oserrno stuff is cleaned up, saved some bytes in dialog box functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-04 22:08:13 +00:00
izydorst
823329443f added dio interface, standard mouse and joystick functions, osmaperrno
git-svn-id: svn://svn.cc65.org/cc65/trunk@773 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-03 20:24:28 +00:00
cuz
71e40d42f5 Working on the ..scanf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@691 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-19 06:46:30 +00:00
cuz
dccc89edae Squeezed a few cycles/bytes out of tolower and toupper.
git-svn-id: svn://svn.cc65.org/cc65/trunk@690 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-19 06:46:01 +00:00
cuz
5627f27586 Renamed a file with more than 8 chars in its name
git-svn-id: svn://svn.cc65.org/cc65/trunk@686 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-04 20:27:33 +00:00
cuz
cf61bd0b40 steaxspi.o was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@683 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-02 20:24:24 +00:00
mrintsch
b2e0ed603e cbm_write() added
changed/added some comments
all cbm_* IO functions are using _oserror now


git-svn-id: svn://svn.cc65.org/cc65/trunk@682 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-30 18:18:40 +00:00
cuz
c6c752ef8b Added mor specialized decax functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@675 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 20:47:12 +00:00
cuz
c2a88fd697 Removed an obsolete import
git-svn-id: svn://svn.cc65.org/cc65/trunk@671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 14:43:39 +00:00
cuz
092c0a2620 Recode decsp8
git-svn-id: svn://svn.cc65.org/cc65/trunk@670 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 14:41:45 +00:00
cuz
b4da972eb7 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 14:26:27 +00:00
cuz
d1530bc0a2 Squeeze one cycle and several bytes out of the pushax routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@666 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 16:25:08 +00:00
cuz
1e1199cb2b Rewrite the decsp and subysp functions now since they are used more often.
git-svn-id: svn://svn.cc65.org/cc65/trunk@665 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 16:15:01 +00:00
cuz
eec01763c4 Remove unused imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@664 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 16:00:48 +00:00
cuz
e93f1574f4 Use decsp instead of subysp
git-svn-id: svn://svn.cc65.org/cc65/trunk@663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 15:59:54 +00:00
cuz
0bac28d96f decspX will no longer save a
git-svn-id: svn://svn.cc65.org/cc65/trunk@662 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 15:57:32 +00:00
cuz
b5914306cd Remove va_fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@654 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:21:27 +00:00
cuz
59db8bdf1f Increased h/w stack safety zone to 12 bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@651 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:08:07 +00:00
mrintsch
787ca6a9dd completed and testet cbm_read()
git-svn-id: svn://svn.cc65.org/cc65/trunk@639 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-21 20:59:27 +00:00
cuz
9528c379c1 Added code to check the 6502 stack
git-svn-id: svn://svn.cc65.org/cc65/trunk@638 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 22:34:08 +00:00
mrintsch
fb76e97575 Added comments to cbm.h.
load/save returns oserror code.
Added open/close and read (which is not tested yet).


git-svn-id: svn://svn.cc65.org/cc65/trunk@637 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 21:06:04 +00:00
cuz
01ffedd363 Removed the old stack checking routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@630 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:00:45 +00:00
cuz
4c8f35ea97 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@629 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:00:19 +00:00
cuz
dce87b81db Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@628 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 22:59:38 +00:00
cuz
1df22c6452 Added a stack checking routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@627 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 22:26:47 +00:00
mrintsch
16fded6d0c Loading and saving memory areas on cbm platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 22:48:19 +00:00
cuz
7c4bcbd569 scanf modules (currently not working)
git-svn-id: svn://svn.cc65.org/cc65/trunk@624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 07:59:17 +00:00
cuz
1411097746 Remove bash pecularities.
git-svn-id: svn://svn.cc65.org/cc65/trunk@623 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 07:56:56 +00:00
cuz
e32d5a4a4b Use the linker define stacksize instead of a variable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@621 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:19:21 +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
a4b921ca7e Fixed email address
git-svn-id: svn://svn.cc65.org/cc65/trunk@604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-03 12:04:01 +00:00
cuz
083f0aee44 Fixed errors in the incaxn functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-02-21 08:39:25 +00:00
cpg
2610a3df10 added more error codes
(from http://www.atari-central.com/programming/cio_errors.txt)


git-svn-id: svn://svn.cc65.org/cc65/trunk@598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-02-07 23:27:54 +00:00
cpg
764c7edfba added some more atari special char ATxxx defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-11 21:06:09 +00:00
cpg
fb9da60180 adapted constructor function names to initxxx convention
git-svn-id: svn://svn.cc65.org/cc65/trunk@579 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-09 22:31:07 +00:00
cuz
adabe02bbd Added a speed optimization. Makes the code somewhat larger, but is a huge
improvement speedwise.


git-svn-id: svn://svn.cc65.org/cc65/trunk@567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-08 11:37:01 +00:00
cuz
6e83d2fda2 Fixed a bug and - while doing so - made it somewhat shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 21:11:06 +00:00
cuz
023d649490 Remove global namespace operator
git-svn-id: svn://svn.cc65.org/cc65/trunk@562 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 20:08:19 +00:00
cpg
d678c41294 adapted to new return values (PAL/NTSC is now reported with another
function)


git-svn-id: svn://svn.cc65.org/cc65/trunk@547 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:22:23 +00:00
cpg
49503665f4 returns television system
git-svn-id: svn://svn.cc65.org/cc65/trunk@546 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:20:16 +00:00
cpg
50c01702c5 tvtype.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@545 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:19:21 +00:00
cpg
1819b6a38e graphics memory reservation is now done via a contructor; some condes
related changes


git-svn-id: svn://svn.cc65.org/cc65/trunk@543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:50:16 +00:00
cpg
1825689746 set contructor priority to 27 (grr)
git-svn-id: svn://svn.cc65.org/cc65/trunk@542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:47:26 +00:00
cpg
52caf07ad4 Basic-like GRAPHICS function; not yet implemented; provides the
"graphics memory used" constructor


git-svn-id: svn://svn.cc65.org/cc65/trunk@541 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:39:22 +00:00
cpg
5ec65cca75 default set back to 9, as we're now only linked if the graphics
function is used


git-svn-id: svn://svn.cc65.org/cc65/trunk@540 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:27:20 +00:00
cpg
20a4d83c03 set constructor priority to 26
git-svn-id: svn://svn.cc65.org/cc65/trunk@539 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:24:17 +00:00
cpg
160c9c198a graphics.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@538 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:19:06 +00:00
cpg
2b70259d1a fixed a stupid bug. why haven't I noticed it before??
git-svn-id: svn://svn.cc65.org/cc65/trunk@537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 23:17:14 +00:00
cpg
a619c0055f removed special mouse memory handling, it's now done by the mouse routines'
constructor


git-svn-id: svn://svn.cc65.org/cc65/trunk@536 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 21:40:07 +00:00
cpg
86e8c03001 added mousemem constructor
git-svn-id: svn://svn.cc65.org/cc65/trunk@535 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-03 21:39:12 +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
355569d960 Rewrote vcprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 09:15:43 +00:00
cuz
62cfc60f00 Removed unused stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@520 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 09:04:27 +00:00
cuz
d3cda84f60 Rewrote vsprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 22:57:32 +00:00
cuz
b0779f4a76 Fixed wrong comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 21:43:07 +00:00
cuz
e3022d904d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 21:41:28 +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
b46dab6d44 Rewrote sprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 17:32:59 +00:00
cuz
13be3ba3ef Rewrote fprintf in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 17:25:07 +00:00
cuz
aa10775c66 Rewrote cprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 15:13:07 +00:00
cuz
9333d5a839 Rewrote vfprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 15:05:46 +00:00
cuz
d2e5de4270 Ignore assembler listing files
git-svn-id: svn://svn.cc65.org/cc65/trunk@508 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:21:56 +00:00
cuz
27f600e986 Make _printf() __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:21:18 +00:00
cuz
88fc6399db Rewrote printf in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@506 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:08:47 +00:00
cuz
c02683ec94 Ignore assembler listings
git-svn-id: svn://svn.cc65.org/cc65/trunk@505 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:41:10 +00:00
cuz
047233fed2 Cleanup and optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:36:57 +00:00
cuz
643f468295 _printf rewritten in assembler - basic tests ok, needs some more tests and
optimizations.


git-svn-id: svn://svn.cc65.org/cc65/trunk@502 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 23:04:24 +00:00
cuz
0306618aa4 Pass the target system to the assembler so characters are translated
correctly for the selected target platform.


git-svn-id: svn://svn.cc65.org/cc65/trunk@490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:14:31 +00:00
cuz
4f0664bea0 Added some 65C02 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 13:33:08 +00:00
cuz
d09bf73a96 65C02 code, minor optimization.
git-svn-id: svn://svn.cc65.org/cc65/trunk@486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 13:27:42 +00:00
cuz
6cbd32b49d Some more 6502 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@485 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-27 23:37:53 +00:00
cuz
b4163d0e4e Added some 65C02 code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-27 22:59:03 +00:00
cuz
33bd9b5b51 Sqeezed one byte out of the zerobss routine:-)
git-svn-id: svn://svn.cc65.org/cc65/trunk@480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 22:15:57 +00:00
cuz
e3b2fcc78d Move the conio initialization routines where they belong (cgetc), make them
module constructors/destructors and remove the conio init functions that
were called from the startup code.


git-svn-id: svn://svn.cc65.org/cc65/trunk@479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 19:21:05 +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
ea8541e932 Abort on errors
git-svn-id: svn://svn.cc65.org/cc65/trunk@475 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 12:42:39 +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
c37d0e10d3 Changed doatexit destructor priority
git-svn-id: svn://svn.cc65.org/cc65/trunk@465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-21 10:56:34 +00:00
cuz
8d94ef3fea Working on the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@464 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-21 10:51:53 +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
5b1b4ea00d New condes module
git-svn-id: svn://svn.cc65.org/cc65/trunk@458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:17:14 +00:00
cuz
ce76aba929 Moved the jmpvec module from common to runtime
git-svn-id: svn://svn.cc65.org/cc65/trunk@457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 21:59:43 +00:00