1
0
mirror of https://github.com/ksherlock/x65.git synced 2024-06-29 01:29:29 +00:00
Commit Graph

189 Commits

Author SHA1 Message Date
Kelvin Sherlock
af8c7ae42d fix mvn/mvp argument order
mvn $01,$02 is encoded as: $54 $02 $01
2020-10-20 19:34:38 -04:00
Carl-Henrik Skårstedt
fe924aab14 Merge pull request #17 from ksherlock/clang_warnings
fix clang compiler errors and warnings.
2020-10-19 09:04:33 +02:00
Kelvin Sherlock
06aae43fdd fix clang compiler errors and warnings. 2020-10-18 11:58:35 -04:00
Carl-Henrik Skårstedt
c2492ab348 Merge branch 'master' of https://github.com/Sakrac/x65 2020-04-01 16:19:55 +02:00
Carl-Henrik Skårstedt
1f6956c1ec Added a helper switch to show XREFs/XDEFs before linking 2020-04-01 16:19:48 +02:00
Carl-Henrik Skårstedt
45f5d05f54 Merge pull request #15 from dwsJason/ja-pei
pei addressing
2020-04-01 16:18:34 +02:00
Carl-Henrik Skårstedt
56b253880e Merge pull request #16 from dwsJason/sample_omf
Sample OMF
2020-04-01 16:18:16 +02:00
dwsJason
e6a63010f2 import Tool macros 2020-02-25 21:29:48 -05:00
dwsJason
b8ef00f811 import missing dp.s file 2020-02-25 21:12:55 -05:00
dwsJason
1f61d948fb import: sample OMF application 2020-02-25 21:11:24 -05:00
dwsJason
17a99e46e7 PEI: allow both addressing styles $dp, and ($dp) 2020-02-22 16:20:52 -05:00
dwsJason
fd1bc0ba76 Fix address corruption issue with when code segment is pushed beyond 32kb 2020-02-22 14:04:49 -05:00
Jason Andersen
b699c1b6f4 Merge pull request #1 from Sakrac/master
Sync with x65 master
2020-02-22 13:53:26 -05:00
Carl-Henrik Skårstedt
c1de91e3f1 Fixed a case where addressing mode got confused because a function with multiple parameters was used as the address 2020-01-21 16:49:20 -08:00
Carl-Henrik Skårstedt
53f69edc5a Documented FUNCTION in directives, added errors.md 2020-01-15 11:23:07 -08:00
Carl-Henrik Skårstedt
d80f5473a2 Merge pull request #13 from Sakrac/user-functions
User functions:
User Defined Functions added, you can now create predefined expressions that work similar to a macro but returns a value instead of generating binary:
FUNCTION add_values(a, b) a + b
2020-01-15 10:53:32 -08:00
Carl-Henrik Skårstedt
6af905353c User functions first implementation, added a NOT expression operator 2020-01-15 10:51:02 -08:00
Carl-Henrik Skårstedt
dda49fda57 progress user functions 2020-01-14 23:41:34 -08:00
Carl-Henrik Skårstedt
846bd5cd63 Starting user defined functions 2020-01-14 18:53:02 -08:00
Carl-Henrik Skårstedt
09796bc6e7 Update eval_functions.md 2020-01-11 19:52:43 -08:00
Carl-Henrik Skårstedt
b45da90bce Adding a doc for eval functions. 2020-01-11 13:16:34 -08:00
Carl-Henrik Skårstedt
33e7f72d0b Update directives.md 2020-01-11 13:05:53 -08:00
Carl-Henrik Skårstedt
5cec8f8309 Adding markdown relative links 2020-01-11 13:04:00 -08:00
Carl-Henrik Skårstedt
e3fa7b0c83 Finishing the last sentence in the introduction to directives documentation. 2020-01-11 13:00:57 -08:00
Carl-Henrik Skårstedt
b469ceef8c Expermenting with starting over on the x65 documentation 2020-01-11 12:58:26 -08:00
Carl-Henrik Skårstedt
eb3df4de88 Label pools are 32 bit, added sizeof directive for structs, destructor for Symbol Stacks 2020-01-10 20:52:02 -08:00
Carl-Henrik Skårstedt
4b7e679b20 Merge pull request #12 from Sakrac/functions
Functions
2020-01-10 14:20:45 -08:00
Carl-Henrik Skårstedt
a535295929 Implementing Eval Functions, complimented by IFCONST, IFBLANK and IFNBLANK 2020-01-10 14:20:00 -08:00
Carl-Henrik Skårstedt
758b4349eb Starting assembler functions 2020-01-09 23:10:55 -08:00
Carl-Henrik Skårstedt
600567a42e Merge branch 'master' of https://github.com/Sakrac/x65 2020-01-09 16:09:02 -08:00
Carl-Henrik Skårstedt
385155d5eb Update ca65directive.s 2020-01-09 16:08:14 -08:00
Carl-Henrik Skårstedt
b3d9b40563 push/pull symbols and strings with directiv 2020-01-09 16:01:16 -08:00
Carl-Henrik Skårstedt
12e158d637 Fixed scoped labels turning into local labels and expiring when endscope is encountered 2020-01-08 18:59:06 -08:00
Carl-Henrik Skårstedt
a3f8a7cf44 ca65 uses import/export instead of xref/xdef, section export is not available in this case 2020-01-08 17:04:42 -08:00
Carl-Henrik Skårstedt
66bdac5079 fixed IFDEF/IFNDEF, added partial support for CA65 style SCOPE, fixed -endm style macro parsing. 2020-01-08 14:38:29 -08:00
Carl-Henrik Skårstedt
6e4be1504d Adding an immediate mode version of BRK since the IRQ will treat it as a two byte instruction 2019-11-03 20:34:02 -08:00
Carl-Henrik Skårstedt
963d1925cc changed PEI to zp instead of zp rel 2019-11-03 20:13:28 -08:00
Carl-Henrik Skårstedt
c234531d69 Fixed various issues with linking sections, seemingly broke macros in some way but common usage is fine. 2019-10-27 18:09:48 -07:00
Carl-Henrik Skårstedt
019e8d7ae9 Making sure branch out of range error is propagated in late eval 2019-10-18 00:01:19 -07:00
Carl-Henrik Skårstedt
2243803116 Fixed macro issue that defines a label ending with : 2019-10-17 15:53:28 -07:00
Carl-Henrik Skårstedt
d5080e925d more testing and fixing of partial expressions 2019-10-17 00:16:55 -07:00
Carl-Henrik Skårstedt
7521d31514 debug output for partial late eval, seems ok, can integrate with more testing 2019-10-16 18:33:17 -07:00
Carl-Henrik Skårstedt
33b229d00a Fixing 16 vs 8 bit immediate load issue (again) 2019-09-20 18:20:30 -07:00
Carl-Henrik Skårstedt
6e8a41acc1 removing WDC 65816 specific syntax for non-65816 cpus to maintain code. 2019-09-19 22:06:11 -07:00
Carl-Henrik Skårstedt
de0bc5120f Fixed 16 bit immediate mode, tweaked unit tests, added |/! as WDC syntax for absolute addressing 2019-09-19 21:07:04 -07:00
Carl-Henrik Skårstedt
482470b410 Starting WDC syntax support, adding unit test to repo. 2019-09-19 18:50:30 -07:00
Carl-Henrik Skårstedt
23aedcf686 Fix for bug #1
Force absolute addressing failed when presented with a known long address.
2019-09-18 12:16:58 -07:00
Carl-Henrik Skårstedt
da015f3e1c Missing addressing mode for lax 2019-09-08 00:27:10 -07:00
Carl-Henrik Skårstedt
4670be0ce1 Adding a structure to hold one unit of source level debugging 2019-09-06 18:02:18 -07:00
Carl-Henrik Skårstedt
efacecf701 Adding 64TASS list/labels output files for no reason. 2019-09-03 17:10:48 -07:00