Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
yuhongbao

19.10.2011, 06:06
 

KBFR AT detection code is wrong (Developers)

I read the KBFR source code and:
MOV AX,0F000h
MOV ES,AX
MOV AL,ES:[0FFFEh]
CMP AL,0FCh ; AT BIOS ?
JZ @F
^^
Wrong! It should be JNA, because you should be testing if the model code is equal to *or below* FCh.

tom

Homepage

Germany (West),
19.10.2011, 12:07

@ yuhongbao

KBFR AT detection code is wrong

> Wrong! It should be JNA, because you should be testing if the model code is
> equal to *or below* FCh.
you are right, but it should rely on

INT 15 - SYSTEM - GET CONFIGURATION (XT >1986/1/10,AT mdl 3x9,CONV,XT286,PS)
AH = C0h

instead.

Back to the board
Thread view  Mix view  Order
22049 Postings in 2034 Threads, 396 registered users, 203 users online (0 registered, 203 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum