1 ** Qt porting for Common Source Code Project **
3 K.Ohta <whatisthis.sowhat _at_ gmail.com>
5 * If you can't read Japanese, read readme.qt.txt .
8 このパッケージは、Common Source Code Project (以下、CSP)
10 バイナリはGNU/Linux(64bit)用とMinGW (32bit Windows)用を
14 https://github.com/Artanejp/common_source_project-fm7/releases/tag/SNAPSHOT_20160923
17 各機種バイナリーは、osdn.jp もしくはミラーサイトより入手可能です。
18 https://osdn.jp/projects/csp-qt/
19 https://osdn.jp/projects/csp-qt/releases/ をチェックしてください。
25 doc/以下の文書で日本語しかなかったものを英語に翻訳していますが、機械翻訳を使ってるのであやしいです。
26 英語の上手い方、校正などお願いします m(_ _)m
29 CSPは、非常に優れた構造のエミュレータです(しかし、些か重くてコンパイラ
31 しかし、このコードはM$ Visual C++依存の部分が非常に多いです。
32 そこで、GNU/Linuxでこれを動かすためにQtに色々と移植していきましょう。
37 b. OpenGL, 多分、最低OpenGL 2.1は必要です。 (New!)
38 c. gcc / g++ (4.7以降?)もしくは llvm clang / clang++ (3.5以降?)
40 d. SDL2 (SDL 1.xではないので注意)
42 f. ffmpegから、libavとlibswが必要です。 http://ffmpeg.org/ より。
43 g. ffmpegは、それぞれのランタイムに必要なものをバンドルしてあります
44 ので、動かない時はインストールしてみてください。
45 h. GNU/Linuxビルドでは、Qt5.3でビルドしてあります(Ubuntu 16.04LTS向け)
46 * Windows もしくは GNU/Linux のcross tool chain (要Wine)で、
47 MinGW と Qt 5.7 でのビルドができることを確認しました。
50 Windows等で動かした時に、画面の書き替えが表示されない場合は、
51 環境変数 QT_OPENGL を software にしてみてください。(例えば、
52 WindowsをVirtualBoxのゲストで使ってる場合など)
55 ソースコードを解凍するか、git clone / pull した後で:
56 $ cd {srctop}/source/build-cmake/{Machine name}/
72 ・R@Mを $HOME/emu{Machine Name}/ に配置してください。(Windowsの場合は今の所 .\emu{Machine Name}\)
73 なお、このディレクトリは最初起動した後で作成されます。
74 ・設定ファイルは、$HOME/.config/emu{Machine Name}/ に書き込まれます。(Windowsの場合は今の所 .\.config\emu{Machine Name}\)
75 ・ステートセーブファイルは、$HOME/emu{Machine Name}/{Machine Name}.sta に書き込まれます。
76 ・キーコード変換テーブルファイルが、$HOME/.config/emu{Machine Name}/scancode.cfg に書き込まれます。
77 書式は、カンマで区切られた16進データです(10進ではないので注意) .
79 2カラム目はQtネィティブのスキャンキーコードです。
80 ・UI部分の共通コンポーネント (src/qt/gui) を共有ライブラリlibCSPgui.soにまとめました。
81 ・インストール用のBASHスクリプトを用意しました。src/tool/installer_unix.shです。
85 a. 現在、Debian GNU/Linux "sid" の AMD64版でしかテストしていません。
86 が、多分他のGNU/Linux OSやBSD系のOS (Mac含む) でもビルドすれば
88 Windows もしくは GNU/Linux(要Wineとbinfmt-support)上でのMinGWと
89 Qt community edition でのビルドが通るようになりました。
90 安定したWindowsビルドを必要な方は、Visual Studio 2013 か 2015 のCommunity Edition
91 でビルドしてください。(もう少ししたら、MinGWに切り替えようとは思ってます。)
93 b. 今は、Qtの開発側が「Qt4おわりね」とアナウンスしたので、Qt4ではなく
95 添付してあるバイナリは、Qt 5.5でビルドしました(が、Qt 5.1以降なら動くはずです)。
97 c. Linux用ビルドでは、GCC 6をリンク時最適化(LTO)モードで使っています。
98 d. MZ-2500のソケット機能を実装してみていますが、マトモにテストできてません(;´Д`)
100 6. Upstream repositry:
101 https://github.com/Artanejp/common_source_project-fm7
102 https://www.pikacode.com/Artanejp/common_source_project-fm7/
105 https://osdn.jp/projects/csp-qt/
107 8. Upstream (Takeda Toshiyaさんのオリジナル)
108 http://takeda-toshiya.my.coocan.jp/
112 * SNAPSHOT September 23, 2016
113 * Upstream 2016-04-13
114 * [DOC] Translated some documents written in Japanese only to English using Google-Translate, still not enaugh to be corrected.
115 * [Qt/WIN32] Fix crash on startup (maybe true) caused by (´∀`)<ぬるぽ ヽ(・∀・)ノ┌┛ガッΣ(ノ`Д´)ノ
116 * [VM] Add original name and role to all device and VM components.
117 * [VM/FM7] JOYSTICK: Fix not redirect triggers.
118 * [VM/FM7][MB8877/DISK] Workaround for RIGLAS/FM-7. Perhaps, below have side-effect, add special-disk to RIGLAS FM.
119 ** Don't "NOT READY" even stopping motor.
120 ** Transfer even stopping motor.
121 * [EVENT] Remove logging on cancel event.
122 * [Qt/Debugger] Not hang-up when Opening debugger and exit emu{foo}. This is temporally workaround.
123 * [Qt/Debugger] Don't close with close button, this is temporally workaround.
124 * [UI/Qt] Fix selecting printers.
125 * [VM/PC9801] Add prepair of using ITF ROM, this is still only preparation.
126 * Built with GIT 8cdb1dbebf95d7371e514886c23edc6c9401848a (or later).
128 -- Sep 23, 2016 19:48:12 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
130 * SNAPSHOT September 09, 2016
131 * Upstream 2016-04-13
132 * [LOGGER] Add extend logger.
133 * [LOGGER/Qt] Rename agar_logger.[cpp|h] to csp_logger.[cpp|h] .
134 * [VM] Ready to enable log per device.
135 * [VM] Update emu->out_debug_log to [DEVICE]->out_debug_log .
136 * [UI/Qt] Add log viewer window.
137 * [Qt/EMUTHREAD] Move commonly blocks to gui/ .
138 * [Qt/KEY] Use queue for keyin/out.
139 * [VM/OSD] Add socket (networking) featuers, but still not test (;´Д`)
140 * [VM/FM77AV] MB61VH010 : Faster drawing lines.
141 * [VM/FM7] MAINIO: Comment out logging around FIRQ, temporally.
142 * [OSD/KEYBOARD] Fix handling around SHIFT for some machines(i.e. PC8801).
143 * [MOVIE_SAVER] Use SIMD to transfer a picture OSD(VM)->MOVIE_SAVER .
144 * [DOC] Update updtream's URL, moved to takeda-toshiya.my.coocan.jp .
145 * Built with GIT 1884b5247665d71c06fc6590b17434c5f3350ad5 (or later).
147 -- Sep 09, 2016 01:02:51 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
149 * SNAPSHOT August 19, 2016
150 * Upstream 2016-04-13
151 * [WIN32] Replace libICU to homebrew, fix not starting.
152 * [OSD/MOVIE_SAVER] Fix frames to enqueue to MOVIUE_SAVER, as if VIDEO FPS >= RECORD FPS.
153 * [MOVIE_LOADER] Sync A/V on playing MOVIE.
154 * Built with GIT 77380a77b25ca06965b912c84509e5c91085aeb1 (or later) .
156 -- Aug 19, 2016 23:12:36 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
158 * SNAPSHOT August 15, 2016
159 * Upstream 2016-04-13
160 * [OSD][MOVIE_SAVER] Maybe correctness frame(s) counting with 60fps ヽ(=´▽=)ノ
161 * [MOVIE_SAVER] Fix sometimes crashing when stop to save movie.
162 * [PX7/MOVIE_LOADER] Sound Laser Disc, but not be smooth.
163 * [MOVIE_SAVER][PC8801][PC9801] Adjust sound frequency when OVERRIDE_48000Hz , still choppy.
164 * Built with GIT 3f4c809912dc92cdeb34d8ecdebe0087aa7f37b3 (or later) .
166 -- Aug 16, 2016 02:40:55 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
168 * SNAPSHOT August 09, 2016
169 * Upstream 2016-04-13
170 * [PX7] Add movie loader for LD, but not tested enough yet.
171 * [MOVIE_SAVER/OpenGL] Add locking around drawing buffer.
172 * [BUILD] Update FFMPEG to 3.1.1 .
173 * [FFMPEG/LINUX] Enable OpenCL for ffmpeg @linux.You need libOpenCL.so.1 to use homebrew build.
174 * [FFMPEG/WIN32] Enable DXVA2 for video-decoding accelerator.
175 * [MOVIE_SAVER] Synchronous OPEN->ENCODEING->CLOSING.
176 * [UI/MOVIE_SAVER] DO NOT change state of "Save as movie" without *real* starting/stopping.
177 * [Draw/OpenGL] Optimize GLSL's by https://github.com/aras-p/glsl-optimizer .
178 * Built with GIT fc7a03a9337287414e00777464ab273c4f44ea44 (or later) .
180 -- Aug 10, 2016 01:42:51 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
186 [WINMAIN] improve auto key for the case to switch upper/lowercase with capslock
187 [EMU/DEBUGGER] fix issue that u command may cause the infinite loop
189 [VM/DATAREC] support to detect the frequency of signal
190 [VM/DATAREC] fix to always adjust zero position of wave signal
191 [VM/UPD1990A] fix not to check clk signal is low when stb signal is raised
192 [VM/UPD7810] support debugger
193 [VM/UPD7810] support MOV A,S opecode
194 [VM/UPD7810] fix not to change V register (thanks PockEmul)
196 [PC2001] support NEC PC-2001
197 [PC2001] fix cpu clock
198 [PC2001] support beep sound
199 [PC2001/IO] support rtc control signals
200 [YALKY] support Yuasa Kyouiku System YALKY
201 [YALKY/IO] improve data recorder controller