Commit graph

193 commits

Author SHA1 Message Date
9258aa4f4d Clean up application file structure 2019-11-08 19:28:59 +00:00
4f5817c032 Fix topBit always returning False 2019-11-08 18:46:07 +00:00
112a49a7b7 Use OddWords library 2019-11-08 18:33:08 +00:00
63a32ff01a Prepare reimplementing Mima.Word 2019-11-08 17:55:42 +00:00
e029a5f7e3 Remove package version restrictions
This is what the stack resolver is for, if I understand correctly. See
also the version number description in the readme at
https://github.com/commercialhaskell/lts-haskell
2019-11-08 17:55:00 +00:00
63350d5dd9 Load and save specification file format 2019-11-07 22:18:32 +00:00
890b35eadd Modify color scheme 2019-11-07 20:55:53 +00:00
a0caa3b59c Add syntax highlighting
This commit also cleans up the printing code, which is now longer but
easier to work with.
2019-11-07 20:23:31 +00:00
f3a3432c9c Clean up string formatting 2019-11-07 20:23:19 +00:00
510ecaa51d Clean up unused files 2019-11-07 18:40:05 +00:00
af70c1a02c Print memory dump again 2019-11-07 16:46:21 +00:00
ef06f7b309 Reimplement all opcodes 2019-11-07 13:37:26 +00:00
dd7c9d44a6 Add all opcodes to the instruction representation 2019-11-07 10:49:51 +00:00
75b06c3a9f Rename opcode-related things 2019-11-07 10:45:17 +00:00
2d76ff4f93 Rename "short" to "small" and "long" to "large" 2019-11-07 10:21:30 +00:00
6e0678d9b4 Make README more readable 2019-11-07 09:59:07 +00:00
3eb9430208 Change low-level data types
This commit reorganizes and restructures the low level data types,
like the MimaWord, in preparation for implementing the new MiMa
specification.
2019-11-07 09:48:29 +00:00
a454890dac Clarify opcodes and fix table 2019-11-07 07:19:39 +00:00
6f6f32b5cf Clear up some ambiguities 2019-11-06 22:53:21 +00:00
665413f420 Add MiMa specification 2019-11-06 22:32:29 +00:00
0c780cfece Swap STIV and LDIV
Now the opcodes match the ones at
https://github.com/mkiesinger/mimaFPGA#op-codes
2019-11-06 20:56:08 +00:00
d9d8f4e0b9 Fix memory dump legend 2019-11-06 20:20:30 +00:00
a3f2c05875 Use strict maps where possible 2019-11-06 19:51:20 +00:00
eb027f1c19 Reword parts of the help 2019-11-06 18:45:16 +00:00
ccf08f7a18 Update README regarding mima-run 2019-11-06 18:39:01 +00:00
f07b825313 Improve memory dump output 2019-11-06 18:24:33 +00:00
1c895add5a Run MiMa for a specified amount of steps
Also, print IP and Acc at the time of the dump
2019-11-06 17:37:17 +00:00
082a205a7e Implement most of mima-run CLI 2019-11-06 17:20:28 +00:00
a1f532172a Ensure that MimaMemory is always sparse 2019-11-06 16:43:57 +00:00
5fdbf2fbd2 Improve formatting of various elements
Couldn't think of a better commit message
2019-11-06 15:59:08 +00:00
8f9b082eb4 Parse command-line parameters 2019-11-06 15:02:30 +00:00
04036bb047 Add LDIV, STIV instructions 2019-11-06 14:17:32 +00:00
9532d0487b Run a MiMa until it halts 2019-11-06 14:00:10 +00:00
ac5fbf3942 Fix byte order when loading memory maps 2019-11-06 13:59:41 +00:00
b6420a34ca Load and save memory maps 2019-11-06 13:35:15 +00:00
a355095ea7 Hide more implementation details 2019-11-06 11:03:18 +00:00
d0f3985ff1 Load memory from list of words 2019-11-06 10:02:23 +00:00
2843cfd462 Execute a MiMa state 2019-11-06 09:32:49 +00:00
f2ddf2e109 Use explicit module exports 2019-11-05 21:50:29 +00:00
0f03dc20b7 Clean up 2019-11-05 21:15:48 +00:00
c29f41db06 Add machine words and instructions 2019-11-05 21:15:27 +00:00
3c53c65313 Add information to README 2019-11-05 16:39:07 +00:00
492462ea94 Create project 2019-11-04 16:38:42 +00:00