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

531 Commits

Author SHA1 Message Date
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
32fb9e74f0 Add info about jmp (ind) bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@510 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:39:23 +00:00
cuz
a5d8a5a94f Translate chars returned by .strat into the target charset
git-svn-id: svn://svn.cc65.org/cc65/trunk@509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:37:41 +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
81249b8d92 Fix detection of byte sized expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:04:07 +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
d3e6d87662 Changed email address of Keith Gerdes
git-svn-id: svn://svn.cc65.org/cc65/trunk@500 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 15:44:32 +00:00
cuz
6632756ceb Replaced the unused NES target by BBC
git-svn-id: svn://svn.cc65.org/cc65/trunk@497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 08:55:16 +00:00
cuz
fef6e7d7d6 Added config file for bcc micro
git-svn-id: svn://svn.cc65.org/cc65/trunk@496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 08:50:09 +00:00
cuz
00cd06a8b1 Documentation updates
git-svn-id: svn://svn.cc65.org/cc65/trunk@495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 19:12:20 +00:00
cuz
72e790bfbe Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 16:44:50 +00:00
cuz
2df60e5033 Use the new TgtTranslateBuf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:22:06 +00:00
cuz
c45592efbf New TgtTranslateBuf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:18:39 +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
0adf3945b7 Implementation for the .IFPxx commands was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 20:55:12 +00:00
cuz
3a7eccfc8d pusha function has changed
git-svn-id: svn://svn.cc65.org/cc65/trunk@488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 13:33:27 +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
5be5b3763b Implemented large offsets for g_putind
git-svn-id: svn://svn.cc65.org/cc65/trunk@483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-27 16:52:52 +00:00
cuz
f6768466be Fix several errors: The address operator on functions (resulting in a
pointer-to-function type) was not possible. It is redundant but allowed.
A cast with a function on the right side resulted in an internal compiler
error, since the implicit cast from function to pointer-to-function was
missing in this case.
An assignment of a function to a void pointer was not possible because the
same implicit conversion was missing.


git-svn-id: svn://svn.cc65.org/cc65/trunk@482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-24 10:46:04 +00:00
cuz
0333dbbd85 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-24 07:36:08 +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
4ea94a9302 Use "[linker generated]" as source for linker generated symbols.
git-svn-id: svn://svn.cc65.org/cc65/trunk@478 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 19:14:15 +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
c6aef4dd74 Ignore some more files
git-svn-id: svn://svn.cc65.org/cc65/trunk@474 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 22:56:50 +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
cefb4c067d Added optimizations for commutative arithmetic ops
git-svn-id: svn://svn.cc65.org/cc65/trunk@469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 21:39:56 +00:00
cuz
901a8088e6 New --cpu command line switch
git-svn-id: svn://svn.cc65.org/cc65/trunk@468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 20:19:15 +00:00
cuz
596068b4ce In switch statements, do only print a warning about missing case labels if
there are no regular labels and no default label.


git-svn-id: svn://svn.cc65.org/cc65/trunk@467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 12:02:15 +00:00
cuz
9398c5cef0 Removed the old cc65.txt file, added documentation for the dio api.
git-svn-id: svn://svn.cc65.org/cc65/trunk@466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-21 22:36:50 +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
d2d7a2e31b Added condes decls to all linker config files
git-svn-id: svn://svn.cc65.org/cc65/trunk@462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 23:04:30 +00:00
cuz
0beeda5852 Debugging the condes support
git-svn-id: svn://svn.cc65.org/cc65/trunk@461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:59:11 +00:00
cuz
834a3eac52 Added condes tables to c64 config
git-svn-id: svn://svn.cc65.org/cc65/trunk@459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:58:41 +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