本帖最后由 gb1527 于 2016-7-6 01:32 编辑
之前有很多帖子都有讲到ATI Framebuffer,而新出的macos sierra 在这个东东上又做出重大更新分别是对帧缓冲字节由之前的16字节变为24字节
比较重要的帖子
https://bbs.pcbeta.com/viewthread-1060313-1-1.html
举个例子:
/System/Library/Extensions/AMD5000Controller.kext/Contents/MacOS/AMD5000Controller(用hex fiend或0xed打开)
macos sierra之前的Hoolock(为便于对比做了格式处理,应该全部连在一起一整串)
Aticonfig: Hoolock ConnectorInfo count in decimal: 3 Disk offset in decimal 166176 00 04 00 00 04 06 00 00 00 01 00 00 21 03 05 01 00 04 00 00 04 06 00 00 00 01 00 00 11 02 04 02 04 00 00 00 14 02 00 00 00 01 00 00 02 04 01 03 macos sierra之后的Hoolock(红色部分即是改变,00填充) Personality: Hoolock ConnectorInfo count in decimal: 3 Disk offset in decimal 1765680 00 04 00 00 04 06 00 00 00 01 00 00 00 00 00 00 21 03 05 01 00 00 00 00 00 04 00 00 04 06 00 00 00 01 00 00 00 00 00 00 11 02 04 02 00 00 00 00 04 00 00 00 14 02 00 00 00 01 00 00 00 00 00 00 02 04 01 03 00 00 00 00 这个改变在处理clover ati connector注入或是修改原生驱动时需要注意!!!
另外提供两个提取脚本,一个od,用法终端输入:
./od -Ax -tx1 -w24一个是pl文件,具体用法自己百度,另外还附上提取出来的AMD Frambuffer的txt文本文件(名字含有10.12的txt,只想使用下这个即可,深入研究可下脚本)
|