Added better OBC1 detection

This commit is contained in:
z_demo_z
2002-07-04 17:13:59 +00:00
parent 3056e1f636
commit b41cc38554

View File

@@ -6145,6 +6145,8 @@ NEWSYM CheckROMType
and al,0F0h and al,0F0h
cmp al,10h cmp al,10h
je .yessfx je .yessfx
cmp al,20h
je .yesobc
cmp al,30h cmp al,30h
je near .yessa1 je near .yessa1
cmp al,40h cmp al,40h
@@ -6169,6 +6171,7 @@ NEWSYM CheckROMType
add esi,32704 add esi,32704
cmp dword[esi],'META' cmp dword[esi],'META'
jne .notsfx jne .notsfx
.yesobc
mov byte[OBCEnable],1 mov byte[OBCEnable],1
jmp .nosfx jmp .nosfx
.notsfx .notsfx