eiowlta
|
5bc6be0a70
|
single byte operands for bit functions, register pointer offsets
|
2023-07-21 18:00:07 +03:00 |
|
eiowlta
|
e734528c26
|
allow dst to be used to increment by 2, 4 or 8
|
2023-07-20 16:51:37 +03:00 |
|
hyenasky
|
6348e233d0
|
fix the semantics of the HALT instruction
makes it useful for saving host cpu usage again
|
2023-06-06 18:06:55 -06:00 |
|
hyenasky
|
8c4967cb13
|
fix several edge case interactions between page faults and instruction execution
|
2023-03-14 08:24:49 -06:00 |
|
jn
|
c739f8ecb3
|
Refactor physical memory address resolution code
The physical memory layout is the same whether we use the MMU or not, so
let's implement it only once.
|
2023-02-01 23:51:15 +01:00 |
|
jn
|
4758c45171
|
Fix skipping of CMP instructions
|
2023-01-27 17:37:10 +01:00 |
|
jn
|
6ddf60fba6
|
Handle division by zero instead of crashing
|
2023-01-27 11:33:26 +01:00 |
|
jn
|
1d9de64e5f
|
Print IP and SP in debug mode
|
2023-01-27 11:33:26 +01:00 |
|
jn
|
bf38917ee0
|
Fix number of operands for OP_FLP in instruction info table
FLP takes a source operand.
|
2022-12-31 12:17:29 +01:00 |
|
Ry
|
3246859ff2
|
Revert previous commit
|
2022-12-25 23:38:26 -08:00 |
|
Ry
|
acbfa82a18
|
If halt ed, report that the entire tick was completed
|
2022-12-25 23:24:03 -08:00 |
|
Ry
|
3d1dff8495
|
BRK exceptions should resume *after* the BRK instruction
|
2022-10-27 19:03:34 -07:00 |
|
Ry
|
3608796e88
|
Fix a few formatting things
|
2022-10-26 18:03:00 -07:00 |
|
hyenasky
|
072cb452e1
|
make writes to readonly pages cause a page fault correctly
|
2022-10-26 18:03:00 -07:00 |
|
hyenasky
|
7d383cff3c
|
add int instruction, make cross-page accesses work
|
2022-10-26 18:03:00 -07:00 |
|
Ry
|
b06f6de79c
|
Implement a somewhat hacky MMU
|
2022-10-26 18:03:00 -07:00 |
|
Ry
|
8f0c4e6c51
|
Add docs, add exception handling, rearrange some instrs
|
2022-10-26 18:03:00 -07:00 |
|
Ry
|
53cbc0d96c
|
Implement overlays
Co-authored-by: Lua MacDougall <lua@foxgirl.dev>
|
2022-10-23 13:16:40 -07:00 |
|
Ry
|
5804084401
|
Initial commit
|
2022-10-22 18:00:51 -07:00 |
|