Commit Graph

25 Commits

Author SHA1 Message Date
Kelvin Sherlock
d90f0a6840 import support. 2019-12-14 18:39:09 -05:00
Kelvin Sherlock
bb43a4db93 misc fixes. 2019-12-14 16:17:40 -05:00
Kelvin Sherlock
a793b4a0ea defer gs.out default name until later. 2019-12-14 16:17:16 -05:00
Kelvin Sherlock
f3e04aa7d4 add PFX command. 2019-12-14 16:16:48 -05:00
Kelvin Sherlock
b6e397b959 add SEG command (does nothing, yet) 2019-12-14 16:16:05 -05:00
Kelvin Sherlock
d4ba40ca34 fix segment numbers 2019-12-14 16:14:51 -05:00
Kelvin Sherlock
e7e77f4b5c defer operand parsing to eval. also adds symbol table lookup. 2019-12-14 12:43:12 -05:00
Kelvin Sherlock
3c6be110b1 gcc fixes. 2019-12-13 23:54:40 -05:00
Kelvin Sherlock
6024ff6436 kbd - evaluate input. 2019-12-13 23:52:02 -05:00
Kelvin Sherlock
903a6be697 support (?) for multiple segments (linker.xl)
add =, EQU, GEQ, POS, LEN, KBD support.
2019-12-13 23:49:10 -05:00
Kelvin Sherlock
671c81a754 make it compile. 2019-12-13 00:01:28 -05:00
Kelvin Sherlock
6d57976091 script support (wip) 2019-12-12 23:50:43 -05:00
Kelvin Sherlock
515594346f sort relocation records
fix value for external labels.
2019-12-11 00:27:04 -05:00
Kelvin Sherlock
3aab0a4735 fix absolute shifting logic. 2019-12-10 23:00:59 -05:00
Kelvin Sherlock
bef129bd8c typo 2019-12-10 22:46:04 -05:00
Kelvin Sherlock
1ac35ec473 workaround missing charconv. also: print ! for missing symbols, ? for unused symbols. 2019-12-10 22:43:11 -05:00
Kelvin Sherlock
6fb0bf8532 try to work around old std libraries. 2019-12-10 22:11:29 -05:00
Kelvin Sherlock
debb2aebe9 add support for -D defines
fix segfault (switch id to be 0-based)
handle absolute symbols
2019-12-10 21:39:51 -05:00
ksherlock
0d6d60c6c7
Update link.cpp 2019-12-10 13:27:53 -05:00
ksherlock
6e0bb5345d
missing header 2019-12-10 13:24:56 -05:00
Kelvin Sherlock
12bae449ba simple, 1-file link works. 2019-12-09 22:15:55 -05:00
Kelvin Sherlock
f8f698d3d6 misc fixes. 2019-12-09 21:58:01 -05:00
Kelvin Sherlock
7048c59813 it compiles... 2019-12-09 19:45:45 -05:00
Kelvin Sherlock
a4dfcec1f1 WIP 2019-12-09 13:02:15 -05:00
Kelvin Sherlock
5159061ff0 initial WIP 2019-12-08 13:55:33 -05:00