Commit Graph

159 Commits

Author SHA1 Message Date
g012 f49f973b2a [CMake] Added dependency on scripts for embed. 2017-09-28 10:51:40 +02:00
g012 92c6dfe245 Removed one line of info in error report. 2017-09-28 10:33:32 +02:00
g012 a36c8237df Fixed error reporting of some unresolved symbols. 2017-09-28 01:37:45 +02:00
g012 879b98eec4 Improved error messages. 2017-09-27 23:57:50 +02:00
g012 55381d271b Added CMake builder. 2017-09-27 01:33:21 +02:00
g012 e808ee4e43 Added command line option to dump generated lua file. 2017-09-25 23:41:58 +02:00
g012 9993f22dfe Added more VCS mappers. 2017-09-25 13:20:04 +02:00
g012 ece6974ba6 Added dir of l65 to require search paths. 2017-09-25 11:49:56 +02:00
g012 d320960194 Added hooks for load, loadfile, dofile. 2017-09-25 11:23:35 +02:00
g012 6eeeb656bc Added package searcher for l65 (without module support, not needed). 2017-09-25 02:01:46 +02:00
g012 f0dcdfeaa7 Added more VCS mapper stubs. 2017-09-24 16:05:37 +02:00
g012 3d2dc97870 Added option per section to preserve section during stripping. 2017-09-23 23:46:28 +02:00
g012 3f52d2d329 Added dead stripping. 2017-09-23 23:42:32 +02:00
g012 7eabbe80a6 First attempt to add k65 style syntax. 2017-09-22 23:58:01 +02:00
g012 378667685d Added dc.b/w/l syntax for auto encapsulation.
Disabled encapsulation for numbers and strings.
Added long() data definition function.
2017-09-22 12:29:48 +02:00
g012 63cdd88f21 Fixed byte(string) bug introduced with last commit. 2017-09-21 23:20:05 +02:00
g012 a069b21c91 First VCS sample.
Fixed branch target offset.
Fixed empty location removal.
2017-09-21 22:55:09 +02:00
g012 1d372c30b9 Fixed unbounded locations usage computation. 2017-09-21 19:54:03 +02:00
g012 bf8b162c90 Reformatted stats printing, and moved it to __tostring. 2017-09-21 16:02:26 +02:00
g012 48996741ef Set constraint analysis of sections to use rorg address instead of org. 2017-09-21 15:04:44 +02:00
g012 dc2d7feff7 Changed _ to . in symbol file for local labels.
Removed DASM style comments in symbol file.
2017-09-21 00:56:36 +02:00
g012 9eebcb520a Added rorg option to locations for relocatable origin. 2017-09-21 00:00:57 +02:00
g012 17f7465d06 Fixed handling of multiple semicolon (;;*) in lexer. 2017-09-20 17:05:01 +02:00
g012 dbe11c442f Fixed constraint testing in link phase.
Minimized usage of align offsets during link.
2017-09-20 16:14:48 +02:00
g012 59a2a614ba Optimized a bit linking strategy. 2017-09-20 11:09:51 +02:00
g012 86d46f101e Added local label references resolver. 2017-09-20 10:27:38 +02:00
g012 3e5d4ee9ff Fixed bug when za* addressing is not evaluated for size. 2017-09-20 00:35:46 +02:00
g012 cc1c6f74ec Fixed initial offset of rom.
Fixed relative branch offset.
2017-09-19 22:49:24 +02:00
g012 8ba7ab6bf6 Generates a binary for the first time. 2017-09-19 15:53:10 +02:00
g012 d3cee527f7 Fixed various bugs in 6502.lua until genbin. 2017-09-19 13:55:01 +02:00
g012 469296f144 Added all remaining opcodes. 2017-09-19 00:53:37 +02:00
g012 3974d3bf5d Added relative opcodes. 2017-09-18 16:01:52 +02:00
g012 663040a62c Added local labels. 2017-09-18 12:29:14 +02:00
g012 a602795911 Added zpg and abs opcodes. 2017-09-17 22:56:39 +02:00
g012 7588e8f51e Added asbin call in genbin. 2017-09-17 00:42:30 +02:00
g012 6e7b9fa890 Added functions for immediate and implied opcodes. 2017-09-16 23:43:21 +02:00
g012 e98f60b429 Added more options for byte and word. 2017-09-16 16:48:28 +02:00
g012 cb81b5fe92 Added charset function, and more options to byte arguments. 2017-09-16 11:10:51 +02:00
g012 c98b23c0c3 Added vim indentation file, added all opcodes into vim syntax file. 2017-09-16 00:11:22 +02:00
g012 a00c9507e8 Added ! keyword to inverse encapsulation and pragma to enable/disable encapsulation of first opcode arg. 2017-09-15 12:56:01 +02:00
g012 8c71fe11a8 Encapsulated first argument of opcodes into a function for late evaluation after symbol resolving. 2017-09-15 10:23:19 +02:00
g012 e9edd228ca Added second argument to absolute addressing, such as : late eval[, early eval][,x|y] etc. 2017-09-14 00:55:43 +02:00
g012 a40ab23939 Added short lambda function syntax \args(expr). 2017-09-11 22:52:16 +02:00
g012 ec93899042 Added shortcut @@name for section "name". 2017-09-10 01:25:51 +02:00
g012 0e9d298606 Added vim syntax file for l65. 2017-09-10 00:11:21 +02:00
g012 80085a969e Added samepage/crosspage into lexer. 2017-09-09 16:49:10 +02:00
g012 d991d818c1 Started binary generation function. 2017-09-09 02:01:16 +02:00
g012 608f0b5583 Finished untested link function. 2017-09-08 13:25:15 +02:00
g012 c054cadd1e Started 6502 code. 2017-09-06 00:45:51 +02:00
g012 01a1e5e514 Set pragma syntax. 2017-09-05 19:46:57 +02:00