copy / copy/v86

Fix 16-bit mode instruction pointer wrap-around

Open
#1,253 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
23.5k
Forks
1.9k
Avg merge
2d 14h
Merged PRs (30d)
7

Description

Not all x86 CPUs are even able to run in 32-bit mode, which creates portability issues.

Specifically, the problem I'm facing which prompted me to open this issue is running code that relies on the fact that on 16-bit mode when `ip` is 0xFFFF it'll wrap back to 0, `v86` breaks this functionality as it uses `eip` causing it to continue to `0x10000`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.