VOGONS

Common searches


Search results

Display options

Re: x86 TLB vs protection?

1. is not correct. Even if the address is in the TLB, you still need the protection check. If supervisor mode accessed a page that only supervisor can read, then user-mode accesses the same page, it should fail even though it's in the TLB. The TLB simply avoids the translation overhead.

Re: x86 TLB vs protection?

When a request is successful, the address and protection bits go into the TLB. The top 'x' bits (ways) are used to index into the array of 'y' entries (sets). Find the appropriate set, search within it for a match. The regular protection checks are still performed afterwards.

Re: Finding bugs in 8086-80386 emulation core?

You have a bug in popa. Compare: 00:03:56:75.07504: 0000:7D3C (60)PUSHA 00:03:56:75.07504: Registers: 00:03:56:75.07520: EAX: 00000000, EBX: 00000700, ECX: 00000001, EDX: 00000000 00:04:10:57.06960: 0000:7D71 (61)POPA 00:04:11:20.06368: EAX: 00007c7a, EBX: 00000000, ECX: 00000000, EDX: 00000001 …

Re: UniPCemu 80286/80386+ protected mode problems?

- SHL/SHR/SAR always set with non-zero shift, cleared otherwise. Yes. - NEG sets when result low 4 bits not zero, cleared otherwise(essentially negated zero flag for low 4 bits). The flags result is equivalent to performing "0 SUB value". - INC sets when result low 4 bits is zero, cleared otherwise. …

Re: Pinball Construction Set

There are at least two .PB formats. The 1982 (pre-release version, Apple II only, the one that most pirates had, likely stolen, definitely incomplete) vs 1983 (final version on Apple II, RTM, possibly common to all other platforms).

Re: x64 sys files and exe files still contain a MS-DOS stub?

in DOS
After looking at Windows 10's 64-bit WOW64 sys files and my own 64-bit version of UniPCemu(compiled using Visual Studio), I notice that it's still using a simply 32-bit EXE (MZ) header, as well as a complete MS-DOS stub? Why would 64-bit sys/exe files still contain a MS-DOS compatibility stub? Even …

Re: UniPCemu's 80286 emulation bug help?

I'm wondering about something. According to what I can find, opcode 8F with the ModR/M reg being 0 is POP modr/m. What about cases where the reg value is 1-7? Are they resulting in a #UD? Or are they counted as a normal POP modr/m instead(the opcode ignoring the reg field completely)? They trigger …

Re: UniPCemu's 80286 emulation bug help?

A problem is here: 00:05:37:46.09280: 020E:A555 (66C1E010)SHLD AX,10 00:05:37:46.09312: EAX: 0000020e, ... 00:05:37:46.09376: 020E:A559 (B850A6)MOVW AX, A650 00:05:37:46.09408: EAX: 00000000, EBX: 0000a700, ECX: 00000000, EDX: 00000000 -> should be SHLD EAX,10, so EAX=0x020E0000 Here's the other one …

Re: UniPCemu's 80286 emulation bug help?

Most of the 80386 instructions have been implemented(CRn/DRn register loads only checks for CPL in protected mode, the bits written to the registers are unchecked currently). Only a few (0F prefixed) instructions are left: - BT - SHLD(3 operands?) - BTS - SHRD(See SHLD) - IMUL - BTR - opcode BA( …

Re: UniPCemu's 80286 emulation bug help?

So CS DPL is checked against CS RPL and SS DPL is checked against SS RPL. But what about CPL? What is it based on and when is it reloaded? CPL is the name of the DPL in SS and CS (and they're supposed to be the same value). It is set when the selector is loaded if checks pass. Calls check SS first, …

Page 5 of 27