[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-94511":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":9,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":15,"starSnapshotCount":15,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},94511,"msword","jmarshall23\u002Fmsword","jmarshall23","Port of Microsoft Word 1.1a to x64 with extra features for research purposes.",null,"C",308,29,101,3,0,207,51.43,false,"main",[],"2026-08-24 04:01:22","# Microsoft Word for Windows 1.1a - Native x64 Port\n\nThis project is a fully working native Windows x64 port of Microsoft Word for\nWindows 1.1a, whose historical codename was **Opus**. It builds the original\nWord source and resources together with modern replacements for the 16-bit\nassembly, segmented-memory, and Win16 platform boundaries.\n\nThe result is the original Word application and user experience running as a\n64-bit Windows executable. This is not an emulator or a reimplementation using\na modern editor control.\n\n## Requirements\n\n- 64-bit Windows\n- Visual Studio 2022 with **Desktop development with C++**\n- A Windows 10 or Windows 11 SDK installed through Visual Studio\n- CMake 3.25 or newer\n- PowerShell\n\n## Build and run\n\nClone the repository, configure the included CMake preset, and build it from a\nPowerShell prompt:\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002Fjmarshall23\u002Fmsword.git\nSet-Location msword\\src\n\ncmake --preset x64-debug\ncmake --build --preset x64-debug\n\n& ..\\bin\\WORD1.exe\n```\n\nFor an optimized build, use the release preset instead:\n\n```powershell\ncmake --preset x64-release\ncmake --build --preset x64-release\n& ..\\bin\\WORD1.exe\n```\n\nThe presets use the Visual Studio 2022 x64 generator. After configuration, the\ngenerated solution can also be opened directly from\n`out\\MicrosoftWordX64Port.sln`; use `WORD1` as the startup project.\n\n## Test\n\nRun the complete Debug test suite from the repository root:\n\n```powershell\nctest --test-dir .\\out -C Debug --output-on-failure\n```\n\nOr, when your current directory is `src`:\n\n```powershell\nctest --test-dir ..\\out -C Debug --output-on-failure\n```\n\nFor a release build, replace `Debug` with `Release`. The suite covers the\nported x64 runtime, original Word data structures and command tables, process\nstartup, and automated UI workflows including typing, selection, formatting,\ndialogs, and saving.\n\n## Project layout\n\n| Path | Purpose |\n| --- | --- |\n| `src\u002FOpus\u002F` | Original Microsoft Word\u002FOpus application source and resources |\n| `src\u002FOpusEtAl\u002F` | Original supporting tools, libraries, and build inputs |\n| `src\u002FOpusProg\u002F` | Historical program documentation |\n| `src\u002Fport\u002Foriginal\u002F` | x64 compatibility layer, translated routines, and tests |\n| `src\u002Fport\u002Ftools\u002F` | Native replacements for historical build-time tools |\n| `src\u002Fcmake\u002F` | Resource and source-generation helpers |\n| `out\u002F` | CMake cache and generated Visual Studio solution |\n| `build\u002F` | Intermediate tools, tests, probes, PDBs, and diagnostics |\n| `bin\u002F` | Final executable and runtime files |\n\n`out`, `build`, and `bin` are generated locally during configuration and\ncompilation.\n\n## How the port works\n\nThe original C and resource files remain the authoritative implementation.\nThe port adds only the platform work needed to build and run that code safely\non 64-bit Windows:\n\n- 16-bit x86 assembly entry points are translated to fixed-width C or C++.\n- Segmented and double-indirect memory handles are mapped to an x64-safe native\n  runtime.\n- Win16-specific startup, messaging, graphics, file, and resource behavior is\n  adapted to current Win32 APIs.\n- Original command, dialog, cursor, bitmap, and other generated assets are\n  rebuilt by native host tools as part of the CMake graph.\n- Unit, runtime, smoke, and UI tests guard compatibility with the original\n  algorithms and application behavior.\n\nCMake inventories the legacy assembly tree but does not compile those modules\ninto native targets. This keeps the historical implementation available as a\nreference while ensuring all shipped code is valid for AMD64.\n\n## Useful targets\n\n| Target | Description |\n| --- | --- |\n| `WORD1` | The native x64 Microsoft Word executable |\n| `opus_original_engine` | Original Word application engine compiled for x64 |\n| `opus_x64_runtime` | Native runtime and translated assembly behavior |\n| `opus_word1_ui_test` | Automated end-to-end UI test driver |\n| `legacy_sources` | IDE-visible reference collection of the original assembly |\n\nBuild a specific target with:\n\n```powershell\ncmake --build --preset x64-debug --target WORD1\n```\n\n## Contributing\n\nChanges should preserve the original Word behavior while keeping all native\ninterfaces pointer-width safe. Prefer source-equivalent translations of\nhistorical routines, isolate unavoidable Windows API adaptation at the port\nboundary, and add focused tests for newly translated behavior.\n\n## Copyright\n\nThe historical source files retain their original Microsoft and third-party\ncopyright notices. This repository does not currently include a top-level\nlicense file; review the applicable rights before redistributing the source or\nbinaries.\n","这是一个将 Microsoft Word for Windows 1.1a（代号 Opus）原生移植到现代 64 位 Windows 平台的研究型项目。它通过重写 16 位汇编入口、重构分段内存模型、适配 Win16 API 边界，使原始 C 源码和资源在 x64 环境下直接编译运行，而非模拟或重实现。核心特点是保留原始逻辑与 UI 行为，提供可调试的本地二进制、完整测试套件及构建自动化支持。适用于软件考古、早期 GUI 应用逆向研究、Windows 兼容性演进分析等学术与技术探索场景。",2,"2026-08-10 02:30:10","CREATED_QUERY"]