1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
Commit Graph

275 Commits

Author SHA1 Message Date
cuz
c15fd58d3b Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 10:15:33 +00:00
cpg
353b7e66a1 implement DEFAULT_DEVICE support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:41:01 +00:00
cpg
06d79d06df fix newfd comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:40:08 +00:00
cpg
83c2a8d517 DEFAULT_DEVICE; replaced some spaces with tabs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2667 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:39:16 +00:00
cpg
178b188eac use tmp4 instead of tmp2; tmp2 might now be used by ucase_fn()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2666 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:37:17 +00:00
cuz
4b5bf0e3c2 Fix doubtful syntax which causes warnings with new assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@2632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 10:01:27 +00:00
cpg
6fda5c6ef7 fix returned X register value (patch by Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2612 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-05 16:41:11 +00:00
cuz
a3109620ab Changed rm -f to $(RM)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:59:27 +00:00
cpg
93f1a5b61a renamed remove.s to sysremove.s and adapted it for common/remove.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:56:14 +00:00
cpg
88243a0b26 renamed remove.o to sysremove.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:54:46 +00:00
cpg
5c712d2087 added dummy error code 177 for sysremove
git-svn-id: svn://svn.cc65.org/cc65/trunk@2352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:54:05 +00:00
cuz
d697ff8030 Removed the readjoy module - it was obsolete
git-svn-id: svn://svn.cc65.org/cc65/trunk@2332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:23:32 +00:00
cpg
624b88e976 use callmain; don't call getargs, it's now called from initlib
(it's now a constructor)


git-svn-id: svn://svn.cc65.org/cc65/trunk@2298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:59:51 +00:00
cpg
cfa26a93be dosdetect.o, getdefdev.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:57:50 +00:00
cpg
645413f431 moved into its own module from getargs.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:56:55 +00:00
cpg
964f4fcc06 move getdevdef and DOS detection into their own modules; renamed
getargs to initmainargs and constructorfied it


git-svn-id: svn://svn.cc65.org/cc65/trunk@2295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:56:09 +00:00
cpg
ec9b710688 this file is now in asminc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:52:24 +00:00
cuz
4e76d0155d New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:24:02 +00:00
cuz
37178d5141 Make screensize() fetch the values dynamically instead of using variables
that are set on startup. This is needed to support the C128, which can switch
the screen size at runtime.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2042 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-09 19:34:57 +00:00
cpg
14b402ab7e fixed return code for _rs232_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@2005 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 00:19:22 +00:00
cuz
ee155a8553 Renamed the DEINSTALL vector to UNINSTALL.
Added a comment regarding usage of the driver when it is linked statically
to the application.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:19:53 +00:00
cuz
a8810a464d Make sure the zap target is available
git-svn-id: svn://svn.cc65.org/cc65/trunk@1932 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 15:35:30 +00:00
cpg
0c50092c3e added closeallfiles: close all files at program exit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1892 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-05 23:36:16 +00:00
cpg
d25ea2001b added some comments; new ft_flag bit #4: fd was opened by program
git-svn-id: svn://svn.cc65.org/cc65/trunk@1891 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-05 23:33:38 +00:00
cpg
b45445d047 added some comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1890 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-05 23:30:44 +00:00
cpg
336843bd8a fixed int promotion problem; optimized as suggested by Carsten Strotmann
git-svn-id: svn://svn.cc65.org/cc65/trunk@1870 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-02 21:47:49 +00:00
cpg
70d99589ca Moved wherex and wherey into separate modules.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1869 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-02 21:45:23 +00:00
cpg
46224edc85 removed due to better conio implementations of _bgcolor and _textcolor
git-svn-id: svn://svn.cc65.org/cc65/trunk@1855 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-27 20:47:10 +00:00
cpg
b0abf68505 _bgcolor now also sets the fg luminance to max. contrast; _textcolor
is empty


git-svn-id: svn://svn.cc65.org/cc65/trunk@1854 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-27 20:45:01 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
cuz
d0599a24fe Move include files into /asminc, changed include file paths
git-svn-id: svn://svn.cc65.org/cc65/trunk@1249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:19:16 +00:00
cuz
7d11fa012c Straighten checking of the initialized flag in both, the C64 and C128
versions of rs232.s.
New include file common/rs232.inc, use the constants from this file instead
of defining them separately in each platform specific rs232 module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-25 06:06:52 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
e02b3e91c8 Use a destructor instead of atexit
git-svn-id: svn://svn.cc65.org/cc65/trunk@515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 17:58:40 +00:00
cuz
99ecc9a609 Removed initialization code to set the screen size and replaced it by a
separate module that contains a module constructor. In some cases, the
code was even unnecessary, since the screen size is known in advance.


git-svn-id: svn://svn.cc65.org/cc65/trunk@476 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 19:05:32 +00:00
cuz
f3b93741ab Use the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 22:19:09 +00:00
cpg
9c35f5278a PM base isn't hardcoded anymore, we now get it from the startup code
git-svn-id: svn://svn.cc65.org/cc65/trunk@450 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 22:59:05 +00:00
cpg
6e6d36b89d reserve memory for mouse PM if RESERVE_MOUSE_MEMORY is defined (normally
yes)


git-svn-id: svn://svn.cc65.org/cc65/trunk@449 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 22:58:22 +00:00
cpg
dc5e8abfaf mouse.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@443 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 01:25:40 +00:00
cpg
6eef1c5d9a fixed & adapted for cc65
git-svn-id: svn://svn.cc65.org/cc65/trunk@442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 01:24:38 +00:00
cpg
2326ca6274 Atari mouse routines -- original version from F.Offenga
git-svn-id: svn://svn.cc65.org/cc65/trunk@441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 01:23:44 +00:00
cpg
16d52709b0 dio functions and types now have no leading _ anymore
git-svn-id: svn://svn.cc65.org/cc65/trunk@435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 21:27:42 +00:00
cpg
0283e309da dio functions and type now have no leading _ anymore; swapped phys. and
log. parameters


git-svn-id: svn://svn.cc65.org/cc65/trunk@434 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 21:27:07 +00:00
cuz
7c436aec1d Squeeze 2 bytes out of the startup code
git-svn-id: svn://svn.cc65.org/cc65/trunk@414 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 21:46:45 +00:00
cpg
050869cbfa moved ourcl to bss
git-svn-id: svn://svn.cc65.org/cc65/trunk@402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:06:50 +00:00
cpg
ea6c5c8d43 fd_table functions around getfd; used by startup code
git-svn-id: svn://svn.cc65.org/cc65/trunk@401 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:05:47 +00:00
cpg
3c71bcdb58 moved getfd and fdt_to_fdi functions and fd_table into getfd file; moved
fd_table defines to fd.inc


git-svn-id: svn://svn.cc65.org/cc65/trunk@400 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:05:06 +00:00
cpg
b6c09c5acb getfd.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@399 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:02:11 +00:00
cpg
e4531f807a defines for the fd redirection table
git-svn-id: svn://svn.cc65.org/cc65/trunk@398 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:01:20 +00:00
cpg
b0e41e487d use DISKID define instead of hardcoded value
git-svn-id: svn://svn.cc65.org/cc65/trunk@391 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-23 21:39:45 +00:00
cpg
7eae698264 renamed the functions; adapted them to the new parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@388 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 21:59:05 +00:00
cpg
99083a83db added diopp_xxx defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@387 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 21:57:50 +00:00
cpg
979700f2fe adapted to new calling parameters (_dhandle_t)
git-svn-id: svn://svn.cc65.org/cc65/trunk@384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:54:27 +00:00
cpg
2690dfc172 now returns a pointer to the entry in sectsizetab
git-svn-id: svn://svn.cc65.org/cc65/trunk@383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:51:29 +00:00
cpg
6b6e282283 adapted function prototype (comment)
git-svn-id: svn://svn.cc65.org/cc65/trunk@382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:50:01 +00:00
cpg
e9e7fd4d31 adapted to new parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@381 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:47:42 +00:00
cpg
5747fcd976 sst_xxx defines for dio functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:43:25 +00:00
cpg
46dd4af601 put grmemusage table into rodata segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 00:01:13 +00:00
cpg
6f60139c57 _dio_open and _dio_close functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:24:24 +00:00
cpg
e32644afb0 get transfer size from sectsizetab
git-svn-id: svn://svn.cc65.org/cc65/trunk@373 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:23:22 +00:00
cpg
a35cafa626 diopncls.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:22:07 +00:00
cpg
87838bc53f implements _sio_call function, direct call to SIO handler
git-svn-id: svn://svn.cc65.org/cc65/trunk@365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:03:53 +00:00
cpg
65006f5909 implements _dio_snum_to_chs (dummy on Atari)
git-svn-id: svn://svn.cc65.org/cc65/trunk@364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:02:50 +00:00
cpg
068d2d3fb9 implements _dio_chs_to_snum function (dummy on Atari)
git-svn-id: svn://svn.cc65.org/cc65/trunk@363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:02:24 +00:00
cpg
282b2946bd implements _dio_write_verify with the __sio_call function
git-svn-id: svn://svn.cc65.org/cc65/trunk@362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:01:24 +00:00
cpg
3f71fcb293 now sets up SIO command and transfer direction; __sio_call now does the
real work


git-svn-id: svn://svn.cc65.org/cc65/trunk@361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:00:19 +00:00
cpg
bf32739271 siocall.o, diowritev.o, dio_cts.o, dio_stc.o: new source files
git-svn-id: svn://svn.cc65.org/cc65/trunk@360 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 20:57:37 +00:00
cpg
84537ae937 added _dio_read() and _dio_write() handlers
git-svn-id: svn://svn.cc65.org/cc65/trunk@349 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-09 22:43:01 +00:00
cpg
c33f95f88e added dioread.o and diowrite.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-09 22:33:13 +00:00
cpg
d922c0ba26 added SIO_xxx command codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-06 23:59:42 +00:00
cuz
e0a619ff90 Place the zero page variables into the ZEROPAGE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:13 +00:00
cpg
743b215bac fixed setting of errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 22:14:21 +00:00
cpg
f1a54412b7 lseek.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@266 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-07 22:43:31 +00:00
cuz
2ff5069436 Place data into RODATA, not CODE
git-svn-id: svn://svn.cc65.org/cc65/trunk@264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:46:57 +00:00
cuz
2e3b545bdb Move store out of region with interrupts disabled to improve interrupt
latency.


git-svn-id: svn://svn.cc65.org/cc65/trunk@236 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:30:58 +00:00
cpg
7fa0e2e8ee some small fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:25:43 +00:00
cuz
ab2b9d35e1 Added new clock module implementing clock() and _clocks_per_sec().
git-svn-id: svn://svn.cc65.org/cc65/trunk@195 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 20:06:34 +00:00
cpg
02bbe5289b set default screen mode to 0
git-svn-id: svn://svn.cc65.org/cc65/trunk@177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 09:20:09 +00:00
cpg
72294dc011 removed DIRECT_SCREEN define
git-svn-id: svn://svn.cc65.org/cc65/trunk@176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 08:26:44 +00:00
cpg
badf78999f added PAL/NTSC check for 1200xl + XL/XE systems
git-svn-id: svn://svn.cc65.org/cc65/trunk@162 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-17 00:30:01 +00:00