1
0
mirror of https://github.com/ksherlock/x65.git synced 2024-06-02 03:41:28 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
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
Carl-Henrik Skårstedt
b16edcd592 Fixed a couple of linker related bugs
did not have any effect, link directive doesn't do what I expect,
probably need to clean up the linker portion.
2017-09-24 22:36:42 -07:00
Carl-Henrik Skårstedt
05b7e253c3 Listing file contains sections including merged sections. 2017-08-06 16:13:11 -07:00
Carl-Henrik Skårstedt
e37bf5ae11 Visual Studio Code colorizing extension, Error includes line number of undefined label reference
* PrintError has an optional argument for enclosing file
* Visual Studio Code extension
2017-01-28 13:29:42 -08:00
Carl-Henrik Skårstedt
576ec5497d MERGE directive, indexed TEXT, Code Style fixes
* Added a directive to control merging of SECTIONs: MERGE
* Added an indexed TEXT format that uses a String Symbol for the
indexing order
* General coding style consitencies
2017-01-08 16:30:30 -08:00
Carl-Henrik Skårstedt
baebdbe096 Label Pool changes
Pool are extended to:
* A pool label can be any size by using POOL <label>.<size> where <size>
is a decimal number
* A pool can define a pool within itself <pool> pool <name> <size> where
<pool> is the name of a pool that would fit another pool and <name> is
the name of the new pool and <size> is the size of the new pool
* pool labels are local if they are preceeded by . or ! or $ or @
* pool labels can be global
2016-12-24 13:23:01 -08:00
Carl-Henrik Skårstedt
8f4a00e3ce Fixing label pools
* label pools don't go out of scope so they can be declared in an
include file and used by the includer file
* label pool labels can be either global or local
* code fixes
* updated struse
* updated binaries
2016-12-23 13:56:57 -08:00
Carl-Henrik Skårstedt
b4407f7cb5 struse.h fixes, warning fixes 2016-05-25 22:44:17 -07:00
Carl-Henrik Skårstedt
a0b73db5c8 Struse was updated and fixing related issues 2016-05-20 22:48:13 -07:00