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
eae936dd6a
swithcing back to vs2015
2018-02-20 13:40:57 -08: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
efc63864ee
Also cleaning up previous install for Visual Studio Code extension
2017-04-15 20:51:09 -07:00
Carl-Henrik Skårstedt
2698f08ab9
.gitignore adding yet more redundant visual studio project files...
2017-04-15 13:40:47 -07:00
Carl-Henrik Skårstedt
9c7f413dac
Changing theme from XML to JSON, adding Windows installer
...
* I don't like XML one bit
* Writing a bat file is easier than putting something on the marketplace
without using javascript.
2017-04-15 13:34:16 -07:00
Carl-Henrik Skårstedt
49ca89f875
Adding dump_x65 as a VS2017 solution project
2017-04-11 16:10:43 -07:00
Carl-Henrik Skårstedt
479300eec7
Adding a solution for Visual Studio 2017
2017-04-11 12:56:10 -07:00
Carl-Henrik Skårstedt
effd8205db
Image fix
2017-01-28 17:05:35 -08:00
Carl-Henrik Skårstedt
adcefe4bff
Tuning the lanuage extension for Visual Studio Code a bit
2017-01-28 17:02:41 -08: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
fe049342bd
README.md edit
2016-12-23 14:04:59 -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
c226b00dad
Added visual studio natvis for struse class
2016-05-26 22:28:32 -07: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
Carl-Henrik Skårstedt
03f5e5cbfe
First column in Merlin mode recognizes scope braces ('{' and '}')
2016-03-17 21:33:39 -07:00
Carl-Henrik Skårstedt
e452d3ab7e
Fix
2016-03-17 00:07:15 -07:00
Carl-Henrik Skårstedt
9752c1d8a1
Merlin macro fix
...
- Does not require merlin macro parameters to be listed after the
keyword MAC
- Updated struse.h
2016-03-17 00:05:36 -07:00
Carl-Henrik Skårstedt
73d67d0657
Context scope cleanup and fix for sequential subtraction in expressions
...
- Should clean up Merlin mode macros a bit
- Fixes a numerical error
2016-03-13 18:16:43 -07:00
Carl-Henrik Skårstedt
0fcdc9ca47
Switching dump_x65 to inttypes.h and updating binaries
...
- dump_x65 now matches object code structures in x65
2016-03-12 11:57:39 -08:00
Carl-Henrik Skårstedt
d1c9f3aab5
Fix for local labels accessed crossing over a REPT / LUP
...
- Added a scope increment when entering a block of repeated code so only
the local symbols within the block would be destroyed each iteration
- Switched over to inttypes.h to make code a smidgeon more readable
2016-03-12 11:39:53 -08:00
Carl-Henrik Skårstedt
07b1a52bb4
Updating binaries
2016-03-11 17:55:32 -08:00
Carl-Henrik Skårstedt
4f6db98637
Removing the disassembler and putting it into its own repo
...
- The disassembler was taking on some girth and weighing the assembler
code down.
2016-03-11 17:43:16 -08:00
Carl-Henrik Skårstedt
d9d386a260
Adding error handling for flushing local labels
...
- Errors were ignored in a couple of places
2016-03-11 17:08:44 -08:00
Carl-Henrik Skårstedt
273bdcc92d
Fix for local labels within rept/LUP and force org with command line argument
...
- Flushing local labels after each rept/LUP source segment so local
labels within won't cross over the segment boundary
- The command line argument -org will force fixed address rather than
suggest a location, which in turn makes the -lst command line more
readable.
2016-03-11 16:58:24 -08:00
Carl-Henrik Skårstedt
ee53c41776
Fix for Merlin macros with arguments
...
- Macro argument was assembled and first argument was defined as a label
2016-03-11 14:12:32 -08:00
Carl-Henrik Skårstedt
341cc8f2ad
Labels can begin with numbers
...
- It is a bad idea to define labels starting with numbers but apparently
Merlin allows it.
2016-03-01 18:34:20 -08:00
Carl-Henrik Skårstedt
462eaeccf6
Fixed bad fix (INCSYM was not properly fixed)
2016-02-15 21:11:10 -08:00
Carl-Henrik Skårstedt
0605a1d6d2
Fix for INCSYM directive when loading files with local labels
2016-02-14 12:36:01 -08:00
Carl-Henrik Skårstedt
7d59943d35
Fixed broken INCBIN and IMPORT BINARY directives
2016-02-13 16:41:33 -08:00
Carl-Henrik Skårstedt
60780a514a
Pool labels of even 16ths would be re-reserved due to a left-right bug
...
- Shifted left when I should have shifted right.
2016-01-28 21:06:41 -08:00
Carl-Henrik Skårstedt
5b9e5f6d46
Disassembler calling graph skips fallthrough labels
...
- significantly cleaner calling graph in complex projects.
2016-01-14 22:08:38 -08:00
Carl-Henrik Skårstedt
1f50f07c24
STRUCT Directive fix
...
- Structs can contain empty lines
- Structs can be empty
- All structs have a size member named bytes, the number of bytes used
by a struct is <struct>.bytes
2016-01-04 20:55:32 -08:00
Carl-Henrik Skårstedt
e3241c66aa
Disassembler swapping the order of a couple of things
...
- Re-evaluating code separators (jmp, rts, etc) before determining local
labels
- Re-evaluated label separator was off by one.
2015-12-18 22:41:16 -08:00
Carl-Henrik Skårstedt
794171d48b
Fixed disassembler call graph function fall-through
...
- forgot that functions can fall through to the next label if there is
nothing separates the function from the next label
2015-12-17 23:27:16 -08:00
Carl-Henrik Skårstedt
7833ddc188
Missing character
2015-12-16 22:21:35 -08:00
Carl-Henrik Skårstedt
c4921552ba
Disassembler calling graph
...
- graph command line option adds a calling graph to the disassembly file
- graph+bra includes branches in the calling graph
- re-evaluating separating code/data segments after the segments have
been culled.
- Added a c64kernal.lbl file that includes kernal calls
2015-12-16 22:19:25 -08:00
Carl-Henrik Skårstedt
b8362cbb0b
Improving some code and data distinction rules
...
- If an address is unreachable it is data even if a branch crosses
- If a branch crosses data then that branch can be valid code
- If a segment is initially considered code but not reachable after all
is said and done it is reverted to data
2015-12-14 22:07:30 -08:00
Carl-Henrik Skårstedt
ec01fcc6e1
Disassembler memory access check
2015-12-14 00:27:12 -08:00
Carl-Henrik Skårstedt
5dbe08b1b3
Minor disassembler annoyances addressing
...
- Label ranges outside of data would be ignored for instructions
- If last code reference was a jump table then its references would get
stripped
2015-12-12 14:00:36 -08:00