Repository navigation
feat: complete the BIOS for EmulatorJS #1
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
70c7e84
docs: credit original authors and add GPL text
brandonocasey 4ea4547
feat: implement remaining BIOS entry points
brandonocasey 1536820
test: run the BIOS in a simulated FDS
brandonocasey 74469d4
ci: assemble and test the ROM
brandonocasey af39a59
fix: write disk blocks the way FCEUmm expects
brandonocasey c375e9e
test: model the FCEUmm drive and add a demo disk
brandonocasey ce07cb6
docs: document status, tests, and EmulatorJS use
brandonocasey 633ea80
fix: send the last byte of each written block
brandonocasey 822acf0
fix: keep UploadObject frame offsets in tile IDs
brandonocasey 18e1455
test: latch drive writes like real hardware
brandonocasey c205d5b
fix: mask transfer IRQs while writing the CRC
brandonocasey 102ad79
test: require the CRC to finish before write mode ends
brandonocasey ea45d87
fix: keep VRAM routines inside their documented zero page
brandonocasey e2b0615
fix: start the game just after a vblank
brandonocasey 8dbcfc2
test: cover VRAM zero page use and handoff timing
brandonocasey 669d09f
docs: list games tested in EmulatorJS
brandonocasey 4eb7689
fix: return disk errors with Z clear
brandonocasey 8ca2e58
fix: keep the interrupt flag across the boot handoff
brandonocasey 1fad641
docs: note that failed reads are not retried
brandonocasey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Build asm6f | ||
| run: | | ||
| git clone -q https://github.com/freem/asm6f "$RUNNER_TEMP/asm6f" | ||
| cc -O2 -o "$RUNNER_TEMP/asm6f/asm6f" "$RUNNER_TEMP/asm6f/asm6f.c" | ||
|
|
||
| - name: Assemble | ||
| run: "$RUNNER_TEMP/asm6f/asm6f freedisksys.asm disksys.rom" | ||
|
|
||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.12' | ||
|
|
||
| - name: Test | ||
| run: | | ||
| pip install py65 | ||
| python tests/test_bios.py disksys.rom -v | ||
|
|
||
| - uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: disksys.rom | ||
| path: disksys.rom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| .vscode | ||
| *.bin | ||
| *.lst | ||
| disksys.rom | ||
| __pycache__/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.