Commit Graph

112 Commits

Author SHA1 Message Date
Carl-Henrik Skårstedt 9e542033b8 Macros can use strings 2021-12-12 20:13:05 +01:00
Carl-Henrik Skårstedt 842b68b342 Fixing some illegals 2021-05-15 13:59:44 +02:00
Carl-Henrik Skårstedt 73eaa45daa fixed Kick Assembler Debugdata output with symbols relative to sections & section naming 2021-02-11 17:34:46 +01:00
Carl-Henrik Skårstedt 5339e5c789 Fixed x65 symbol files that broke with source debug changes 2021-02-10 23:31:12 +01:00
Carl-Henrik Skårstedt 74d517e9d3 Minor progress labels & breakpoint source tracking 2021-01-26 23:24:30 +01:00
Carl-Henrik Skårstedt e0d3f3c9cd Adding notes about how to use source debug output 2021-01-14 20:32:17 +01:00
Carl-Henrik Skårstedt 88fc0cbb60 Fixing Source Debug export 2021-01-14 20:28:06 +01:00
Carl-Henrik Skårstedt 779c7af7ed Source Debug Export 2021-01-14 16:50:33 +01:00
Carl-Henrik Skårstedt f67a920a06 Writing object files with source debug, load object files breaks 2021-01-13 23:58:26 +01:00
Carl-Henrik Skårstedt 7df69d5e36 Source level debugging info wip 2021-01-13 17:42:18 +01:00
Carl-Henrik Skårstedt c1fa69d90f added c64 screen codes as a text option 2021-01-12 16:59:41 +01:00
Carl-Henrik Skårstedt 060be58f41 Allow code to be compiled in "zero page" 2020-12-13 22:43:53 +01:00
Carl-Henrik Skårstedt 3a33dc7056 Merge pull request #18 from ksherlock/merlin_ddb_2
fix merlin ddb
2020-12-05 20:06:53 +01:00
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
Kelvin Sherlock 295129cd6c fix merlin ddb
ddb generates a "double byte" which is actually a big-endian 16-bit number.
For relocation purposes, it has to be handled as 2 individual bytes with shifts to adjust it.
2020-10-18 13:39:42 -04: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
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
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 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 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 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 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
Carl-Henrik Skårstedt 4c3c1654fb Fix for -DLabel=value option 2019-03-13 12:08:21 -07:00
Carl-Henrik Skårstedt cfb2d1a8d8 Fixed exporting code to addresses below the stack 2018-10-20 18:33:19 -07:00
Carl-Henrik Skårstedt ab2015fc3d Can evaluate characters by single quote '?' 2018-10-15 00:16:44 -07:00
Carl-Henrik Skårstedt 4285a14801 fixing import with file offset 2018-02-20 13:30:32 -08:00