1
0
mirror of https://github.com/zellyn/go6502.git synced 2024-11-15 09:05:21 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Zellyn Hunter
3f60f49bd3 Move opcodes/ into asm dir that uses it 2018-04-10 22:22:16 -04:00
Zellyn Hunter
d880332268 asm: some work on as65 variant 2017-01-26 20:50:44 -06:00
Zellyn Hunter
9c0bcea95d Use int64 for intermediate results internally 2016-05-10 05:57:17 -04:00
Zellyn Hunter
1eac20d2ae Add doc.go to keep go build ./... happy 2016-05-05 21:45:24 -04:00
Zellyn Hunter
7a9a0cb41f First (wrong) pass at as65
- Renamed "oldschool" to "common" - plan to base as65 and acme on it
  too.
- Renamed opcode.Flavor to opcode.Set - too many uses of the word
  "flavor".
- First implementation of as65: simply based it on common core. No
  tests yet demonstrate that that is incorrect :-)
2016-05-05 21:38:58 -04:00
Zellyn Hunter
07a8d64377 Tidying, getting ready to add Sweet16 opcodes
- Getting tests to pass
- Adding flavors of opcodes and passing them around
- Rearranging a2as flags a little
2016-04-22 06:40:00 -04:00
Zellyn Hunter
218c3b9a91 update cpu.go to match disasm 2016-04-15 11:20:56 -04:00
Zellyn Hunter
d08ba2ec70 Cleaned up runtest.sh, handling of orgs, equates 2014-09-15 17:40:49 -07:00
Zellyn Hunter
495a2473e2 Removed Mode field from instructions. 2014-09-09 17:39:02 -07:00
Zellyn Hunter
498b6c5a7d Only call compute on second pass. 2014-09-09 17:32:15 -07:00
Zellyn Hunter
072a4521de Removed WidthKnown: ParseInstr sets width 2014-09-08 20:59:14 -07:00
Zellyn Hunter
ddc6d85b46 Working on finalizing width on pass1 2014-09-04 17:48:11 -07:00
Zellyn Hunter
c07a3732a6 Moving more stuff to first pass. 2014-08-29 16:34:52 -07:00
Zellyn Hunter
cab917364e Add plan to asm.org 2014-08-22 16:37:01 -07:00
Zellyn Hunter
c7308bf05c Separated context out of Flavor 2014-08-22 08:24:30 -07:00
Zellyn Hunter
457446772a Removing unused junk, strengthen instruciton Var type. 2014-08-19 17:43:23 -07:00
Zellyn Hunter
54fe4809c1 Reorganize label fixing. 2014-08-19 08:22:34 -07:00
Zellyn Hunter
88ef7feee5 More simplifying: address is always known 2014-08-08 20:49:42 -07:00
Zellyn Hunter
8e28615be3 Added name to Flavor interface 2014-08-08 16:18:15 -07:00
Zellyn Hunter
17d0dc1d69 Simplified: it's now a two-pass assembler. More to come. 2014-08-08 15:55:33 -07:00
Zellyn Hunter
3da6efc546 added sweet16 info links 2014-08-05 22:18:17 -07:00
Zellyn Hunter
d504143800 working on disasm 2014-08-05 22:18:03 -07:00
Zellyn Hunter
a9f4d9b8ff Got intbasic.asm compiling 2014-07-31 16:33:10 -07:00
Zellyn Hunter
8f04a118ab Implemented macro-local labels for Merlin 2014-07-23 08:13:53 -07:00
Zellyn Hunter
6a51d73b66 Register macro name for Flavors that need it. 2014-06-19 16:46:48 -07:00
Zellyn Hunter
65c391cc46 merlin: simple tests passing, only macros remain 2014-06-19 08:24:54 -07:00
Zellyn Hunter
a31ee8b1d1 most merlin tests passing 2014-06-18 21:57:17 -07:00
Zellyn Hunter
006f18e51d Pulling out parsing of macro calls. 2014-06-16 08:24:42 -07:00
Zellyn Hunter
1754dcf7a3 wip: merlin assembler 2014-06-12 17:39:48 -07:00
Zellyn Hunter
2a9c4df2af added misc-f699.asm to runtest.sh 2014-06-12 17:39:24 -07:00
Zellyn Hunter
122a3735ac added shell script to generate most ROMS 2014-06-05 08:10:50 -07:00
Zellyn Hunter
48b5b11754 split redbook into a and b 2014-06-04 08:35:31 -07:00
Zellyn Hunter
255fa86640 monitor.asm assembles now 2014-06-03 08:46:49 -07:00
Zellyn Hunter
0a28127420 Can now assemble autostart ROM 2014-05-31 12:55:36 -07:00
Zellyn Hunter
9a7f1c2cca working on redbook-ish assmebler 2014-05-23 16:53:46 -07:00
Zellyn Hunter
458911e505 fix test 2014-05-21 21:51:55 -07:00
Zellyn Hunter
bcb02d5c41 added a2as command-line assembler 2014-05-21 21:44:23 -07:00
Zellyn Hunter
9992fd049a working on assembler binary 2014-05-20 08:23:20 -07:00
Zellyn Hunter
0f344d37fb clean up some error handling 2014-05-15 17:11:05 -07:00
Zellyn Hunter
9edc15ad39 removed applesoft from assemble_test.go 2014-05-15 17:10:44 -07:00
Zellyn Hunter
f2bf37843b working on assembling applesoft 2014-05-15 16:56:39 -07:00
Zellyn Hunter
47de551af3 scma: first pass of macros complete 2014-05-08 16:44:08 -07:00
Zellyn Hunter
fd1253fc4f wip: macros and associated fallout 2014-05-07 17:44:08 -07:00
Zellyn Hunter
a241c48657 scma: assembles applesoft without erroring 2014-05-04 20:51:58 -07:00
Zellyn Hunter
42bde82f34 Working on SCMA-compatible assembler. 2014-05-01 08:23:26 -07:00
Zellyn Hunter
986acf6917 Added disassembly stuff 2013-04-21 16:49:28 -07:00
Zellyn Hunter
77c24879e3 Use specific types for enums. 2013-02-28 16:33:39 -08:00
Zellyn Hunter
f1299f6f7f Move opcode metadata to separate package. 2013-02-28 09:01:31 -08:00
Zellyn Hunter
f81871e892 Break out asm so it doesn't depend on cpu 2013-02-27 22:53:58 -08:00
Zellyn Hunter
a8a8074b63 disasm: correct switched X and Y indirect modes, fix spacing 2013-02-27 22:43:37 -08:00