Skip to content

Added preliminary Adaptec 154x emulation, needs fixing in the Read 10…#38

Merged
OBattler merged 2 commits into
86Box:masterfrom
TC1995:tc1995
Nov 12, 2016
Merged

Added preliminary Adaptec 154x emulation, needs fixing in the Read 10…#38
OBattler merged 2 commits into
86Box:masterfrom
TC1995:tc1995

Conversation

@TC1995

@TC1995 TC1995 commented Nov 12, 2016

Copy link
Copy Markdown
Contributor

… 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.

… 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
OBattler merged commit 36f1962 into 86Box:master Nov 12, 2016
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants