1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
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
cpg
fed0a0a52d determines OS version
git-svn-id: svn://svn.cc65.org/cc65/trunk@146 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:38:14 +00:00
cpg
49df1600cb ostype.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:14:14 +00:00
cpg
0c85406f52 replaced multiple lines of "rm" commands with a single "rm" line in the
clean target. on some rm lines the argument was empty which caused the
NetBSD rm command to complain...


git-svn-id: svn://svn.cc65.org/cc65/trunk@135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-03 21:03:41 +00:00
cpg
1d934b205f provides default value for __graphmode_used variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:50:43 +00:00
cpg
6f05785aa9 adapt reserved memory with _graphmode_used variable (user settable)
git-svn-id: svn://svn.cc65.org/cc65/trunk@124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:45:30 +00:00
cpg
4a27cbd9a7 graphuse.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:43:36 +00:00
cpg
695f260449 renamed fd_table, fd_index to __fd_table and __fd_index (C naming)
git-svn-id: svn://svn.cc65.org/cc65/trunk@122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:40:29 +00:00
cpg
668c031c32 full-screen scroll routine (up and down)
git-svn-id: svn://svn.cc65.org/cc65/trunk@119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:10:25 +00:00
cpg
e51b5c8b59 multiply by 40 routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:06:37 +00:00
cpg
7b944cae11 use mul40 routine instead of doing the multiplication myself
git-svn-id: svn://svn.cc65.org/cc65/trunk@117 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:05:59 +00:00
cpg
70dbbb542f sroll.o, mul40.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@116 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:03:57 +00:00
cpg
7198329ce3 setcolor, getcolor and setcolor_low functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@93 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:42:26 +00:00
cpg
564eed1a2d setcolor.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@92 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:39:59 +00:00
cpg
3b63322f99 stupid: put local vars of newfd function into .bss instead of .data
git-svn-id: svn://svn.cc65.org/cc65/trunk@59 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-12 00:16:21 +00:00
cpg
af33f993e1 allocate local vars in .data, don't use the stack (we don't need to
be reentrant here :-)


git-svn-id: svn://svn.cc65.org/cc65/trunk@55 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 23:21:30 +00:00
cpg
e8c6996e00 don't import newline
git-svn-id: svn://svn.cc65.org/cc65/trunk@28 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:32:12 +00:00
cpg
87fa3e147f fixed it and saved 1 byte
git-svn-id: svn://svn.cc65.org/cc65/trunk@27 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:10:45 +00:00
cpg
68cf78c01d adapted for atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@26 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 21:22:30 +00:00
cpg
ca35829405 first working version (with filenames at least, devices not tested yet)
git-svn-id: svn://svn.cc65.org/cc65/trunk@18 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:28:30 +00:00
cpg
d1d9ebe9e7 initialze stdin/stdout/stderr correctly
git-svn-id: svn://svn.cc65.org/cc65/trunk@17 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:21:40 +00:00
cpg
247c29f7a5 don't use INVFLG but our own variable to indicate revers - the
INVFLG is changed by the Atari key


git-svn-id: svn://svn.cc65.org/cc65/trunk@16 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:20:01 +00:00
cpg
285c097fdb fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@11 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:54:19 +00:00
cpg
5e3b46a37f first hack at newfd function: compiles but doesn't work yet
git-svn-id: svn://svn.cc65.org/cc65/trunk@10 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:53:09 +00:00
cpg
62d883157a added support for fd indirection
git-svn-id: svn://svn.cc65.org/cc65/trunk@9 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:51:06 +00:00
uz
53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00