1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00
Commit Graph

276 Commits

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