1
0
mirror of https://github.com/ksherlock/x65.git synced 2024-12-28 04:31:46 +00:00
Commit Graph

175 Commits

Author SHA1 Message Date
Carl-Henrik Skårstedt
ca604ad81c Export and import of object files
First pass implementation of object files - all imported labels are
currently global.
2015-10-13 19:38:13 -07:00
Carl-Henrik Skårstedt
6962a98419 Renaming asm6502 to x65 2015-10-13 19:25:24 -07:00
Carl-Henrik Skårstedt
3534ee4faa Error Fix IV
- Extraneous conditional expression borked late evaluation of branch
address
2015-10-12 20:51:12 -07:00
Carl-Henrik Skårstedt
d17fbfb710 Error Fix III, Switching default section to be relative section
- Merlin support broke colon-overrides-directive-as-label trick, fixed.
- Relative section fixes
- If no section is specified the default section will be relative. If a
binary output is requested the default section is applied to address
$1000
2015-10-12 00:05:06 -07:00
Carl-Henrik Skårstedt
83ffae8812 Some more notes on Merlin syntax support 2015-10-11 15:10:58 -07:00
Carl-Henrik Skårstedt
a946243bab Error fix II, debug symbol table rewrite
- Merlin syntax also broke non-merlin local labels starting with a
period
- Symbols in relative sections wouldn't work in the text based map
system so the symbols are now a map instead.
2015-10-11 14:55:55 -07:00
Carl-Henrik Skårstedt
db6f6887e5 Error fixes
-Declaring an enum is apparently not proper c++, Visual Studio did not
complain.. Moved the whole EvalOperator enum up to the top of the file
-If a line can't be processed, error out instead of infinite looping
(freeze)
-Kick Assembler syntax for using a macro was broken with recent changes
to support Merlin syntax, colon prefix for using macros is now only
allowed if not specifying -merlin.
2015-10-11 12:04:49 -07:00
Carl-Henrik Skårstedt
feb79990ee Export section selection, bug fixes
Picking the most viable section for export for now
cleaning up some Merlin syntax issues
showable version of section and link directives
2015-10-10 20:08:30 -07:00
Carl-Henrik Skårstedt
8f5785702d Bug fixes for link directive
Making sure that relative addresses work in bytes/words/dc.b/dc.w etc.
A few fixes to absolute addresses
Figured out how to safely reloc separate hi byte / lo byte references
Fixed a few instances of reversed byte order
2015-10-10 17:53:15 -07:00
Carl-Henrik Skårstedt
1a192d308a First pass sections
Supports same file relative sections (no object files yet)
Supports relative addresses
Supports absolute addresses
Thinking about high byte / low byte references to absolute addresses
2015-10-10 15:25:08 -07:00
Carl-Henrik Skårstedt
dfc0c46160 Apple II Binary and Merlin Assembler compatibility improved
Not fully tested yet
2015-10-07 22:27:03 -07:00
Carl-Henrik Skårstedt
ad62e04afb Adding ENUM and assembler directives from LISA and MERLIN assemblers. 2015-10-06 22:42:22 -07:00
Carl-Henrik Skårstedt
a4598a5c43 INCDIR, -D, -i, sublime
More stuff for 6502 fun time
2015-10-05 22:45:42 -07:00
Carl-Henrik Skårstedt
00b149a23d Added REPT directive 2015-10-04 16:06:45 -07:00
Carl-Henrik Skårstedt
9af85f3a8a Adding dc.b/dc.w directive documentation 2015-10-04 15:00:54 -07:00
Carl-Henrik Skårstedt
f9ac2253a9 Added 'STRUCT' directive, fixed bugs, rearranged functions 2015-10-04 14:05:38 -07:00
Carl-Henrik Skårstedt
30df9409f1 Fixed error obscured by cleanup code 2015-10-02 21:52:55 -07:00
Carl-Henrik Skårstedt
a6fc6a1ddc Merge remote-tracking branch 'origin/master'
Conflicts:
	README.md
2015-10-02 20:59:20 -07:00
Carl-Henrik Skårstedt
25396a9983 Cleanup
- Wrapped the conditional assembly logic into functions to make it is a
bit more readable.
- Moved related code closer
2015-10-02 20:57:50 -07:00
Carl-Henrik Skårstedt
34970af7fb Adding a note about conditional assembly 2015-10-01 23:36:09 -07:00
Carl-Henrik Skårstedt
d5edf1d593 Label Pools and Conditional Assembly
Awesome stuff added.
2015-10-01 23:16:49 -07:00
Carl-Henrik Skårstedt
80c3016857 Update README.md 2015-09-30 00:01:28 -07:00
Carl-Henrik Skårstedt
433d765403 Fixing a typo 2015-09-30 00:00:33 -07:00
Carl-Henrik Skårstedt
5d9572f0ee Adding the file to github project 2015-09-29 22:07:04 -07:00
Carl-Henrik Skårstedt
81636bbb26 Initial commit 2015-09-29 21:58:50 -07:00