Thomas Harte
|
3b84299a05
|
Edge closer to PCCompatible doing _something_.
|
2023-11-15 15:58:49 -05:00 |
|
Thomas Harte
|
a22ac2f88b
|
Move towards privacy.
|
2023-11-14 11:39:44 -05:00 |
|
Thomas Harte
|
2533fd2da9
|
Fix segment comparisons.
|
2023-11-14 11:14:28 -05:00 |
|
Thomas Harte
|
ac826f90c3
|
Formalise a separate manager of segments.
|
2023-11-14 10:56:00 -05:00 |
|
Thomas Harte
|
08d9cc3bd3
|
Restore permitted IDIV miss.
|
2023-11-10 23:02:32 -05:00 |
|
Thomas Harte
|
47fc276afc
|
Add note to future self.
|
2023-11-10 23:01:46 -05:00 |
|
Thomas Harte
|
3a782faaf3
|
Ensure shoutouts upon LDS, LES and any far jump/call/int.
|
2023-11-10 22:58:59 -05:00 |
|
Thomas Harte
|
19a61f867f
|
Eliminate final misuse of 'selector'.
|
2023-11-10 22:56:00 -05:00 |
|
Thomas Harte
|
2551e73be1
|
Fully test segment registers.
|
2023-11-10 22:54:10 -05:00 |
|
Thomas Harte
|
e61dc0466f
|
Add callout for tracking segment register changes.
|
2023-11-10 22:22:32 -05:00 |
|
Thomas Harte
|
79b126e6bb
|
Add route for tracking segment register changes.
|
2023-11-10 22:11:52 -05:00 |
|
Thomas Harte
|
e78e5c8101
|
Add remaining acceptable error cases.
|
2023-11-09 12:26:40 -05:00 |
|
Thomas Harte
|
ed3922e458
|
Switch to accepting failures only with a reason.
|
2023-11-09 11:55:36 -05:00 |
|
Thomas Harte
|
9e61d3e8cf
|
Combine AAA and AAS.
|
2023-11-08 22:38:52 -05:00 |
|
Thomas Harte
|
8d2a2bcf4a
|
Unify DAA and DAS.
|
2023-11-08 22:26:48 -05:00 |
|
Thomas Harte
|
f608153c1a
|
Don't bother prepropulating for writes.
|
2023-11-07 14:38:23 -05:00 |
|
Thomas Harte
|
413e7b7de1
|
Switch Memory to using accessors.
|
2023-11-07 14:03:20 -05:00 |
|
Thomas Harte
|
0262875088
|
Claw back to building.
|
2023-11-07 09:58:42 -05:00 |
|
Thomas Harte
|
2af774601f
|
Temporarily disentangle Memory and access internals; start to be overt in PerformImplementation.
|
2023-11-06 16:04:31 -05:00 |
|
Thomas Harte
|
797c9fe129
|
Temporarily avoid use of Writeable.
|
2023-11-05 21:47:52 -05:00 |
|
Thomas Harte
|
009915f4de
|
Start promotion of ReturnType.
|
2023-11-05 21:42:22 -05:00 |
|
Thomas Harte
|
f96c33102a
|
Add documentation.
|
2023-11-04 22:22:50 -04:00 |
|
Thomas Harte
|
5739862dbb
|
Add specific entryway for preauthorised writes.
|
2023-11-03 15:36:30 -04:00 |
|
Thomas Harte
|
83850d7596
|
Commute: Status -> Flags as per usual x86 naming.
|
2023-11-02 16:55:38 -04:00 |
|
Thomas Harte
|
770803b073
|
Be more careful as to authorisation.
|
2023-11-02 15:37:59 -04:00 |
|
Thomas Harte
|
8d0deeb20e
|
Clean up Memory .
|
2023-11-02 14:25:13 -04:00 |
|
Thomas Harte
|
e4fdf09149
|
Fix PUSH SP, far call. Further simplify FlowController.
|
2023-11-01 23:39:52 -04:00 |
|
Thomas Harte
|
acb55aa4e2
|
Subsume repetition of arguments into a single context.
Albeit that it (temporarily?) loses some context used during test validation.
|
2023-11-01 17:03:23 -04:00 |
|
Thomas Harte
|
bc095bb9ce
|
Slim down the flow controller.
|
2023-11-01 14:49:30 -04:00 |
|
Thomas Harte
|
097b328075
|
Split the preauthorised tracks.
|
2023-11-01 14:31:42 -04:00 |
|
Thomas Harte
|
ef83ac855a
|
Fix spelling of Preauthorised, think further on return types.
|
2023-11-01 14:11:10 -04:00 |
|
Thomas Harte
|
78df0d19e4
|
Start experimenting with varying return types.
|
2023-11-01 10:03:31 -04:00 |
|
Thomas Harte
|
9538491ee9
|
Fix pushes and pops.
|
2023-10-31 21:55:30 -04:00 |
|
Thomas Harte
|
8be03be529
|
Add test of ::Write mode.
|
2023-10-31 20:28:37 -04:00 |
|
Thomas Harte
|
1d479ec2d7
|
Ensure that reads can only read, accept that source is sometimes written to. E.g. XCHG.
|
2023-10-31 15:06:19 -04:00 |
|
Thomas Harte
|
02af08ffd2
|
Fix counts.
|
2023-10-30 12:32:44 -04:00 |
|
Thomas Harte
|
444c5b94b9
|
Add summary of accepted failures.
|
2023-10-29 16:55:07 -04:00 |
|
Thomas Harte
|
7a886f938a
|
Propagate access types, even if incorrect.
|
2023-10-29 14:33:39 -04:00 |
|
Thomas Harte
|
6da0add100
|
Permit 1654 failures, the current amount.
|
2023-10-27 16:30:30 -04:00 |
|
Thomas Harte
|
2d70b44303
|
Boil down segment ahead of time.
|
2023-10-27 12:54:42 -04:00 |
|
Thomas Harte
|
11b032fb06
|
Eliminate length extension.
|
2023-10-26 23:19:31 -04:00 |
|
Thomas Harte
|
3b62638b30
|
Remove dead DataPointerResolver and extra-conditional version of source().
|
2023-10-25 14:43:58 -04:00 |
|
Thomas Harte
|
0c09c14baa
|
Incorporate instruction length into offsets.
|
2023-10-25 13:02:43 -04:00 |
|
Thomas Harte
|
6dd5628dd6
|
Provide full pair for string conversion.
|
2023-10-25 11:21:11 -04:00 |
|
Thomas Harte
|
239ce75db6
|
Fix IN and OUT conversion.
|
2023-10-24 22:35:13 -04:00 |
|
Thomas Harte
|
26c2a29b99
|
Fix int3 mapping.
|
2023-10-24 15:09:25 -04:00 |
|
Thomas Harte
|
e36274e5c2
|
Add segment prefix for MOVS, LODS, etc.
|
2023-10-24 15:07:53 -04:00 |
|
Thomas Harte
|
0e027445d4
|
Don't offer repne for reps; print far CALLs and JMPs as h-suffix rather than 0x prefix.
|
2023-10-24 11:01:38 -04:00 |
|
Thomas Harte
|
20d7079006
|
Start adaptation to new test disassembly form.
|
2023-10-23 16:37:27 -04:00 |
|
Thomas Harte
|
49d87c9f27
|
Fix 16-bit accesses that overlap memory's end.
1654 failures remaining.
|
2023-10-23 10:41:58 -04:00 |
|
Thomas Harte
|
82c66e7433
|
Fix far jump with immediate operand.
1655 failures remaining.
|
2023-10-23 10:07:19 -04:00 |
|
Thomas Harte
|
569cf8bf34
|
Focus on remaining files with issues.
|
2023-10-23 10:02:13 -04:00 |
|
Thomas Harte
|
817a30332c
|
Take a swing at LEA r16, r16.
|
2023-10-22 22:15:27 -04:00 |
|
Thomas Harte
|
599c123b36
|
Reenable all tests.
|
2023-10-21 22:55:10 -04:00 |
|
Thomas Harte
|
e3cdf113d1
|
Implement INS, OUTS.
|
2023-10-21 22:52:50 -04:00 |
|
Thomas Harte
|
aade91f043
|
Implement IN, OUT.
|
2023-10-21 22:37:25 -04:00 |
|
Thomas Harte
|
bf6fd8e5e4
|
Shuffle down TODO.
|
2023-10-20 21:57:03 -04:00 |
|
Thomas Harte
|
c2ebbe5ad9
|
Implement STOS with one failure.
|
2023-10-20 21:54:30 -04:00 |
|
Thomas Harte
|
4efc181f07
|
Fix memory handler, STOS.
|
2023-10-20 21:49:34 -04:00 |
|
Thomas Harte
|
93e90b09a0
|
Implement MOVS, STOS, revealing an issue in the memory handler.
|
2023-10-20 21:46:47 -04:00 |
|
Thomas Harte
|
dab3dcaafb
|
Fix LODS: REP is not REPE.
|
2023-10-20 21:36:50 -04:00 |
|
Thomas Harte
|
8caad8b99d
|
Document slightly.
|
2023-10-20 17:25:27 -04:00 |
|
Thomas Harte
|
bee094eba1
|
Add LODS; somehow manage to fail some of its tests.
|
2023-10-20 17:13:56 -04:00 |
|
Thomas Harte
|
0f5e0e17a4
|
Fix address manipulation.
|
2023-10-20 17:03:23 -04:00 |
|
Thomas Harte
|
49ac2d8e0c
|
Improve error reporting, remove some dead TODOs.
|
2023-10-20 17:00:32 -04:00 |
|
Thomas Harte
|
a71db54212
|
Simplify flow slightly; uncover issues in CMPSW.
|
2023-10-20 16:52:47 -04:00 |
|
Thomas Harte
|
efb854ddfa
|
Fix repetition. Sufficient for tests.
|
2023-10-19 14:40:03 -04:00 |
|
Thomas Harte
|
f715cd89a9
|
Attempt CMPS, changing storage of direction; add flags check.
|
2023-10-19 14:07:59 -04:00 |
|
Thomas Harte
|
617be7cba7
|
Implement PUSHes and POPs.
|
2023-10-18 15:59:39 -04:00 |
|
Thomas Harte
|
02cea3047e
|
Implement LOOP, LOOPE, LOOPNE.
|
2023-10-18 14:04:21 -04:00 |
|
Thomas Harte
|
a8c7871b0c
|
Implement JCXZ.
|
2023-10-18 13:20:28 -04:00 |
|
Thomas Harte
|
90f49a6e73
|
Implement JMP.
|
2023-10-18 13:15:00 -04:00 |
|
Thomas Harte
|
440f3bdb10
|
Further improve error reporting.
|
2023-10-16 15:47:06 -04:00 |
|
Thomas Harte
|
89743f0ba0
|
Implement RET, IRET.
|
2023-10-16 15:40:24 -04:00 |
|
Thomas Harte
|
f1779e6067
|
Implement SHR.
|
2023-10-16 12:34:11 -04:00 |
|
Thomas Harte
|
e38fe7dffc
|
Implement SAL, SAR.
|
2023-10-14 21:42:33 -04:00 |
|
Thomas Harte
|
f1cba4eb78
|
Implement remaining rolls.
|
2023-10-13 22:03:54 -04:00 |
|
Thomas Harte
|
f45d8bcbdb
|
Implement RCR.
|
2023-10-13 21:44:48 -04:00 |
|
Thomas Harte
|
1a0f848b21
|
Implement RCL.
|
2023-10-13 14:44:22 -04:00 |
|
Thomas Harte
|
bf832768e6
|
Implement XLAT.
|
2023-10-12 21:12:03 -04:00 |
|
Thomas Harte
|
d35377c776
|
Implement SALC, SETMO, SETMOC.
|
2023-10-12 15:52:05 -04:00 |
|
Thomas Harte
|
97d3a9fa78
|
Implement MOV.
|
2023-10-12 15:34:46 -04:00 |
|
Thomas Harte
|
da029ee344
|
Implement LEA.
|
2023-10-12 14:31:25 -04:00 |
|
Thomas Harte
|
cf846f501a
|
Implement LDS, LES.
|
2023-10-12 14:24:28 -04:00 |
|
Thomas Harte
|
e948a67814
|
Implement SAHF, LAHF.
|
2023-10-12 13:54:51 -04:00 |
|
Thomas Harte
|
56e639e09a
|
Add INT (including INT3), INTO.
|
2023-10-11 16:01:09 -04:00 |
|
Thomas Harte
|
7159366360
|
Collapse all flags accesses behind setters and getters.
|
2023-10-11 12:35:17 -04:00 |
|
Thomas Harte
|
fbd647080d
|
Start factoring out useful ALU stuff.
|
2023-10-11 11:06:20 -04:00 |
|
Thomas Harte
|
4a803e2d43
|
Reduce ADD/ADC/SUB/SBB repetition.
|
2023-10-10 22:43:06 -04:00 |
|
Thomas Harte
|
a83b43a1ae
|
Implement XCHG.
|
2023-10-10 22:34:42 -04:00 |
|
Thomas Harte
|
5125907048
|
Implement TEST.
|
2023-10-10 22:28:10 -04:00 |
|
Thomas Harte
|
08867f4970
|
Implement CMP.
|
2023-10-10 22:15:33 -04:00 |
|
Thomas Harte
|
d0a9b5cb81
|
Implement NEG, NOT.
|
2023-10-10 22:09:10 -04:00 |
|
Thomas Harte
|
0ecc319ee6
|
Add OR, XOR.
|
2023-10-10 17:12:06 -04:00 |
|
Thomas Harte
|
de95026076
|
Implement Jcc.
|
2023-10-10 16:27:06 -04:00 |
|
Thomas Harte
|
ec982444f7
|
Add getters to obscure internal flag storage.
|
2023-10-10 16:14:20 -04:00 |
|
Thomas Harte
|
f083eab011
|
Implement INC, DEC.
|
2023-10-10 15:57:33 -04:00 |
|
Thomas Harte
|
dbf7d07609
|
Add DIV, faulty IDIV.
|
2023-10-10 10:34:18 -04:00 |
|
Thomas Harte
|
b420d4cbd7
|
Collect TODOs.
|
2023-10-09 22:22:06 -04:00 |
|
Thomas Harte
|
0412890923
|
Add STC, STD, STI.
|
2023-10-09 22:16:37 -04:00 |
|
Thomas Harte
|
5e830781cc
|
Implement IMUL, improve test memory footprint.
|
2023-10-09 22:12:15 -04:00 |
|
Thomas Harte
|
ff6573dd02
|
Implement MUL.
|
2023-10-09 21:50:17 -04:00 |
|
Thomas Harte
|
e46e42d896
|
This is the same test either way around.
|
2023-10-09 16:47:02 -04:00 |
|
Thomas Harte
|
f74ca8aee1
|
Fix SBB.
|
2023-10-09 16:32:01 -04:00 |
|
Thomas Harte
|
58aa1da649
|
Fix SUB. SBB still failing.
|
2023-10-09 16:30:47 -04:00 |
|
Thomas Harte
|
67d364cc89
|
Add faulty SUB, SBB.
|
2023-10-09 16:21:04 -04:00 |
|
Thomas Harte
|
d24fa381c7
|
'Implement' ESC, NOP.
|
2023-10-09 15:03:01 -04:00 |
|
Thomas Harte
|
08aed3bac5
|
Implement CWD.
|
2023-10-09 14:54:14 -04:00 |
|
Thomas Harte
|
6bbd896c34
|
Add DAS with a manageable number of failures.
|
2023-10-09 14:47:39 -04:00 |
|
Thomas Harte
|
1b9e6e8c8e
|
Add DAA, which doesn't yet pass all tests.
|
2023-10-09 14:27:02 -04:00 |
|
Thomas Harte
|
59521f9d38
|
Implement CBW, CLC, CLD, CLI, CMC.
|
2023-10-09 11:59:38 -04:00 |
|
Thomas Harte
|
5a77f0c93c
|
Implement CALL .
|
2023-10-09 11:46:59 -04:00 |
|
Thomas Harte
|
f618ca6046
|
Implement, test AND.
|
2023-10-08 22:18:40 -04:00 |
|
Thomas Harte
|
0a0d53103d
|
Enable tests for all implemented operations.
Only the various AAM 00hs are failing, which I've yet to understand.
|
2023-10-08 22:12:22 -04:00 |
|
Thomas Harte
|
e3b18708c7
|
Handle segment-boundary word accesses.
With all ADDs and ADCs enabled, no remaining failures.
|
2023-10-08 22:11:05 -04:00 |
|
Thomas Harte
|
bd0b62232f
|
Consider that displacements may always be signed.
Down to 1 failure.
|
2023-10-08 21:41:36 -04:00 |
|
Thomas Harte
|
dbfaef632a
|
Fix DataPointer reference.
Down from 4521 to 1248 failures within 00.json.gz
|
2023-10-08 15:59:30 -04:00 |
|
Thomas Harte
|
6808f2c778
|
Attempt to catch illegal accesses ahead of time.
|
2023-10-08 15:44:11 -04:00 |
|
Thomas Harte
|
a4b1d2b00a
|
Float out data resolution.
|
2023-10-08 13:34:28 -04:00 |
|
Thomas Harte
|
a5523c9feb
|
Fail at scale.
108,645 current failures (!)
|
2023-10-07 14:37:12 -04:00 |
|
Thomas Harte
|
6e465b9159
|
Merge branch 'master' into 8088Execution
|
2023-10-07 14:31:09 -04:00 |
|
Thomas Harte
|
6d1dd218d4
|
Import Neskell binaries.
|
2023-10-07 14:29:53 -04:00 |
|
Thomas Harte
|
6abc3b6cd7
|
Collate all failures for printing at the end.
|
2023-10-07 14:28:44 -04:00 |
|
Thomas Harte
|
7d093d71b3
|
Avoid allocating and reallocating per test.
|
2023-10-07 14:23:47 -04:00 |
|
Thomas Harte
|
ade5828035
|
Add a clear , in the hope of not recreating Memory every test.
It's a big allocation, and therefore likely the bottleneck on test running.
|
2023-10-07 13:39:23 -04:00 |
|
Thomas Harte
|
cf4603cb33
|
Attempt to check defined flags only.
|
2023-10-06 16:32:35 -04:00 |
|
Thomas Harte
|
b6d000ac5e
|
Add enough wiring to consolidate failure on lazy handling of flags.
|
2023-10-06 13:22:35 -04:00 |
|
Thomas Harte
|
82f0cd790f
|
Find first failing execution, note reason.
|
2023-10-06 11:43:18 -04:00 |
|
Thomas Harte
|
2d17d9d316
|
Execute some tests at some facile level.
|
2023-10-06 11:31:45 -04:00 |
|
Thomas Harte
|
28c7d27cac
|
Establish some proportion of state, ready to execute _something_.
|
2023-10-06 11:07:33 -04:00 |
|
Thomas Harte
|
6d392852d2
|
Hack on through to something that builds.
|
2023-10-05 22:27:52 -04:00 |
|
Thomas Harte
|
f411a961a3
|
Create a central location for avoiding segment conditionality.
|
2023-10-05 17:12:38 -04:00 |
|
Thomas Harte
|
eb100e3b29
|
Start reforming; data size plus register aren't independent in finding a source.
|
2023-10-05 16:49:02 -04:00 |
|
Thomas Harte
|
15acb1fc7c
|
Add ADC and ADD.
|
2023-10-05 15:49:07 -04:00 |
|
Thomas Harte
|
059f300500
|
Start fleshing out x86 performance.
|
2023-10-05 14:37:58 -04:00 |
|
Thomas Harte
|
f6fd49d950
|
Relocate all text wrangling; this isn't really test-specific.
|
2023-10-04 22:35:52 -04:00 |
|
Thomas Harte
|
40af162214
|
Be overt about what's here to aid with printing only.
|
2023-10-04 22:15:13 -04:00 |
|
Thomas Harte
|
92c46faf84
|
Add SETMO and SETMOC.
|
2023-09-29 22:28:23 -04:00 |
|
Thomas Harte
|
ff9237be9f
|
Decode SALC.
|
2023-09-29 22:06:42 -04:00 |
|
Thomas Harte
|
6cbb434482
|
Deal with all dangling aliases.
Leaves just five undocumented instructions.
|
2023-09-29 15:36:34 -04:00 |
|
Thomas Harte
|
9fe6e354a6
|
Determine what I'm up against re: outstanding unofficial opcodes.
|
2023-09-29 15:29:35 -04:00 |
|
Thomas Harte
|
103f42f0b0
|
Introduce FF.7 alias.
|
2023-09-29 15:26:25 -04:00 |
|
Thomas Harte
|
f2732962d0
|
Add 6x 8086 aliases.
|
2023-09-29 15:22:05 -04:00 |
|
Thomas Harte
|
ef5ee8cf94
|
Include missing context on JMP/CALL far.
Zero failing tests amongst official opcodes.
|
2023-09-29 14:57:08 -04:00 |
|
Thomas Harte
|
1a6c8a2aed
|
Add outputters for IN and OUT.
2 failures remaining.
|
2023-09-29 09:39:51 -04:00 |
|
Thomas Harte
|
b76899f2bc
|
Undo broken extension-word DS assumption.
8 failures.
|
2023-09-28 22:17:14 -04:00 |
|
Thomas Harte
|
a24e17c320
|
Simplify debugging hook; remove outdated notes.
|
2023-09-28 22:04:59 -04:00 |
|
Thomas Harte
|
245919e67d
|
Resolve REPNE and whitespace issues.
|
2023-09-28 22:01:12 -04:00 |
|
Thomas Harte
|
6936cf1819
|
Handle special case of INT3.
10 failures.
|
2023-09-28 15:34:33 -04:00 |
|
Thomas Harte
|
ae4a588de3
|
Adjust semantics to avoid culling end of relevant RETs.
|
2023-09-28 15:24:15 -04:00 |
|