Reverse the Universal Info table

This was tricky. The table seems to be vestigial, anyway.
This commit is contained in:
Elliot Nunn 2017-11-15 19:53:36 +08:00
parent 4204a9c355
commit 9c4547cfdb
7 changed files with 111 additions and 7158 deletions

View File

@ -514,7 +514,7 @@ SlotF ds.b 1 ; info for Slot F
; If you change the ProductInfo record, bump the version up by 1.
;
;--------------------------------------------------------------------------------------------
ProductInfoVersion equ 1 ; Version of the ProductInfo record
ProductInfoVersion equ 0 ; Version of the ProductInfo record
ProductInfo record 0,increment ; data structure describing product dependent features

View File

@ -254,14 +254,14 @@ OSObjs = "{ObjDir}BCScreenRelated.o"
Asm {StdAOpts} -o "{Targ}" "{OSDir}Universal.a" -i "{OSDir}StartMgr"
# "{ObjDir}UniversalTables.a.o" Ä "{ObjDir}StandardEqu.d" ¶
# "{IntAIncludes}HardwarePrivateEqu.a" ¶
# "{IntAIncludes}UniversalEqu.a" ¶
# "{AIncludes}Slots.a" ¶
# "{IntAincludes}DepVideoEqu.a" ¶
# "{AIncludes}ROMEqu.a" ¶
# "{OSDir}UniversalTables.a"
# Asm {StdAOpts} -o "{Targ}" "{OSDir}UniversalTables.a" -i "{OSDir}IoPrimitives:"
"{ObjDir}UniversalTables.a.o" Ä "{ObjDir}StandardEqu.d" ¶
"{IntAIncludes}HardwarePrivateEqu.a" ¶
"{IntAIncludes}UniversalEqu.a" ¶
"{AIncludes}Slots.a" ¶
"{IntAincludes}DepVideoEqu.a" ¶
"{AIncludes}ROMEqu.a" ¶
"{OSDir}UniversalTables.a"
Asm {StdAOpts} -o "{Targ}" "{OSDir}UniversalTables.a" -i "{OSDir}IoPrimitives:"
"{ObjDir}VerticalRetraceMgr.a.o" Ä "{ObjDir}StandardEqu.d" ¶

View File

@ -1084,8 +1084,8 @@ GetHardwareInfo
cmpi.l #'Hnfo',([$68FFEFD0],$70) ; NKHWInfo.Signature, fix this later
bne.s @tryOldWay
import InfoNanoKernel
biglea InfoNanoKernel,a1
import InfoNewWorld
biglea InfoNewWorld,a1
bra Matched
@tryOldWay
biglea CPUIDProductLookup-4,a2 ; get address of CPUID product lookup table

File diff suppressed because it is too large Load Diff