Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

comment on flushing predecode queue (pre-Pentium) (DOSX)

posted by Japheth Homepage, Germany (South), 23.04.2008, 21:04

> Hey! This is not a theory, it's one of the few things consistently and
> correctly documented in Intel manuals; and it's not just the 386, the 486
> as well needs it - I used to have the printed Intel manual.

I have several working 486 which don't need it...

> Mind you, I'm
> not sure whether it even is not still officially recommended, or required,
> for some later processors (not just Intel's).

No. Pentium and above will always "serialize" certain opcodes, including moves to control registers.

> When doing a mode switch, in
> general you'll need both : a near jump (to flush the queue) and a far
> transfer (to fully load CS and its attributes). Of course, in this
> particular piece of code, you don't want the far jump, since you're only
> setting up "big real" mode, but you need the short jmp.
>
> I'm really surprised you are not aware of this point, considering the
> depth of your experience.

I AM aware of this, indeed, I had some rather longish discussions with someone calling himself Eric (Auer) about this topic. Amazing how one can waste time about a piece of code approc. 6 lines long ... :-D

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 453 users online (0 registered, 453 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum