Added preliminary Adaptec 154x emulation, needs fixing in the Read 10…#38
Merged
Conversation
… command. Made ATAPI derived from SCSI. Added proper S/G emulation for SCSI DMA. Added SCSI CD-ROM emulation, preserving all the former ATAPI commands as well.
Made Unknown transfers as invalid but with SCSI Status Good/Ok in the Adaptec 1540. SCSI Commands with no transfers are left with no transfer function.
OBattler
pushed a commit
that referenced
this pull request
Sep 4, 2023
…actions/checkout-4 Bump actions/checkout from 3 to 4
nakioman
added a commit
to nakioman/86Box
that referenced
this pull request
Mar 3, 2026
Emit BTI JC (HINT 86Box#38) at all indirect branch landing sites in JIT code: load/store helpers, FP round helpers, codegen_exit_rout, full_exit_rout, codegen_trampoline_entry, per-block prologue body entry, per-block exit stub, and per_block_entry. Enable PROT_BTI on JIT pages (Linux ARM64 with kernel >= 5.8) so the CPU enforces branch target restrictions. BTI JC decodes as NOP on non-BTI hardware, so there is zero performance cost. Also fixes BLOCK_BODY_ENTRY (16 → 12): the prologue emits 3 cycle-check instructions (12 bytes), and BTI JC now fills offset 12 as the indirect branch landing pad. Co-Authored-By: Claude Opus 4.6 <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
… command.
Made ATAPI derived from SCSI.
Added proper S/G emulation for SCSI DMA.
Added SCSI CD-ROM emulation, preserving all the former ATAPI commands as well.