cuz
8400fb848a
Revised symbol scoping
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2614 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 11:22:31 +00:00
cuz
4a667ead00
Improved optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2613 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-05 19:09:53 +00:00
cuz
5881a2b4f5
Changed freeing symbol relations, cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-04 19:02:11 +00:00
cuz
b34d2df08b
New function and bug fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-04 18:59:12 +00:00
cuz
b20cc4cc6e
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 16:25:31 +00:00
cuz
fdf047b4d7
PEI is no valid opcode for the 6502/sc02/c02
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 15:35:36 +00:00
cuz
86462c321f
Fixed missing tab
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 14:30:42 +00:00
cuz
6e780debb8
Add dummy target strip
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 14:02:18 +00:00
cuz
8729fb4a53
Renamed targets
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2599 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 12:42:49 +00:00
cuz
5b3d0ddaf9
Convert the watcom makefiles for use with wine under Linux
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-02 21:46:00 +00:00
cuz
e2c4314258
Converted the makefile to use wine under Linux
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-02 21:18:25 +00:00
cuz
e7df2d5d75
Change data types to get a smaller memory footprint
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2595 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 21:59:21 +00:00
cuz
64c5165a5b
Free expression trees when they're no longer needed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 20:56:40 +00:00
cuz
929b9c174a
Removed dead code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 20:36:31 +00:00
cuz
fbdbf4d07c
Work on named scopes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2592 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 20:21:48 +00:00
cuz
8abe61a32f
Added parens
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2591 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 16:44:20 +00:00
cuz
cba152f777
An "absolute mode override modifier" is now added for instructions where
...
the assembler will otherwise choose the cheaper zeropage addressing mode
because of the size of the operand.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 16:28:56 +00:00
cuz
7496da8f93
Fixed a bug in the opcode tables
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-30 20:35:07 +00:00
cuz
8833089abe
Added additional config files for supervision. These files are not really
...
used by the linker, but I had no better place for them, and config files
from this directory are automatically packed into the doc file, so for now
it seems to be the best place.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2579 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-28 11:26:42 +00:00
cuz
2ec21187ca
Improvements by Piotr Fusik
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2578 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-28 09:09:52 +00:00
cpg
2ee6778705
changes from Stefan A. Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2574 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 19:41:05 +00:00
cuz
39ad3d6da0
Change API for the Compare function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 14:54:58 +00:00
cuz
48c122e478
Move SymEntry stuff into its own module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 21:24:37 +00:00
cuz
966dbc53d8
Use the new generic hash tables
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2561 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 19:13:21 +00:00
cuz
ff2dca420b
More tweaking of the new hashtab module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 19:13:02 +00:00
cuz
5e07b14e8d
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2559 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:47:05 +00:00
cuz
a34f75d0fb
Use the new hash table module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2558 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:13:07 +00:00
cuz
a492e6f895
New generic hash table module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2557 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:12:43 +00:00
cuz
5956040691
More string buffer functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2556 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:12:31 +00:00
cuz
cb57a213eb
Move the segment handling stuff from objcode to a separate module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2555 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-21 20:34:56 +00:00
cuz
bcb652ae83
Help for --linelabels was missing
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-20 10:02:29 +00:00
izydorst
d4043e87ec
VLIR linker malloc's memory, fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2546 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 13:48:43 +00:00
izydorst
20f5dd421f
replaced one arbitrary limit by another one, will not crash on re-linking GeoPublish VLIRs (>64K)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2545 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 09:11:04 +00:00
cuz
c12c231f14
Add := assignment op, define some currently unused keywords
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:38:21 +00:00
cuz
3085e7583e
Change debug file format
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2541 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:38:01 +00:00
cuz
e6a5b59b42
Don't generate internal errors on duplicate labels
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-15 09:33:01 +00:00
cuz
2340415b37
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2523 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-13 18:31:09 +00:00
cuz
d041d01cc2
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-13 11:17:31 +00:00
cuz
1bdcc16827
Added colorization, tab conversion and other fancy stuff
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-12 19:05:58 +00:00
cuz
19ff8d96ad
More opts
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-12 11:29:56 +00:00
cuz
6d409bfb72
Fixed a bug in several binary operators.
...
Fixed a bug in the restore routine for the register variables (generated
code relies sometimes on a wrap around zero which causes a linker error and
does not work on the 816).
More small changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-11 20:40:19 +00:00
cuz
72ce6ac231
Use new CPU instruction sets table
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-11 20:38:55 +00:00
cuz
9de4932f23
New command line options "linenumbers" and "linelabels" which generate line
...
numbers and labels for each line.
Generate HTML 4.01 instead of 4.0.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-11 18:43:12 +00:00
cuz
7ed0eb2228
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 19:33:22 +00:00
cuz
455c679f11
New macro package
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 18:05:01 +00:00
cuz
02d7d8faa7
Added CPU instruction set encoding
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2506 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:38:21 +00:00
cuz
2e030b707c
Change result of .CPU pseudo variable
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2505 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:38:06 +00:00
cuz
f721907ab3
New builtin macro package CPU
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:37:52 +00:00
cuz
e24853a8fd
Use common code to determine the CPU
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2502 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:08:08 +00:00
cuz
283bc121ea
Supervision has something between a 65SC02 and 65C02
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:01:34 +00:00
cuz
6afee6fb05
New target supervision
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:44:20 +00:00
cuz
e08261dff3
Beafed up the string buffer module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:43:01 +00:00
cuz
2541ddd2f6
New target: supervision
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:30:55 +00:00
cuz
d88ee416f0
Fixed an issue with SB_CopyBuf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 14:47:29 +00:00
cuz
32c160b07a
Update
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:47:36 +00:00
cuz
c569764a83
Remove a watcom warning
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:24:47 +00:00
cuz
4bb497f1bc
Fixed tab problem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:18:21 +00:00
cuz
1badfb554a
Added strpool.obj
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:15:08 +00:00
cuz
f9af6ebf88
Added some code to handle floats/doubles.
...
Fixed code generation for compares.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 11:39:58 +00:00
cuz
f1b0fb9763
Added some code to handle floats/doubles.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 11:39:30 +00:00
cuz
89d4ba5553
Fixed a bug - enum tags were inserted into the wrong table
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-09 18:56:38 +00:00
cuz
923ae328a5
Fixed a bug in signed int compares
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:26:32 +00:00
cuz
9a2b4dc849
Handle more opcodes in OptCmp2
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:23:39 +00:00
cuz
4cbf8b352d
Handle more opcodes in OptPrecalc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:23:01 +00:00
cuz
b3496bb343
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 16:58:54 +00:00
cuz
387ebfd396
Fixed a bug.
...
Added/moved debug code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2472 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-06 10:29:17 +00:00
cuz
2b501720bf
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-02 09:01:47 +00:00
cuz
5a656ef6df
Rearrange members to lower memory usage
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 20:59:39 +00:00
cuz
eea99d2a1d
More zeropage variable tracking in the optimizer
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2460 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 13:05:35 +00:00
cuz
d4bd299b5c
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-30 14:40:32 +00:00
cuz
8949233151
Added handling of memory areas references in expressions for o65
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2453 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-27 19:53:09 +00:00
cuz
ffb77285de
New %s inline asm format specifier
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-16 20:35:37 +00:00
cuz
5537aee205
More debug file output
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 21:08:05 +00:00
cuz
67d55e71eb
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 19:29:56 +00:00
cuz
3604512985
Added SegTypeToStr
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 19:27:59 +00:00
cuz
f4e5baa444
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2437 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 11:12:27 +00:00
cuz
3499efea8f
New optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 09:54:24 +00:00
cuz
6028eaac0c
Improved the opt step added lately
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-12 10:33:14 +00:00
cuz
30594ce1f1
New --hexoffs option
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2433 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-11 20:19:09 +00:00
cuz
2c63e4bc0b
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-11 19:00:29 +00:00
cuz
08349112f7
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-11 09:36:16 +00:00
cuz
020a583388
Output to stdout if no output name given
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-04 08:25:43 +00:00
cuz
fff8289744
Increase the number of recursive macro expansions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-01 11:20:13 +00:00
cuz
314b61f97a
Reorder for better error messages
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-30 12:29:28 +00:00
cuz
14fc5c1073
Renamed exprhs to ExprLoad
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2426 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-29 09:16:28 +00:00
cuz
e6568c9763
Some octal character constants were not working.
...
The vertical tab '\v' character constant was not accepted.
Added some error recovery in case of illegal character constants.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-29 09:16:05 +00:00
cuz
7989e202a6
Fixed a type conversion bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2419 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 19:40:40 +00:00
cuz
fe37c38972
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 09:48:10 +00:00
cuz
1b311d932d
Add new SKIP range
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2412 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-23 21:19:20 +00:00
cuz
fd2fa25f28
Added INPUTOFFS and INPUTSIZE
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2411 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-23 16:03:58 +00:00
cuz
e3d3a43c3c
New features: DByteTable, Comments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-23 09:20:33 +00:00
cuz
79edfdd0df
Use $(RM) instead of rm -f
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 18:05:44 +00:00
cuz
aef8789873
Fixed several type conversion issues
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 08:32:07 +00:00
cuz
e20bda21b3
Fixed type conversion problems
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2371 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 20:31:10 +00:00
cuz
7596da75f0
Fixed an internal compiler error when the first token of a source file
...
caused an error message. In this case, the line info was not available
leading to a PRECONDITION VIOLATED.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2370 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 20:30:55 +00:00
cuz
5890278a69
A page length of zero wasn't accepted
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2368 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 21:45:49 +00:00
cuz
7faa7ab3b8
New default for start address
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2366 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 20:36:38 +00:00
cuz
da8739609d
Fixed addresses crossing 0x10000
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 20:14:31 +00:00
cuz
d790ae1b42
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 14:40:27 +00:00
cuz
a70d466e3e
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 15:20:18 +00:00
cuz
cc389a3911
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-16 08:14:05 +00:00
cuz
f3e0d3fbb1
More debug infos
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2320 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 10:59:22 +00:00
cuz
5422c6924a
Removed the -Lp switch, place --dbgfile into help screen
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2318 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 09:19:57 +00:00
cuz
ccdd31b51e
Added gcc attributes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 21:15:10 +00:00
cuz
c6078cae22
Add gcc attributes, fixed a format string problem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 21:09:03 +00:00
cuz
58e3d8c97c
Add gcc attributes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 21:05:25 +00:00
cuz
91a79e4714
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 13:08:46 +00:00
cuz
88d2cc0410
INCS didn't include nes.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 18:54:31 +00:00
cuz
b821c2c8ae
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 09:35:49 +00:00
cuz
b144a85dbb
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:34:09 +00:00
cuz
9d6c683ab6
New --config directive passed to the linker
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:31:06 +00:00
cuz
fcfaaee3a9
Added new .VERSION constant
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:11:55 +00:00
cuz
591f3f39ba
Added #define for combined version
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:10:24 +00:00
cuz
98cdbaba4b
Allow a CPU spec in the GLOBAL section of the info file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2269 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 11:01:46 +00:00
cuz
f0dace7bd0
Address fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 10:30:14 +00:00
cuz
f28586ffcc
Add compatibility code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2265 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-11 21:34:22 +00:00
cuz
5a6ce40b13
Fixed an optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-11 20:46:51 +00:00
cuz
81f94afd5c
Rewrote type conversions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-11 20:18:30 +00:00
cuz
b4bfbfa8ce
The input file on the command line is optional
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2261 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 17:22:46 +00:00
cuz
73dfa23c98
Fixed a bug that caused problems locating the last parameter of a function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 17:05:18 +00:00
cuz
9a34fdb41e
Two parts were not converted from using embedded strings to use of the new
...
string table.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 16:27:35 +00:00
cuz
38e102d2df
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 16:12:04 +00:00
cuz
817b2ac261
Renamed the config file to info file and changed the handling when the
...
disassembler is invoked.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-09 08:28:44 +00:00
cuz
11328d8ea6
Added additional 65(S)C02 opcodes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-08 19:23:55 +00:00
cuz
897f3e9530
Base code for handling different CPUs, more improvements
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-08 11:12:04 +00:00
cuz
045dfad6b5
Added different 65SC02 and 65C02 CPUs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 11:13:13 +00:00
cuz
b1f89ab793
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 11:12:39 +00:00
cuz
e829fe0ee2
Added 65C02 instructions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 10:42:47 +00:00
cuz
33d16833f0
Some CPU definition changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 08:22:16 +00:00
cuz
0192932e2c
More instruction set stuff
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 08:13:46 +00:00
cuz
c130e597b0
New option --forget-inc-paths
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-03 11:58:11 +00:00
cuz
39478f2703
New function ForgetAllSearchPaths
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-03 11:51:12 +00:00
cuz
92dfde6c4e
Order of keywords on the keyword table was wrong
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-02 10:07:00 +00:00
cuz
f7dfcbcc3d
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-02 09:55:54 +00:00
cuz
f08179d6af
Added the near keyword
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2237 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-01 21:38:54 +00:00
cuz
8c62f6b417
The type "enum x" was not handled correctly in sizeof statements and casts.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2235 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-01 21:29:42 +00:00
cuz
d5b3ff4bca
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2234 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-26 07:31:15 +00:00
cuz
cc9263d413
Bug: Char arrays with a specified size could not be initialized with literal
...
strings that had the same length as the char array (in this case the zero
terminator must be omitted by the compiler).
git-svn-id: svn://svn.cc65.org/cc65/trunk@2230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-19 09:12:38 +00:00
cuz
a01d673415
New option --asm-define
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-16 05:59:29 +00:00
cuz
76d26ae0a9
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-27 15:46:20 +00:00
cuz
6766f4a2c1
Octal character constants starting with '2' or '3' did not work.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-27 08:10:08 +00:00
cuz
309f1f0f88
PEI was broken
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-21 10:09:28 +00:00
cuz
3cbd6ca29b
Added new address size override commands z:, a: and f:.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-17 20:22:14 +00:00
cuz
bd4702cb97
Improve help output
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-11 07:13:54 +00:00
cuz
5faea71a56
Added missing files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2206 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 21:15:42 +00:00
cuz
cdedb31199
Assertion checks were the wrong way round
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 21:09:36 +00:00
cuz
0d27afb21f
Completed assertions, add auto assertion for jmp (abs) bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 20:47:59 +00:00
cuz
bb24d025f6
Added assertions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 12:45:19 +00:00
cuz
0aa75f12d6
Fragment cleanup, more string pool use
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 06:50:27 +00:00
cuz
c5255302db
Increased the string pool size
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 06:44:07 +00:00
cuz
eb5637b6e4
More stringpool use / memory savings
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-05 16:50:01 +00:00
cuz
cea9aff3ef
More string pool use
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-04 15:40:32 +00:00
cuz
edde7a3f45
Use a string pool to reduce the memory footprint
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2197 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-04 12:40:14 +00:00
cuz
4937cd236f
Restructuring the object file format
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2196 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 22:19:46 +00:00
cuz
f47f86c7b4
Added new ld65 options
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2190 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 11:27:35 +00:00
cuz
98da4b5811
Added debugging output
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 07:25:49 +00:00
cuz
e60b68c7bd
Changed file type and search path handling
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2185 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 13:37:05 +00:00
cuz
4525b13eb2
Add upper case extensions, use binary search
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2183 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 11:01:23 +00:00
cuz
1e4af7b04e
Use the new filetype module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-30 20:50:34 +00:00
cuz
d0bb32e6c6
New filetype module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-30 20:49:19 +00:00
cuz
3629c9ac7c
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2180 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-30 10:25:55 +00:00
cuz
0957959976
Add file search path capability (still unused)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2178 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-29 09:35:11 +00:00
cuz
a0d9edf5ba
Use AddSearchPathFromEnv
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-29 09:19:12 +00:00
cuz
10243b1bdb
Add AddSearchPathFromEnv
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-29 09:19:01 +00:00
cuz
fc78f797ee
Use the new searchpath common module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-29 09:10:18 +00:00
cuz
fda9a3b49a
Moved most of cc65/incpath to a common searchpath module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2174 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-28 21:11:47 +00:00
cuz
9aa85743ba
Fixed an include file search order problem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2173 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-27 21:48:05 +00:00
cuz
1ccb54d58d
Encode option strings in the string pool
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2170 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-25 21:06:57 +00:00
cuz
76e67e2f97
Changed the object file and library format. There is now an additional
...
string table in the object file that (currently) holds all identifiers
from the import, export and debug info sections. The plan is to put all
strings into this table, so we have them in a central place and don't
waste memory. Apart from that, the indices are unique, so comparing strings
should be a lot easier than before (as soon as the programs take advantage
of this fact, which is currently not the case).
git-svn-id: svn://svn.cc65.org/cc65/trunk@2169 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-25 17:57:50 +00:00
cuz
9421bf0e70
New strpool module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2167 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-24 20:51:41 +00:00
cuz
cfb622f738
Add the new OPTIONAL attribute to the LOWCODE segment.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2165 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:32:33 +00:00
cuz
40609f0a3c
Added an OPTIONAL segment attribute
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2162 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:20:32 +00:00
cuz
be00adb757
Add a warning for an address expression that is usually the result of a typo
...
and almost never used in this form.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2158 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-13 19:10:32 +00:00
cuz
faea6dd29c
Removed an unused warning
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-11 22:04:52 +00:00
izydorst
24ed6e5e3d
fix for previous change: the last vlir chains could be blank, do not pad the last real file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2154 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-09 19:52:23 +00:00
cuz
0a1266e59b
Added the restrict keyword just to have it reserved
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2153 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-07 21:06:42 +00:00
cuz
e9f6a0a3ab
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 21:51:13 +00:00
cuz
9330f3dc6a
Added a new .MACPACK CBM
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2142 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 21:25:55 +00:00
cuz
5084e4ada5
New callback module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2140 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 11:41:39 +00:00
cuz
84339f43bb
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2139 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 09:31:44 +00:00
cuz
dbbce2e939
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2138 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-03 15:26:35 +00:00
cuz
9a883b6766
Add __NES__ #define
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 14:43:30 +00:00
cuz
6ace6309cd
Added the NES target
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 13:49:49 +00:00
cuz
0db036a0e2
Added a new NES config from groepaz
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 13:47:43 +00:00
cuz
c347c2ce94
Added a nes target
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 13:47:21 +00:00
cuz
986e3779ce
Moved CPU definition into common/
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2111 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 23:24:20 +00:00
cuz
8fb90af8ff
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2110 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 22:38:47 +00:00
cuz
2a5fbd00ef
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2109 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 18:58:35 +00:00
cuz
09629cd229
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2100 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-28 21:54:06 +00:00
cuz
459cfb06c1
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2098 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-28 20:23:45 +00:00
cuz
0e32374efe
Changed the size of the BRK instruction from 2 to 1
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2095 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-28 06:42:28 +00:00
cuz
1015edb2a2
New function FindName()
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2094 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-28 06:42:11 +00:00
cuz
94e6e73089
Moved the chiplib module into chip.c
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2093 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-28 06:19:33 +00:00
cuz
8bff858b09
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2092 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-27 15:31:00 +00:00
cuz
251547f028
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2091 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-27 11:49:53 +00:00
izydorst
951785d434
does not pad the last vlir chain to n*254 bytes filesize
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2075 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-26 12:57:30 +00:00
cuz
da57034f4e
Fixed a small "problem": When .END is used, the line following this insn
...
is also put into the listing (but no more).
git-svn-id: svn://svn.cc65.org/cc65/trunk@2074 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-25 20:21:38 +00:00
cuz
c24052fae4
Assume text mode, no need to free memory for graphics
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2049 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-13 22:25:29 +00:00
cuz
8632683f11
New atmos config from Debrune Jerome
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2041 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-09 19:14:56 +00:00
izydorst
c415dc82d9
vertical menus height was too small by one pixel
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2037 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-04 14:07:01 +00:00
cuz
26cdf3a590
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2035 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-03 10:13:32 +00:00
cuz
8b3ab210be
Fixed a bug in character literal handling
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2029 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 20:18:58 +00:00
cuz
86f78af374
Fixed a few comments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2028 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 10:19:53 +00:00
cuz
7d350d3f61
Fixed a bug: .ENDPROC without .PROC would crash the assembler
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 10:14:43 +00:00
cuz
53518d59c9
Fixed initializers for standard behaviour (hopefully ok now)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2026 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-16 15:18:10 +00:00
cuz
f6376d7d60
Revoked part of last change - didn't work
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2025 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-16 14:47:42 +00:00
cuz
6f52726647
Allow any number of optional braces around all initializers as required by the standard
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2024 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-16 14:31:48 +00:00
cuz
c8d76046cb
Added better error recovery
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2013 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-13 12:35:54 +00:00
cuz
065b8f2596
If main() takes arguments, generate a forced import to a special module
...
constructor which will setup command line arguments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2011 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 12:41:47 +00:00
cuz
2be826ded6
Remove debugging printf's
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 11:51:28 +00:00
cuz
b06d37d809
Added new .FORCEIMPORT pseudo op
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2007 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 11:33:14 +00:00
cuz
e925aa27ee
Improve error recovery
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2002 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-06 12:12:25 +00:00
cuz
0ae6ab57ae
Last fix was wrong
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1999 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-04 11:02:11 +00:00
cuz
c008e555b2
Fixed a bug in sign extension of constant values
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1998 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-04 10:46:27 +00:00
cuz
0fd653c416
.incbin did not honor the include search path
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1996 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-26 23:17:42 +00:00
cuz
f80a5148bd
Fixed problem with array forward decl
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1994 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-19 22:58:13 +00:00
cuz
a9899eba15
Added a new extended (and machine specific) zeropage segment named EXTZP.
...
Renamed GEOSZP to EXTZP.
Added a --dump-config command that dumps a builtin linker config.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1987 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-16 14:32:13 +00:00
cuz
c6cf5d7fd9
Minor cleanup
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1979 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-12 23:15:34 +00:00
cuz
4af023a180
Add more co65 options
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-12 14:40:00 +00:00
cuz
686f267324
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 22:40:56 +00:00
cuz
631aeb2a8d
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1971 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 22:33:12 +00:00
cuz
606e81df3d
Fix memory area start symbol
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1970 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 12:51:37 +00:00
cuz
b7c44015f7
Add co65 utility
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 23:14:23 +00:00
cuz
0346cf692e
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1949 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 23:00:40 +00:00
cuz
061caaca6d
New function StrCaseCmp
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1948 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 22:23:29 +00:00
cuz
92b18822fa
Bumped the version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1947 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 21:15:43 +00:00
cuz
b0c86375b8
Fixed generation of o65 timestamp
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1946 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 21:13:13 +00:00
cuz
5dbc41b0bb
Output statistics if -v given
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1944 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 16:49:48 +00:00
cuz
79a2185c42
Added capability to conver o65 object files by using the new co65 utility
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1943 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 16:48:46 +00:00
cuz
bbb70a2d47
First import
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1942 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 16:32:55 +00:00
cuz
b28cf4cfd8
ValidSegName now defined in segnames.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1941 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 09:54:47 +00:00
cuz
07cb34ba61
Move ValidSegName into segnames.c
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1940 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 09:53:44 +00:00
cuz
b9e04d5242
Move default segment names into segnames.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1939 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 09:45:15 +00:00
cuz
1c5ba2bea5
Use default segment name definitions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1938 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 09:40:01 +00:00
cuz
800451f1d8
Correct zeropage #def
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1937 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 09:39:36 +00:00
cuz
0c77a8cc34
Define default segment names
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1936 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 09:37:42 +00:00
izydorst
a5eefc2734
fixed VLIR linker (case when chain length was equal to n*254)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1931 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 02:00:33 +00:00
izydorst
443efb5f3a
fixed value for VLIR record table (points TO the last byte in the sector, not the next one)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1930 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 00:23:37 +00:00
cuz
f817b05fa9
Allow initialization of flexible array struct members
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1928 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-05 22:02:48 +00:00
cuz
c123666d24
Added flexible array members for structs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-03 22:14:20 +00:00
cuz
c5868d30c0
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1922 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-02 21:05:39 +00:00
cuz
47ce743518
Fixed a bug in JMP (IND)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1918 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-02 11:19:51 +00:00
cuz
88cb1a9fd8
Error message for negative array sizes.
...
Restrucured struct decl parsing code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1914 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 12:39:12 +00:00
cuz
7a1a7745eb
Fixed the address
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 12:38:43 +00:00
cuz
703447dd26
Locals with a qualifier and implicit int type where not parsed correctly
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1910 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-28 16:28:41 +00:00
cuz
6e6560abd9
Fixed the last fix. Sigh:-(
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1909 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-20 21:02:57 +00:00
cuz
4ca598de3a
Fixed the last fix. Sigh:-(
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1908 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-20 20:53:42 +00:00
cuz
638f54f3e4
The check for illegal storage classes on globals was wrong
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1907 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-20 06:02:33 +00:00
cuz
66f6093ae2
Fixed last fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1905 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-20 05:56:48 +00:00
cuz
b6c4ff2e01
Fixed problems that occured on input files with missing LF at end of file.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1903 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-19 12:04:33 +00:00
cuz
0293cc4bc0
Fixed a problem with line continuations and -T
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1893 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-07 21:45:20 +00:00
cuz
efc905a39e
Type of LOWCODE was wrong. Cleanup.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1889 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-05 21:08:58 +00:00
cuz
4d892a7993
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1888 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-05 21:04:40 +00:00
cuz
d4b73bc0ef
Fixed several uses of memory after free()
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1879 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-05 19:03:48 +00:00
cuz
abcc981253
Move the Debug flag into a new module "debugflag" in the common directory.
...
Remove the const qualifier from the argument of xfree().
git-svn-id: svn://svn.cc65.org/cc65/trunk@1877 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-04 16:59:51 +00:00
izydorst
0264d31e7c
new GEOSZP segment for library use, added GEOS tgi driver, fixes in GEOS conio
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1864 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-31 15:35:55 +00:00
cuz
ed2bb59bcb
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1862 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 21:23:28 +00:00
cuz
9222de75da
Check for implicit int return in all cases
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-26 16:14:57 +00:00
cuz
ed1e1db09b
Fixed a bug introduced by EXPR_SEGMENT -> EXPR_SECTION change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-24 14:39:09 +00:00
izydorst
dc207514dd
support for .zeropage segment in GEOS
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1834 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 22:14:14 +00:00
cuz
5f666a19b8
Replaced the solution for the array conversion problem by a better one.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1784 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-17 12:12:44 +00:00
cuz
421c8771dc
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1783 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-17 11:39:02 +00:00
izydorst
803c1c0184
using functions from common/ in grc, correct order of menus in test.grc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1779 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-17 09:10:57 +00:00
cuz
0774fe273a
Did some renaming and cleanup: Renamed EXPR_SEGMENT to EXPR_SECTION, since
...
this is what it really is. Added a real EXPR_SECTION which is now used in
the linker to represent the run address of a segment, provided that it is
requested to be defined. Changed some named in use of EXPR_MEMAREA. Added
handling of the new EXPR_SEGMENT to both, the binary and o65 output format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1769 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-14 22:57:00 +00:00
cuz
cd5f487b8c
Bumped the version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1765 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 20:01:18 +00:00
cuz
76b41b3f9a
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1763 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 11:26:21 +00:00
cuz
f79ac9168e
New Lunix config file from Greg King
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1761 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 10:47:03 +00:00
cuz
da6462ebd3
Fixed formatting of the help text
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:29:40 +00:00
cuz
a5489728ae
Converted all Watcom makefiles to use GNU make
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1745 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:19:53 +00:00
cuz
1ec291fa4e
Fixed a macro problem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:19:33 +00:00
cuz
7f9bb30731
Some Watcom related fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1742 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 21:53:26 +00:00
cuz
4e2110a7a9
Fixed the inlined strlen function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 17:40:58 +00:00
cuz
e84a1c068b
Print a warning if a bss type segment has both, run and load areas assigned.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-11 18:29:58 +00:00
cuz
11306120ea
Fixed a bug that occurred when using // comments at the end of an #if
...
line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-11 15:28:09 +00:00
cuz
2f8c281b89
Fixed hangup for loops in jump cascade
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1734 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-11 11:29:17 +00:00
cuz
e4d25caa56
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 12:59:07 +00:00
cuz
cca009fe78
Added stack usage info
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1716 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 12:59:00 +00:00
cuz
867b2ea2ed
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1714 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-04 11:03:15 +00:00
cuz
df5132d31c
New feature: startaddress
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:32:38 +00:00
cuz
40c8cbdca5
Added a harmless function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1686 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:32:13 +00:00
cuz
086d80e8c4
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1684 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:32:01 +00:00
cuz
1167d99a9b
New .PUSHSEG and .POPSEG commands
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 17:42:16 +00:00
cuz
cf2162f5da
Move the ValidSegName function into common (segdefs)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 17:34:42 +00:00
cuz
34f42ce630
Added SegDef struct and a few functions to the segdefs module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 17:34:16 +00:00
cuz
6b46bf3b10
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1667 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 15:25:11 +00:00
cuz
0348739164
New --register-space option
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 18:27:09 +00:00
cuz
bf5ae8b663
Add compiler options for register variables
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1652 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 18:23:44 +00:00
cuz
8fc78c2c8d
Added the .TIME pseudo function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1651 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 13:44:35 +00:00
cuz
ef886278a8
Make the spawn module an include file as suggested by Greg King
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1649 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 21:12:00 +00:00
cuz
345d2ddf54
Adjusted the copyright string
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:33:58 +00:00
cuz
85e36f2ea5
Add capability to dump just the segment sizes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:32:16 +00:00
cuz
ea06b7286e
Additional pointer load optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1644 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:06:19 +00:00
cuz
9328da18fb
Fixed symtab code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1642 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 15:13:03 +00:00
cuz
70755921a9
Re-added register variables.
...
Changed/added several optimizer steps to detect register variables correctly
or to handle them in a special way.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1636 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 15:05:15 +00:00
cuz
d8338efc53
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 14:24:48 +00:00
cuz
da44e7ae4b
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1628 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 23:41:51 +00:00
cuz
ede471904c
Reenable register variables
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 23:31:54 +00:00
cuz
b6898c3f1e
Check register before static
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 21:07:39 +00:00
cuz
89f00263af
Fixed a problem with the test expression in a for loop: It was not evaluated
...
correctly if it did not contain an explicit comparison operator.
Removed an old hack from the test subroutine that did no longer work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 18:18:16 +00:00
cuz
b948d96206
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1613 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 22:06:26 +00:00
cuz
c61729a15a
A few size optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1606 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 16:33:35 +00:00
cuz
ac61d6826c
Another optimization step
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1603 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 12:05:23 +00:00
cuz
d7d86886b6
Add STARTUP and LOWCODE segments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 11:10:50 +00:00
cuz
fe75b5c3f3
Added LOWCODE and STARTUP segments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:50:45 +00:00
cuz
a7d67fb9b5
New upper memory limit
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:45:57 +00:00
cuz
cf71d811dc
Comment was wrong
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:45:37 +00:00
cuz
86fb1f760a
New harmless function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1595 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:44:36 +00:00
cuz
6eabc2813a
Added interrupt handler table
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1591 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:42:49 +00:00
cuz
527c0575ec
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:42:38 +00:00
izydorst
8c5da1ecc1
added LOWCODE and STARTUP segments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1583 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 18:46:55 +00:00
cuz
2b98a26cac
Add STARTUP and LOWCODE segments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1582 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 17:43:47 +00:00
cuz
4dd4e76a88
Added a scope argument to the SymIsDef and SymIsDef functions, so it is
...
possible to request information for a specific scope.
Add an optional scope argument to the .DEFINED builtin function.
Change the long branch macros to look for symbols in local scope.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1574 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 01:45:00 +00:00
cuz
08b095c604
Reversed the last change because it did not work
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:33:29 +00:00
cuz
4f9f06c20a
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1565 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 23:28:32 +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
c80596458c
Renamed NMI segment to LOWCODE
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1562 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:15:19 +00:00
cuz
f205950f54
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1561 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:10:10 +00:00
cuz
42463beaee
Rewrote code for better readability
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 20:46:16 +00:00
cuz
0ba44bb2d4
Small but significant shift optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1559 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 01:08:14 +00:00
cuz
cfbe5ec5b4
Commiting some old changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 17:04:29 +00:00
cuz
ead7de2b42
Ignore module.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1550 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 17:03:14 +00:00
cuz
e688abde1f
Moved the zero page locations for the PET machines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1547 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 01:34:56 +00:00
cuz
8ef3447248
Fixed an error in struct compare. For one, the behaviour was not standard
...
compliant, because struct tags were not compare, second, this lead to an
endless loop of recursive calls for a special case of wrong C code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1523 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 13:19:46 +00:00
cuz
ca1386e9d4
Removed unused code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:52:29 +00:00
cuz
b1cc64faaa
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:52:10 +00:00
cuz
57d6c2f51e
New function ReplaceType
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1520 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:51:59 +00:00
cuz
c6abc5d9d4
Make small functions inline
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:51:39 +00:00
cuz
dadd136ae1
Use constants for datatype sizes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-02 12:39:10 +00:00
cuz
8810e38bb7
Move the assignment parser into a separate module.
...
When assigning structures, copy them using the primary register when the
size is 1, 2, or 4.
When assigning structures, allow structures by value when the size is 1,
2, or 4. These structures are expected to be in the primary register. The
only case when this can happen is by return from function, so this change
makes div() work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1477 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-01 21:27:31 +00:00
cuz
5548b6fd56
Work on better type casts - not yet finished
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1476 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-01 15:16:16 +00:00
cuz
571ea849d9
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1475 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-29 17:53:17 +00:00
cuz
914b2a7e37
New store optimization.
...
New functions RegValIsKnown and RegValIsUnknown should be used instead of
direct compares against zero, so we can change the "unknown" representation
one day.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-17 21:37:01 +00:00
cuz
4da19658c2
Fixed error "variable has unknown size" for a local array where the size
...
was not given (introduced by last change).
git-svn-id: svn://svn.cc65.org/cc65/trunk@1465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-17 21:14:40 +00:00
cuz
49fd7134e5
Fixed a buffer overflow (report from Christian Groessler).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1464 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-14 16:23:26 +00:00
cuz
83fb2c8ab4
Allow initialization of local variables of compound type
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 21:15:24 +00:00
cuz
dcdaf8fd49
Restructured DeclareLocals()
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 20:24:16 +00:00
cuz
872c2b4453
Made a lot of short functions inline
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1456 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 20:23:41 +00:00
cuz
2e5fa9575c
Add info about more functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1455 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-09 19:39:45 +00:00
cuz
13642fc6c4
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-09 19:39:36 +00:00
cuz
e68b8160ed
Added more size optimizations, separate module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1453 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-08 20:56:00 +00:00
cuz
3c31d063f7
New optimizer pass OptShift3.
...
Renamed CE_IsCall to CE_IsCallTo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 20:54:01 +00:00
cuz
a0496ca53d
Fixed an omission in AdjustStackOffset. Use CS_IsBasicBlock in OptStackOps.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1450 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 19:03:12 +00:00
cuz
9a62c92489
Improved implementation of OptPushPop
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1449 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 19:01:46 +00:00
cuz
1647c6783f
New functions CS_ResetMarks, CS_ResetAllMarks and CS_IsBasicBlock.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 19:01:16 +00:00
cuz
6047165325
Fixed problem with earlier change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 22:55:42 +00:00
cuz
e9da20f961
Fix codesize setting
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 22:37:36 +00:00
cuz
7ce4196829
New/changed optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1443 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 20:32:31 +00:00
cuz
bc1085997d
Minor improvement of optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-04 19:27:15 +00:00
cuz
89e8aae7d7
Increase the size of some buffers, so we are at the assembler level able to
...
handle any identifiers passed from the C level.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-04 17:54:46 +00:00
cuz
29c217b4b2
Use a #define instead of numeric value
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:20:45 +00:00