Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
yuhongbao(R)

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(R)

Homepage

Germany,
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 index page
Thread view  Board view
15112 Postings in 1359 Threads, 247 registered users, 26 users online (0 registered, 26 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum