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

3472 Commits

Author SHA1 Message Date
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
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
cuz
df52e29196 Updated the mouse module
git-svn-id: svn://svn.cc65.org/cc65/trunk@440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:50:38 +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
7bb82698d1 Split of the lruntime module
git-svn-id: svn://svn.cc65.org/cc65/trunk@427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-01 22:03:22 +00:00
cuz
8f83a48602 Replaced missing routine, fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@426 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 19:17:01 +00:00
cuz
acdadf8695 Fixed a bug in the last change
git-svn-id: svn://svn.cc65.org/cc65/trunk@425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 19:16:44 +00:00
cuz
4680e36ad0 Module split
git-svn-id: svn://svn.cc65.org/cc65/trunk@423 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:57:00 +00:00
cuz
12026ee98a Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@422 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:53:38 +00:00
cuz
39478bcd8b Removed unneeded imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:53:19 +00:00
cuz
e2c2f872c0 Splitted the dec and inc modules into smaller ones
git-svn-id: svn://svn.cc65.org/cc65/trunk@419 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:42:47 +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
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
cuz
00e858c9de Squeeze 2 bytes out of the startup code
git-svn-id: svn://svn.cc65.org/cc65/trunk@413 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 21:02:49 +00:00
cuz
e66b11770f Squeeze 4 bytes out of the startup code
git-svn-id: svn://svn.cc65.org/cc65/trunk@412 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 21:01:34 +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
cuz
4a7642e98c Splitted the push.s module
git-svn-id: svn://svn.cc65.org/cc65/trunk@397 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-26 20:43:54 +00:00
cuz
826a9545e4 Two module splits
git-svn-id: svn://svn.cc65.org/cc65/trunk@396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-26 20:43:29 +00:00
cuz
623fd3e103 Splitted the atexit module. Minor cleanup in doatexit.
git-svn-id: svn://svn.cc65.org/cc65/trunk@395 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-26 06:36:29 +00:00
cuz
0df99f3d4d Rewrite of spaspidx and staxspidx. More module splits.
git-svn-id: svn://svn.cc65.org/cc65/trunk@394 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-26 06:35:45 +00:00
cuz
dd0ddc94e3 More module splits
git-svn-id: svn://svn.cc65.org/cc65/trunk@393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-25 19:53:22 +00:00
cuz
e3a8e6bbe4 Splitted the lconvert module into three smaller ones to allow for smaller
executables if not all functions are used.


git-svn-id: svn://svn.cc65.org/cc65/trunk@392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-25 07:06:55 +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
cuz
3b7f8eeaab Handling of the '+' and ' ' flags was incorrect if the value was negative
git-svn-id: svn://svn.cc65.org/cc65/trunk@389 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-21 21:52:21 +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
cuz
cbf4fa5707 Make the all target build all libraries
git-svn-id: svn://svn.cc65.org/cc65/trunk@351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 19:54:45 +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
c15fb9b50f Debugged the mouse routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 19:44:44 +00:00
cuz
9633ff1882 Started debugging the mouse routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 18:46:29 +00:00
cuz
d6fb2d94bf Rewrote memcmp. The old version was buggy, the new one is faster and
hopefully error free.


git-svn-id: svn://svn.cc65.org/cc65/trunk@330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-15 17:23:19 +00:00
cuz
2e21552871 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:16:53 +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
cuz
dcc0fe91a2 Several type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:16:40 +00:00
cuz
84f74b4393 Type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 21:50:56 +00:00
cuz
114acc4d79 Fixed param type qualifiers in several function definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-13 16:16:49 +00:00
cuz
c70c5197e1 Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-12 12:27:17 +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
f756e60532 initial check-in of file positioning stdio functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:53:56 +00:00
cpg
d6a3b84948 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:51:03 +00:00
cpg
43344ef154 fsetpos.o fgetpos.o rewind.o fseek.o ftell.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:44:39 +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
2f65b8f5c6 Remove #pragmas to switch to the RODATA segment since the compiler will do
this now without help.


git-svn-id: svn://svn.cc65.org/cc65/trunk@263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:45:31 +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
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
cuz
dcb557517e Bug fixes from Maciej and Dirk
git-svn-id: svn://svn.cc65.org/cc65/trunk@235 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:28:54 +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
cuz
fa41731700 Replace a return value of 0 by 1 as expected by the C standard.
git-svn-id: svn://svn.cc65.org/cc65/trunk@189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 18:26:31 +00:00
cuz
1627af5de8 Replace strdup by an assembler implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 11:10:34 +00:00
cuz
8db1fa3aa0 Rewrite _hadd in assembler (a huge speedup!) and integrate it with free
for even faster code. The old _hadd function is now also written in
assembler but does only setup variables and calls the internal function
that is part of free.


git-svn-id: svn://svn.cc65.org/cc65/trunk@182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 21:36:06 +00:00
cuz
950a88d55e Replace malloc() by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 16:57:58 +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
cuz
bb4f3c4475 Use macpack for debugging, cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-19 09:23:51 +00:00
cuz
e3a6f3b6e1 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 21:30:48 +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
cuz
bc320797c6 Replaced free.c by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@158 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 22:09:58 +00:00
cuz
c6546592b6 newline is used elsewhere and must be exported
git-svn-id: svn://svn.cc65.org/cc65/trunk@157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:54:53 +00:00
cuz
f3605c162b Fixed a bug in LF handling for the CBM machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:24:10 +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
cuz
a992dd05a0 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 13:17:26 +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
cuz
9468b05231 Separated _maperrno and _errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-24 09:10:16 +00:00
cuz
48f1d0ad28 Fixed errno handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-24 09:02:08 +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
cuz
ea2f5c1309 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@88 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-19 06:14:44 +00:00
cuz
a66cf46549 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@86 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-15 18:06:18 +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
cuz
269ae9606d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@54 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 16:49:00 +00:00
cuz
c8193d6364 Remove/rename more code
git-svn-id: svn://svn.cc65.org/cc65/trunk@49 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:13:50 +00:00
cuz
78b07cc6f4 Renamed module, part of code no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@48 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:11:27 +00:00
cuz
61ca3a4abe Routines no longer used
git-svn-id: svn://svn.cc65.org/cc65/trunk@47 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:06:05 +00:00
cuz
6481395a94 Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@46 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:05:59 +00:00
cuz
66e7d9cd1b Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@45 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:54 +00:00
cuz
01b788b1fc Remove value test code (no longer needed)
git-svn-id: svn://svn.cc65.org/cc65/trunk@44 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:44 +00:00
cuz
4744e3602c Added the capability to search for the terminating zero of the given string.
Don't know what the standard says about it, but the feature seems reasonable
and other compilers handle it this way.


git-svn-id: svn://svn.cc65.org/cc65/trunk@42 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-09 12:07:53 +00:00
cuz
ca815af077 iscntrl was not mentioned in the Makefile and therefor not built.
Change the isxxx functions to correctly handle values outside of character
range.


git-svn-id: svn://svn.cc65.org/cc65/trunk@33 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:35:04 +00:00
cuz
874b728ecd Fixed cr/lf handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@30 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:02:13 +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