Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CD-Rom code. #1129

Open
wants to merge 228 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
246ed23
Starting fresh.
nicolasnoble Dec 6, 2022
aa236f7
We... shouldn't have this delayed nonsense.
nicolasnoble Dec 6, 2022
ff0c7f8
First pieces of the state machine in place.
nicolasnoble Dec 7, 2022
7ab43b5
Merge branch 'main' into fuckit
nicolasnoble Dec 14, 2022
6abd655
Bit more code here.
nicolasnoble Dec 14, 2022
12daafd
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Dec 14, 2022
ba42c39
Merge remote-tracking branch 'origin/main' into fuckit
nicolasnoble Dec 20, 2022
ed7b668
Advancing in the new CD-Rom code.
nicolasnoble Dec 20, 2022
9d818e6
Adding cdlSetLoc.
nicolasnoble Dec 20, 2022
43159ab
General cleanup.
nicolasnoble Dec 21, 2022
e5f56dc
Adding lid code.
nicolasnoble Dec 21, 2022
f3e746a
More chrono helpers.
nicolasnoble Dec 21, 2022
4c2ef61
ACK 0x18 handled.
nicolasnoble Dec 21, 2022
48298c8
More comments.
nicolasnoble Dec 21, 2022
8627aea
Adding read interrupt again.
nicolasnoble Dec 21, 2022
b117fce
Fixing clang build.
nicolasnoble Dec 22, 2022
16ec008
Figured timings for command 10.
nicolasnoble Dec 22, 2022
2957f83
Adding basic cdrom test.
nicolasnoble Dec 22, 2022
9949041
Forgot new file.
nicolasnoble Dec 22, 2022
0a1ef58
Another forgotten file.
nicolasnoble Dec 22, 2022
caaf0cc
Adding delayed init test.
nicolasnoble Dec 22, 2022
732ae86
Enhancing test.
nicolasnoble Dec 22, 2022
b15fced
Further enhancing test.
nicolasnoble Dec 22, 2022
574b2cd
Making the enhanced test pass.
nicolasnoble Dec 22, 2022
2026966
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Dec 22, 2022
7acd39b
Forgot to commit this file...
nicolasnoble Dec 22, 2022
7d984c2
Swapping Init <--> Reset.
nicolasnoble Dec 22, 2022
bfce6d1
Slight fix on ack writes.
nicolasnoble Dec 22, 2022
f303bd6
Adding basic setloc test.
nicolasnoble Dec 22, 2022
e1e7197
Making test pass.
nicolasnoble Dec 23, 2022
065085f
Adding error test, and some tweaks.
nicolasnoble Dec 23, 2022
0b160ea
One more test.
nicolasnoble Dec 23, 2022
48a4bf2
Making test pass.
nicolasnoble Dec 23, 2022
d3824b1
Adjusting timings a bit.
nicolasnoble Dec 23, 2022
22b23ca
Splitting this up.
nicolasnoble Dec 23, 2022
6b2e92d
Refactoring response.
nicolasnoble Dec 23, 2022
3665836
Adding a README for the cdrom tests.
nicolasnoble Dec 23, 2022
e188c08
Adding setloc multi test, and helper.
nicolasnoble Dec 23, 2022
07c9be4
Adding cdrom test in pcsxrunner.
nicolasnoble Dec 23, 2022
f6c6ccb
Trying to increase hardware timing accuracy.
nicolasnoble Dec 23, 2022
774d890
Adding more info on readme.
nicolasnoble Dec 23, 2022
46f0d3e
Adding more invalid setloc tests.
nicolasnoble Dec 23, 2022
526e3e7
Adding more invalid setloc tests.
nicolasnoble Dec 23, 2022
ed64768
Adjusting code to make test pass.
nicolasnoble Dec 23, 2022
9c28ac5
Adding machine type blurb.
nicolasnoble Dec 23, 2022
0042190
Merge remote-tracking branch 'origin/isobuilder' into fuckit
nicolasnoble Dec 23, 2022
5f285cd
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Dec 23, 2022
f43d41b
Adding test iso creation script.
nicolasnoble Dec 24, 2022
d2e1bbc
Adding readme section about test iso creation tool.
nicolasnoble Dec 24, 2022
207d78a
Building test iso in the CI.
nicolasnoble Dec 24, 2022
2b0e6e5
Headless unzip.
nicolasnoble Dec 24, 2022
c66a9a1
Fixing MacOS build.
nicolasnoble Dec 24, 2022
759e953
Merge remote-tracking branch 'origin/fixes-and-tweaks' into fuckit
nicolasnoble Dec 24, 2022
9f46a6e
Splitting openbios & tests builds.
nicolasnoble Dec 24, 2022
7885e8e
Adding cdlSeek tests.
nicolasnoble Dec 24, 2022
07e4820
Adjusting timings a bit.
nicolasnoble Dec 24, 2022
c8f6227
Adding getTD and getTN to LuaISO.
nicolasnoble Dec 24, 2022
ea0f273
Derp.
nicolasnoble Dec 24, 2022
93642e5
Making this a bit more readable.
nicolasnoble Dec 24, 2022
8699443
Disabling these tests for now.
nicolasnoble Dec 24, 2022
9359b93
Adding some more commands and tests, factorizing a bit.
nicolasnoble Dec 24, 2022
dc4353c
Actually loading test iso in cdrom test.
nicolasnoble Dec 24, 2022
6c708f9
Removing some logs.
nicolasnoble Dec 24, 2022
199730c
Factorizing more code.
nicolasnoble Dec 24, 2022
6815228
Tweaking timings, bumping number of test tracks to 25, adding invalid…
nicolasnoble Dec 24, 2022
4c90e92
Fixing GetTN.
nicolasnoble Dec 24, 2022
9d43d79
Consistency.
nicolasnoble Dec 24, 2022
a5fc9c6
Making test pass and some minor adjustments.
nicolasnoble Dec 24, 2022
758b277
Adding getTD test.
nicolasnoble Dec 24, 2022
19595d7
Adding more GetTD tests.
nicolasnoble Dec 24, 2022
c3ac585
Adding some more GetTD tests.
nicolasnoble Dec 24, 2022
2e619d3
Couple more getTD tests.
nicolasnoble Dec 25, 2022
c60a08d
Fixing implicit indices in cueparser.
nicolasnoble Dec 25, 2022
7e6d2ed
More fixes to the cue parser.
nicolasnoble Dec 25, 2022
5a29062
Implementing GetTD and passing tests.
nicolasnoble Dec 25, 2022
4e31939
Splitting cdlSeek, and adding cdlGetLoc tests.
nicolasnoble Dec 26, 2022
db0ea11
Making test pass, and removed some logging.
nicolasnoble Dec 26, 2022
dc1188b
Adjusting timings a bit and messages, and adding some seek tests.
nicolasnoble Dec 26, 2022
623b46c
Adding blurb about missing tests.
nicolasnoble Dec 26, 2022
658646e
Adding a few more files to gitignore.
nicolasnoble Dec 26, 2022
298709c
Making seek tests pass.
nicolasnoble Dec 26, 2022
67fd76c
Adding some more getLoc tests.
nicolasnoble Dec 26, 2022
e57bc6a
Fixing tests a bit, and adjusting emulator's behavior accordingly.
nicolasnoble Dec 27, 2022
ba20cbe
Adding track 5 tests, and reducing out-of-disc seek from 99 to 80, be…
nicolasnoble Dec 27, 2022
5cbb196
Fixing pregap relative position calculation (durr)
nicolasnoble Dec 27, 2022
fd722d0
Adjusting tiings a bit, and adding setMode tests.
nicolasnoble Dec 27, 2022
f70aa8c
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Dec 27, 2022
e6a37fe
Adding a basic setMode handler.
nicolasnoble Dec 27, 2022
6c2937e
Harmonizing timings and names.
nicolasnoble Dec 27, 2022
bff6f9a
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Dec 27, 2022
595f4bf
Missed one.
nicolasnoble Dec 27, 2022
166a1b9
Speeding up some tests.
nicolasnoble Dec 27, 2022
76d6c31
Adding basic ReadN test.
nicolasnoble Dec 27, 2022
eec231a
More ReadN tests.
nicolasnoble Dec 27, 2022
7387d6b
Properly resetting lid status bit.
nicolasnoble Dec 27, 2022
2e96bb3
Adding more info in the comments.
nicolasnoble Dec 27, 2022
1de118b
Properly adjusting relative times.
nicolasnoble Dec 27, 2022
28768b1
Adding runaway read test.
nicolasnoble Dec 27, 2022
1b9b57e
Adding a couple more readN tests, and making sure mode is properly re…
nicolasnoble Dec 28, 2022
f1d3878
Simplifying / refactoring a bit, and derping reads for now.
nicolasnoble Dec 28, 2022
a553382
Actually sending data.
nicolasnoble Dec 29, 2022
14cc015
Tests passing.
nicolasnoble Dec 29, 2022
1f6e8a8
Proper clamping on start position.
nicolasnoble Dec 29, 2022
9431018
Adding cdlTest test.
nicolasnoble Dec 29, 2022
272a844
Supporting param fifo flush.
nicolasnoble Dec 29, 2022
876d354
Fixing cdlTest test.
nicolasnoble Dec 29, 2022
c478e69
Adding id test.
nicolasnoble Dec 29, 2022
4d4535e
Getting somewhere.
nicolasnoble Dec 29, 2022
0fe3ef8
Derp.
nicolasnoble Dec 29, 2022
ffdcc5e
Slowing down ROM access.
nicolasnoble Dec 29, 2022
6a696c1
Making a few games boot.
nicolasnoble Dec 29, 2022
129e0cf
Derp.
nicolasnoble Dec 29, 2022
eae7f84
Adding debugging output.
nicolasnoble Dec 29, 2022
662e1cb
Derp.
nicolasnoble Dec 29, 2022
87e8e03
Adding harmless placeholders for Mute & Demute.
nicolasnoble Dec 29, 2022
7a47e17
Derp.
nicolasnoble Dec 29, 2022
4794dac
Properly implementing getLocL.
nicolasnoble Dec 29, 2022
394f083
Adding filtering / xa bits into setmode.
nicolasnoble Dec 29, 2022
56ceed8
Adding ReadS. Just a copy of ReadN. Might need to coalesce the functi…
nicolasnoble Dec 29, 2022
f2fdf8c
Fixing cdlID.
nicolasnoble Dec 29, 2022
56afe7c
Adding CD-Rom hardware logging.
nicolasnoble Dec 29, 2022
2169b06
Adding ReadS tests.
nicolasnoble Dec 30, 2022
94eaf9a
Making test pass.
nicolasnoble Dec 30, 2022
cf0b6db
The busy flag seems just wrong.
nicolasnoble Dec 30, 2022
983a245
Fixing Unix build.
nicolasnoble Dec 30, 2022
2145511
Adding some racy tests.
nicolasnoble Dec 30, 2022
b8938dd
Adding more racy tests.
nicolasnoble Dec 30, 2022
add6d8c
Fixing test name.
nicolasnoble Dec 30, 2022
2b6f161
One more race.
nicolasnoble Dec 31, 2022
8615a4a
Adding nop tests, tweaking a few more, and adding a few races.
nicolasnoble Dec 31, 2022
c471f65
Derp.
nicolasnoble Dec 31, 2022
47c3a9e
Adding some reading tests.
nicolasnoble Dec 31, 2022
57e737e
Adding a couple more tests, and cleaning up IMASK.
nicolasnoble Jan 1, 2023
3d54b2e
Adding another sanity check.
nicolasnoble Jan 1, 2023
896cf1e
And some more for completeness.
nicolasnoble Jan 1, 2023
7055018
Adding a couple more reading tests.
nicolasnoble Jan 2, 2023
f1c2ffe
Adding memory usage caveat.
nicolasnoble Jan 2, 2023
4ad707c
Adding a couple more seek tests.
nicolasnoble Jan 2, 2023
956f3ab
More details.
nicolasnoble Jan 2, 2023
0352524
Adding misc tests.
nicolasnoble Jan 2, 2023
4baf2f1
Renaming interrupts to schedules, and adding one more.
nicolasnoble Jan 2, 2023
a5d77c6
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jan 3, 2023
a9523e4
Derp.
nicolasnoble Jan 8, 2023
672e8ce
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jan 8, 2023
1a3148c
One more racy test to really close the loop.
nicolasnoble Jan 10, 2023
1e372dd
New state machine. Again.
nicolasnoble Jan 10, 2023
9c5bd04
Tests start passing again.
nicolasnoble Jan 10, 2023
3bf7e0b
Derp.
nicolasnoble Jan 11, 2023
0ccc514
More tests passing.
nicolasnoble Jan 11, 2023
b3f9aac
Adding reading-init test.
nicolasnoble Jan 11, 2023
e5a83ea
Making test less flaky.
nicolasnoble Jan 11, 2023
da48ab8
Making sure we're properly timeouting on this seek test.
nicolasnoble Jan 11, 2023
92969d7
Fixing a few more tests.
nicolasnoble Jan 11, 2023
e1ba35a
Better naming / logic.
nicolasnoble Jan 11, 2023
9d7529d
Better determinicity for the read tests, and adding a couple more.
nicolasnoble Jan 13, 2023
ed4d2d9
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jan 22, 2023
dfb6d45
Forgot to read one response, but also, we need more tests...
nicolasnoble Jan 24, 2023
ec27f98
Fixing a few more tests, and actually adding the extra one needed here.
nicolasnoble Jan 24, 2023
ee670a0
Adjusting test message.
nicolasnoble Jan 24, 2023
3b22b65
Derp.
nicolasnoble Jan 24, 2023
b6da9bf
Only a few failed tests left...
nicolasnoble Jan 25, 2023
b39d4fd
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Mar 1, 2023
89b4301
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Mar 4, 2023
63f0f25
Adding test for flag changes in read.
nicolasnoble Mar 5, 2023
b713abf
Lowering threshold a bit.
nicolasnoble Mar 7, 2023
4bdc18a
Unskipping this test.
nicolasnoble Mar 7, 2023
cb8cb0e
Enabling pcsx hw for these tests.
nicolasnoble Mar 7, 2023
c95b526
Adding missing check.
nicolasnoble Mar 7, 2023
9ac714f
Some more subtle changes, and getting almost all tests to pass now.
nicolasnoble Mar 8, 2023
2532801
So fucking close.
nicolasnoble Mar 9, 2023
9c1818f
Fixing test that shouldn't pause before sending NOP command.
nicolasnoble Mar 9, 2023
1a797b5
Being more lenient with this test.
nicolasnoble Mar 9, 2023
47634e2
All tests passing.
nicolasnoble Mar 9, 2023
2e54913
Better logs.
nicolasnoble Mar 14, 2023
7ed3f8d
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Mar 18, 2023
682d7b3
Adding subheaders decoder.
nicolasnoble Mar 18, 2023
87d0ed4
Better log lines.
nicolasnoble Mar 18, 2023
01671b7
Typo.
nicolasnoble Mar 18, 2023
a779b00
Skipping over XA sectors for now.
nicolasnoble Mar 18, 2023
7becd07
Bandaid for bad DMA computation.
nicolasnoble Mar 18, 2023
f70eca6
Derp.
nicolasnoble Mar 18, 2023
83303cf
Merge remote-tracking branch 'origin/debugger-8mb' into fuckit
nicolasnoble Mar 18, 2023
092ce23
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Mar 19, 2023
46817be
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Apr 3, 2023
100f42d
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Apr 3, 2023
de270db
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Apr 4, 2023
4d05dce
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Apr 4, 2023
cc50128
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Apr 18, 2023
2f882a4
Factorizing logging.
nicolasnoble Apr 19, 2023
7060384
Merge remote-tracking branch 'origin/main' into fuckit
nicolasnoble May 21, 2023
7fbb8ef
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble May 21, 2023
0bc75b8
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jun 2, 2023
fcff6c9
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Jun 2, 2023
11e03bf
Merge remote-tracking branch 'origin/main' into fuckit
nicolasnoble Jun 7, 2023
0e6a223
Fixing cdlsetmode test message
caldog20 Jun 26, 2023
9889fb6
Merge pull request #2 from caldog20/fuckit
nicolasnoble Jun 26, 2023
d49e02b
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jun 27, 2023
5a4c1e3
Merge branch 'fuckit' of github.com:nicolasnoble/pcsx-redux into fuckit
nicolasnoble Jun 27, 2023
2d3b863
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jul 26, 2023
dad7cd9
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Oct 8, 2023
609cdef
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Dec 10, 2023
a7e54f3
Fixing merge failure.
nicolasnoble Dec 18, 2023
51de2e4
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Dec 18, 2023
e2f4eb6
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jan 28, 2024
901300a
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Feb 7, 2024
68192a2
Adjusting readme from latest CLI flags.
nicolasnoble Feb 8, 2024
c641128
Adding CXD1199 datasheet information.
nicolasnoble Feb 8, 2024
0293274
Merge branch 'main' of http://github.com/grumpycoders/pcsx-redux into…
nicolasnoble Feb 20, 2024
44c3ef5
Even raw MODE2 should probably regenerate ECC/EDC.
nicolasnoble Feb 20, 2024
93a52f2
Adding convenience `cast` method to LuaBuffer.
nicolasnoble Feb 20, 2024
3ffd75a
Further simplifying run command for test case generation.
nicolasnoble Feb 20, 2024
ed239cd
Generate XA audio wave in the test iso.
nicolasnoble Feb 20, 2024
6bfe493
Adding command 0 'support'.
nicolasnoble Feb 21, 2024
c9bfa68
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Mar 3, 2024
f1f4381
Adding test for over-reading of response buffers.
nicolasnoble Mar 4, 2024
aae23e7
Making buffer overrun test pass.
nicolasnoble Mar 4, 2024
71ba79b
Tweaking test a bit more.
nicolasnoble Mar 4, 2024
0d19019
Better tweak.
nicolasnoble Mar 4, 2024
120e856
Being a bit more annoying with this test.
nicolasnoble Mar 5, 2024
8ff2072
Making test pass.
nicolasnoble Mar 5, 2024
69fa64e
Adding hexdump utility.
nicolasnoble Mar 5, 2024
6b43700
Adding full mode2 read test.
nicolasnoble Mar 5, 2024
32e74e5
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Mar 11, 2024
d7ae274
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Apr 28, 2024
c25e5c3
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Jun 9, 2024
b30f74b
Adding some CDDA tests.
nicolasnoble Aug 12, 2024
a6dd75e
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Aug 12, 2024
eeb6f25
Merge remote-tracking branch 'upstream/main' into fuckit
nicolasnoble Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' of http://github.com/grumpycoders/pcsx-redux into…
… fuckit
nicolasnoble committed Feb 20, 2024
commit 02932745c5e0cfc67f2235b8d364a583e77f6239

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.