Open gitsoft opened 5 years ago
I don't think that this should be a setting for the extension, since it is unique for each project/file. I'm planning to implement the same kind of build annotations as Swoffa did in the sublime plugin, so maybe it could be something that is implemented like this.
// @kickass-build "file-to-run": "StartupSegment.prg"
// @kickass-build "start-address": "$4000"
TLDR; New optional feature to use a specific C64Debugger jump address
When is this useful
Usage Provide a specific address value in the setting named
C64 Debugger Start Address
Default behavior The vscode-kickass-c64 extension uses -autojmp when invoking C64Debugger. (no change)
New alternate behavior With a specific memory address in
C64 Debugger Start Address
this extension now invokes C64Debugger with -jmp <_address_>Error handling Any provided start address is validated before use. Default behavior (-autojmp) is used if the provided address is considered invalid. To be considered valid the value must be prefixed with x and have a value within the commodore 64 memory range (0000-FFFF). reference: https://www.c64-wiki.com/wiki/Memory_Map