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

262 Commits

Author SHA1 Message Date
cuz
b8ab2e23e4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1933 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 21:32:48 +00:00
cuz
90f47ed007 CBM directory routines by Josef Soucek
git-svn-id: svn://svn.cc65.org/cc65/trunk@1920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-02 13:18:40 +00:00
cuz
581c12ce40 Move _heap.h to the compiler include dir.
Create heap.inc and use that from the assembler code.
Rename heap related _h... variables to _heap...
Add _heapmaxavail and _heapmemavail functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 12:22:09 +00:00
cuz
8012074ea0 Renamed _hadd to _heapadd
git-svn-id: svn://svn.cc65.org/cc65/trunk@1911 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 10:20:35 +00:00
cuz
22b4faabb2 Add chdir, make rmdir __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1902 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-19 11:28:59 +00:00
cuz
1b44423614 Added a creat macro
git-svn-id: svn://svn.cc65.org/cc65/trunk@1897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 12:00:51 +00:00
cuz
fb81235769 Fix comments and remove whitespace from __asm__ macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@1895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 11:34:23 +00:00
cuz
400672756b Use new names for flags
git-svn-id: svn://svn.cc65.org/cc65/trunk@1894 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 11:23:32 +00:00
cuz
e525cd2515 tgi_mode -> tgi_gmode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1861 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:59:34 +00:00
cuz
cd77c6ab90 Removed param from tgi_init()
git-svn-id: svn://svn.cc65.org/cc65/trunk@1860 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:58:36 +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
8397a1d8aa tgi driver for C128 VDC, changed order of things in libsrc/tgi/tgi-kernel.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 22:50:17 +00:00
cuz
4e61ec9270 Added joy_stddrv
git-svn-id: svn://svn.cc65.org/cc65/trunk@1820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 09:23:20 +00:00
cuz
a995a14315 Cleanup, new JOY_BTN_... macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@1809 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:25:58 +00:00
izydorst
4661e39a2b tgi/*.h headers were being searched in local, not CC65_INC path
git-svn-id: svn://svn.cc65.org/cc65/trunk@1808 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:25:04 +00:00
cuz
a143f26061 New joystick API
git-svn-id: svn://svn.cc65.org/cc65/trunk@1798 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:02:35 +00:00
cuz
f941b4bcee Make the functions __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1797 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:02:17 +00:00
cuz
2242939c78 Added signal.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 14:57:12 +00:00
cuz
0cdc39ea9f Remove dependencies for other header files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1773 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 14:39:01 +00:00
cuz
c0ec39ae7a Declaration of LONG_MIN was wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@1771 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 12:12:33 +00:00
cuz
199c9fcd4a Added stdint.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1770 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 12:11:58 +00:00
cuz
f47648ecfb Moved CH_ESC back to cbm.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1768 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-14 16:55:17 +00:00
cuz
29f3dcfe05 All module functions are fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1760 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:41:34 +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
cpg
8b74bff122 added _atari_xxxcolor() functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:45:51 +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
47d4d62d1f The C16 does also support a joystick
git-svn-id: svn://svn.cc65.org/cc65/trunk@1733 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-10 23:38:49 +00:00
cuz
4ce2bb2de2 Move common stuff for the C16 and Plus/4 into cbm264.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1731 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 22:09:20 +00:00
cuz
8dc9619d2e Define CH_ENTER
git-svn-id: svn://svn.cc65.org/cc65/trunk@1730 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 21:44:33 +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
6156a8b472 Make the read vector __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1712 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:31:19 +00:00
cuz
51c31b7ab6 Make read() and write() fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:25:26 +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
ab25c627c8 Added file variables, other cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:39:11 +00:00
cuz
11476dced6 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1687 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:39:00 +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
a1a3022b5c New API for access to extended memory
git-svn-id: svn://svn.cc65.org/cc65/trunk@1675 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 14:40:31 +00:00
cuz
7d2ad0a160 The C128 has RS232, too
git-svn-id: svn://svn.cc65.org/cc65/trunk@1663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-27 22:37:55 +00:00
cuz
5f812a3269 Make fclose __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1633 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 14:37:52 +00:00
cuz
0060b9fc45 Make fread and fwrite fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:05:21 +00:00
cuz
2fbb3ae1b7 Make fopen fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 18:47:55 +00:00
cuz
4800f0d2a7 Add a macro for peekbsys
git-svn-id: svn://svn.cc65.org/cc65/trunk@1596 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:45:09 +00:00
cuz
f0cfd60659 Make wchar_t a 16 bit type
git-svn-id: svn://svn.cc65.org/cc65/trunk@1569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:51:33 +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
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
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
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
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
2cd37d74e4 Added _systime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1508 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:35:40 +00:00
cuz
cae19c1a8a More time functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1506 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:01:32 +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
f95340fc44 Make exit a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-11 23:24:17 +00:00
cuz
786b3a7fe8 Moved _vic.h to _vic2.h. Renamed __vic to __vic2.
Added a new file _vic.h for the VIC (1) used in the VIC20.
Added the VIC chip to vic20.h.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:33:50 +00:00
cuz
511b3b45f2 Add _randomize.
Make realloc __fastcall__.
Make identifiers with a leading underscore visible even if __STRICT_ANSI__ is
defined, since those don't pollute the application namespace.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:23:06 +00:00
cuz
bd06bc2e73 Added stdbool.h provided by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@1472 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-25 20:53:22 +00:00
cuz
55baa52735 Added the div function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-25 20:46:57 +00:00
cuz
62b3576f5f Use other representations for SCHAR_MIN, SHORT_MIN, INT_MIN and LONG_MIN.
Among other things that avoids the compiler warning "constant is long" when
using INT_MIN.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 18:59:08 +00:00
cuz
8b14f60e0d Removed duplicate declaration
git-svn-id: svn://svn.cc65.org/cc65/trunk@1430 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 13:28:34 +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
b2e06dbb9d assert() must be an expression of type void
git-svn-id: svn://svn.cc65.org/cc65/trunk@1396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:15:49 +00:00
cuz
f64baf02ec Changed joystick bits after change in joystick code for VC20
git-svn-id: svn://svn.cc65.org/cc65/trunk@1385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-09 05:07:22 +00:00
cuz
12154bdaa7 VIC20 needs other joystick constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:28:11 +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
f95c28817b Added _stroserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@1363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-18 11:04:48 +00:00
izydorst
dd6e59e1cc fixed info field offset and author field length
git-svn-id: svn://svn.cc65.org/cc65/trunk@1353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-15 18:25:39 +00:00
cuz
68166eb575 Added new defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-11 14:07: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
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
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
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
dcbd059858 Change calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 11:17:33 +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
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
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
1d35deabc8 Added TGI files, removed obsolete graphics.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:01:16 +00:00
cuz
8d8ec57003 Added atmos.h from Jede
git-svn-id: svn://svn.cc65.org/cc65/trunk@1299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 07:03:38 +00:00
cuz
4cb4751164 New o65 defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:13:52 +00:00
cuz
b44f593ac3 Added bzero, _bzero
git-svn-id: svn://svn.cc65.org/cc65/trunk@1275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:13:40 +00:00
cuz
5c4205b284 Struct cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-24 18:46:49 +00:00
cuz
cc80937c3b Added new header files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:05:42 +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
fe1f354fe8 Added scanf familiy of functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:18:19 +00:00
izydorst
438444cdd6 added declarations for cpputs and cpputsxy
git-svn-id: svn://svn.cc65.org/cc65/trunk@1182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:53:02 +00:00
izydorst
81407526bf enabled mouse support for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1173 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:42:16 +00:00
cuz
208c40eaf7 Two prototypes had a const qualifier missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 06:58:24 +00:00
cuz
0de448df64 AD2 was missing - thanks to groepaz for the hint
git-svn-id: svn://svn.cc65.org/cc65/trunk@1149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-12 09:46:45 +00:00
cpg
d198ba0e26 added Atari defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1138 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 22:47: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
834eff684f calloc is now written in assembler and a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-15 21:53:31 +00:00
cuz
c053b91f7a Added zlib.h header file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-13 20:12:19 +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
fc253be753 add graphics() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1014 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-06 23:14:29 +00:00
cuz
63b2c252a5 Added/updated header blocks
git-svn-id: svn://svn.cc65.org/cc65/trunk@1000 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 18:48:54 +00:00
cuz
a29167709f Removed the JAM opcode
git-svn-id: svn://svn.cc65.org/cc65/trunk@993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 08:10:44 +00:00
cuz
3dc0fb59bc Check for wrong header file inclusions, add CBM510 stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@948 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 08:46:07 +00:00
cuz
0dd35700c9 Added peekxsys functions for the 6509 machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 08:41:16 +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
7f88d979f6 Added support for the Commodore 510 aka P500
git-svn-id: svn://svn.cc65.org/cc65/trunk@912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:27:32 +00:00
cuz
7856dae4b2 Remove the port parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@903 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:35:24 +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
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
cfc2e3766d Use the new __asm__ syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@886 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 21:19:05 +00:00
cuz
fee7b6dc3b Minor changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@874 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 20:04:21 +00:00
cuz
d6569bc230 Finished the mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@872 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:44:48 +00:00
cuz
6e29f555d2 Use && and || in preprocessor #if statements. Other minor changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@866 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 14:39:01 +00:00
cuz
229438fbf9 API update
git-svn-id: svn://svn.cc65.org/cc65/trunk@851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-20 12:16:53 +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
cuz
4203682943 First version of graphics.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-13 19:29:07 +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
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
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
e7b80c4e8d va_start has also changed since the address of a fixed parameter is now
calculated by the compiler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@655 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 20:07:42 +00:00
cuz
7e6005c999 The va_fix macro is no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:19:02 +00:00
cuz
1bc86c9c78 Last checkin was a cr/lf converted version:-(
git-svn-id: svn://svn.cc65.org/cc65/trunk@648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:30:02 +00:00
cuz
5b68ec1591 Use the new __argsize__ pseudo variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:28:11 +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
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
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
cpg
4413c9dc6e changed get_ostype defines for new return parameters; added get_tv
function prototype


git-svn-id: svn://svn.cc65.org/cc65/trunk@544 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:17:11 +00:00
cuz
d0e2ffcf57 vcprintf() does now have __fastcall__ calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 09:16:07 +00:00
cuz
4d23c7a3e6 New asm function have __fastcall__ calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 22:57:56 +00:00
cpg
5ad8b34061 added definition for DCB
git-svn-id: svn://svn.cc65.org/cc65/trunk@446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 01:53:29 +00:00
cuz
8f6b114bb8 Changed mouse_down --> mouse_buttons, added MOUSE_BTN_LEFT define, changed
return code of mouse_init.


git-svn-id: svn://svn.cc65.org/cc65/trunk@439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:40:09 +00:00
cpg
f681d0fdad added mouse type defines; added mouse_down() prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:05:00 +00:00
cpg
94c6fb5c4b added explanation of return codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@437 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 21:42:38 +00:00
cpg
e9a67d0abd removed leading _ from dio functions and types; added small explanation of
each function


git-svn-id: svn://svn.cc65.org/cc65/trunk@436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 21:38:00 +00:00
cpg
bfff0af539 removed _dio_format prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@433 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-14 21:16:10 +00:00
cuz
cb762d9d7c Added type parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:15:46 +00:00
cpg
7bd394a7dc made the input parameters of _dio_log_to_phys and _dio_phys_to_log const
git-svn-id: svn://svn.cc65.org/cc65/trunk@403 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:31:31 +00:00
cpg
e804c35e59 added _dio_phys_pos structure and renamed the translation functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@386 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 15:55:46 +00:00
cpg
b296a66b3b adapted to new parameters (_dhandle_t)
git-svn-id: svn://svn.cc65.org/cc65/trunk@379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:41:03 +00:00
cpg
2986692f60 write functions now get a const void *buffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@375 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-17 21:47:24 +00:00
cpg
c68d27d930 _dio_open and _dio_close are now real functions on Atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@371 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:05:53 +00:00
cpg
354605c751 _dio_setup and _dio_finish are now called _dio_open and _dio_close; for
the Atari target they're both dummies


git-svn-id: svn://svn.cc65.org/cc65/trunk@359 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 20:52:23 +00:00
cpg
dcdfc7460c fixed POKEY and GTIA defines: now there are different defines for read
and write access


git-svn-id: svn://svn.cc65.org/cc65/trunk@358 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-11 14:30:09 +00:00
cuz
1174e5dbe3 Fixed two problems that weren't obvious with the old type casts.
git-svn-id: svn://svn.cc65.org/cc65/trunk@356 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:42:05 +00:00
cpg
e40995c889 dio.h - low-level disk-io functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-09 22:31:57 +00:00
cuz
d9180676fd Fixed return value of CmpString and CmpFString
git-svn-id: svn://svn.cc65.org/cc65/trunk@346 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-08 16:49:19 +00:00
cpg
bc40b008d0 fixed 2 typos: one in a comment, the other one in the CH_EOL definition
git-svn-id: svn://svn.cc65.org/cc65/trunk@344 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-06 23:35:56 +00:00
cpg
41b0d8f5d0 cosmetic change
git-svn-id: svn://svn.cc65.org/cc65/trunk@272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:38:43 +00:00
cpg
6fe95eb3c3 added off_t type and lseek() prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:37:44 +00:00
cpg
3412342249 added file positioning functions (fseek etc.)
git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:34:28 +00:00
cuz
f1453ff273 Changes from Maciej
git-svn-id: svn://svn.cc65.org/cc65/trunk@245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 22:04:21 +00:00
cpg
a08257b851 added standard copyright header
git-svn-id: svn://svn.cc65.org/cc65/trunk@228 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:41:06 +00:00
cuz
319059d46d Added Atari stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@196 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 20:10:29 +00:00
cuz
da224eb851 Changed decl order
git-svn-id: svn://svn.cc65.org/cc65/trunk@194 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:08:22 +00:00
cuz
a17dee1a1c Added standard copyright headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@193 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:03:03 +00:00
cuz
b062c9c96e Added standard copyright header, always define isblank, since it is part
of ISO-9899-1999.


git-svn-id: svn://svn.cc65.org/cc65/trunk@192 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:02:52 +00:00