GreaseMonkey
9df44e60b5
unittester: Make the log more usable
2024-01-09 13:08:25 +13:00
GreaseMonkey
276e43428e
Allow one to enable/disable unit tester exit
...
Memo to self: Hardware renderers often exit in a silent segfault. Look into this at some point.
2024-01-08 13:48:33 +13:00
GreaseMonkey
5a2e3611d9
unittester: Apply clang-format
2024-01-08 13:01:55 +13:00
GreaseMonkey
4648092b12
unittester: Fix that one bug I wasn't going to fix
...
I might as well not be a hypocrite here.
2024-01-08 12:59:02 +13:00
GreaseMonkey
e5f467918c
unittester: Cleanups and specification v1.0.0 finalisation
2024-01-08 12:54:31 +13:00
GreaseMonkey
30aacb2a1a
unittester: Implement 0x03 "Verify Screen Snapshot Rectangle"
...
Basic quick tests show that this is probably consistent with command 0x02.
2024-01-08 12:07:14 +13:00
GreaseMonkey
f35dd20974
unittester: Reduce spam
2024-01-08 10:45:13 +13:00
GreaseMonkey
678874cd42
unittester: Implement 0x02 "Read Screen Snapshot Rectangle"
...
This will need some extra testing but it does appear to be at least somewhat functional.
2024-01-07 22:24:32 +13:00
GreaseMonkey
2e020584cf
unittester: Finish implementing 0x01 "Capture Screen Snapshot"
...
And it's looking like the overscan bounds and offset calculation will need to be correct.
Otherwise, things will break.
Let's see what happens when I get command 0x02 working...
2024-01-07 21:32:59 +13:00
GreaseMonkey
d44c439bd8
unittester: Implement most of 0x01 "Capture Screen Snapshot"
...
The thing that isn't implemented is the actual snapshot capture.
But the dimensions should be correct.
I am feeling a bit iffy about the overscan, though.
2024-01-07 21:27:13 +13:00
GreaseMonkey
59e51939ad
unittester: Fix erroneous debug message
2024-01-07 20:09:06 +13:00
GreaseMonkey
ae3e40706f
unittester: Remove the worst of the log spam
2024-01-07 18:19:27 +13:00
GreaseMonkey
7dbbb0d12b
Fix a comment
2024-01-07 18:19:17 +13:00
GreaseMonkey
ab7df4409b
unittester: Implement 0x04 "Exit"
2024-01-07 17:42:23 +13:00
GreaseMonkey
d1133a7c7f
unittester: Implement status register and 0x00 "No-op" command
2024-01-07 17:20:19 +13:00
GreaseMonkey
04eb9ffc3e
unittester: Add WIP specification document
2024-01-07 17:07:24 +13:00
GreaseMonkey
5279cd5d8d
unittester: Add dummy main ports
...
Reads and writes mostly do nothing but log, although the status returns a dummy value of 0x04 (no command in flight, not waiting for anything, and no errors).
2024-01-07 13:31:45 +13:00
GreaseMonkey
130d4094e1
unittester: Implement basic activation + IOBASE-setting protocol
...
Next up is the actual I/O ports!
2024-01-07 13:17:21 +13:00
GreaseMonkey
72b465e181
Add dummy 86Box Unit Tester device
2024-01-07 11:50:22 +13:00