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)用を
15 https://github.com/Artanejp/common_source_project-fm7/releases/tag/SNAPSHOT_20170307
19 各機種バイナリーは、osdn.net もしくはミラーサイトより入手可能です。
21 https://osdn.net/projects/csp-qt/
23 https://osdn.net/projects/csp-qt/releases/ をチェックしてください。
30 doc/以下の文書で日本語しかなかったものを英語に翻訳していますが、機械翻訳を使ってるのであやしいです。
32 英語の上手い方、校正などお願いします m(_ _)m
36 CSPは、非常に優れた構造のエミュレータです(しかし、些か重くてコンパイラ
38 しかし、このコードはM$ Visual C++依存の部分が非常に多いです。
39 そこで、GNU/Linuxでこれを動かすためにQtに色々と移植していきましょう。
44 a. Qt5 ツールキット。バイナリはQt 5.5基準でビルドしてあります。
46 b. OpenGL, 多分、最低OpenGL 2.1は必要です。 (New!)
48 c. gcc / g++ (5.0以降?)もしくは llvm clang / clang++ (3.5以降?)
51 d. SDL2 (SDL 1.xではないので注意)
55 f. ffmpegから、libavとlibswが必要です。 http://ffmpeg.org/ より。
57 g. ffmpegは、それぞれのランタイムに必要なものをバンドルしてありますので、動かない時はインストールしてみてください。
59 h. GNU/Linuxビルドでは、Qt5.5(Ubuntu 16.04LTS向け)もしくはQt5.7(Debian GNU/Linux sid向け)でビルドしてあります。
61 * Windows もしくは GNU/Linux のcross tool chain (要Wine)で、MinGW (gcc6) と Qt 5.7 でのビルドができることを確認しました。
65 Windows等で動かした時に、画面の書き替えが表示されない場合は、
67 環境変数 QT_OPENGL を software にしてみてください。(例えば、
69 WindowsをVirtualBoxのゲストで使ってる場合など)
73 ソースコードを解凍するか、git clone / pull した後で:
75 $ cd {srctop}/source/build-cmake/{Machine name}/
97 *ToolTipsを付けました。(2017-01-24)
99 *日本語に翻訳しました。(2017-01-24)
101 *R@Mを $HOME/emu{Machine Name}/ に配置してください。(Windowsの場合は今の所 .\emu{Machine Name}\)。なお、このディレクトリは最初起動した後で作成されます。
103 *設定ファイルは、$HOME/.config/emu{Machine Name}/ に書き込まれます。(Windowsの場合は今の所 .\.config\emu{Machine Name}\)
105 *ステートセーブファイルは、$HOME/emu{Machine Name}/{Machine Name}.sta に書き込まれます。
107 *キーコード変換テーブルファイルが、$HOME/.config/emu{Machine Name}/scancode.cfg に書き込まれます。
109 書式は、カンマで区切られた16進データです(10進ではないので注意) .
111 1カラム目はM$ ヴァーチャルキーコード。
113 2カラム目はQtネィティブのスキャンキーコードです。
115 *UI部分の共通コンポーネント (src/qt/gui) を共有ライブラリlibCSPgui.soにまとめました。
117 *インストール用のBASHスクリプトを用意しました。src/tool/installer_unix.shです。
119 *ROMと同じところに、特定のWAVファイル(VMによって異なる)を入れると、FDDのシーク音やテープのボタン音・リレー音を鳴らすことが出来ます。
121 *ローマ字カタカナ変換支援機構が一部の機種に実装されてます。romaji_kana.ja.txt をお読みください。
125 a.現在、Debian GNU/Linux "sid"と、Ubuntu Linux 16.04LTS "Xenial"
126 の AMD64版でしかテストしていません。
127 が、多分他のGNU/Linux OSやBSD系のOS (Mac含む) でもビルドすれば
129 Windows もしくは GNU/Linux(要Wineとbinfmt-support)上でのMinGWと
130 Qt community edition でのビルドが通るようになりました。
131 安定したWindowsビルドを必要な方は、Visual Studio 2013 か 2015 のCommunity Edition
132 でビルドしてください。(もう少ししたら、MinGWに切り替えようとは思ってます。)
134 b. 今は、Qtの開発側が「Qt4おわりね」とアナウンスしたので、Qt4ではなく
136 添付してあるバイナリは、Qt 5.5でビルドしました(が、Qt 5.1以降なら動くはずです)。
138 c. Linux用ビルドでは、GCC 6をリンク時最適化(LTO)モードで使っています。
139 d. MZ-2500のソケット機能を実装してみていますが、マトモにテストできてません(;´Д`)
141 6. Upstream repositry:
142 https://github.com/Artanejp/common_source_project-fm7
143 https://www.pikacode.com/Artanejp/common_source_project-fm7/
146 https://osdn.jp/projects/csp-qt/
148 8. Upstream (Takeda Toshiyaさんのオリジナル)
149 http://takeda-toshiya.my.coocan.jp/
155 * SNAPSHOT March 07, 2017
156 * Upstream 2017-03-04
157 * [VM] Some devices have prepared to move to libCSPcommon_vm .
158 * [VM/FMGEN] Move FMGEN to libCSPfmgen .
159 * [WIN32] Ready to build with DLLs contain GUI and AVIO and some features.
160 * [BUILD] Selectable building.
161 * [BUILD] Add logging build-status.
162 * [Qt] Fix break device files when exiting emulator with some situations.
163 * [Win32/OpenGL/WIP] TRY: Fixing crash with OpenGL3.0 at Corei5-2420M (and Windows7) PC. See Issues.txt or Issues.ja.txt.
164 * [DOC] Update Issues.See http://hanabi.2ch.net/test/read.cgi/i4004/1483504365/30 .
165 * [EMU/DEBUGGER] Use pthread_t instead of SDL_Thread.
166 * [Qt/OSD] Remove do_call_debugger_command().
167 * [SOUND/VM] Fix choppy sounds with some devices. i.e. PCM1BIT. Thanks to Takeda-San and Umaiboux-San.
168 * [VM/FMGEN] Fix crash with GCC-5.This is issue of optimization, add "volatile" to any member(s).
169 * [BUILD/LINUX] GCC5: (MAYBE) Enable to set "USE_RADICAL_OPTIMIZE" to "YES".
170 * Built with 2dac70eb1743e2a0b778a57a1f520fce59aa6371 or newer.
172 -- Mar 07, 2017 15:55:25 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
174 * SNAPSHOT January 30, 2017
175 * Upstream 2016-12-31
176 * [VM/SOUND] Fix problems voice with PCM (at least MSX and FM-7(Reviver)).
178 See http://hanabi.2ch.net/test/read.cgi/i4004/1483504365/37 .
180 . * [VM/MB8877] Fix accessing 2D disk from 2DD mode drive (not 2D mode).
182 Fixed booting issue of REVIVER for FM-7/77/AV with FM77AV40/EX/SX.
184 * [Draw/Qt] Fix wrong aspect when using variable screen size.i.e.)emufm7/emufm77av40ex.
185 * [UI/OpenGL] Add selection of draw infrastracture; OpenGLv3(MAIN) and OpenGLv2 (and OpenGLv3.2(Core): Still not implemented).
186 * [Qt/OpenGL] Fix backgrounds not display at one-board-computer drawing with OpenGLv2.
187 * [Qt/LOG] Enable syslog *truely*.
188 * Built with cef2d4601438fd1fa680485ddba3434690e58451 or newer.
190 -- Jan 30, 2017 05:04:55 +0900 K.Ohta <whatisthis.sowhat@gmail.com>
196 [WINMAIN] add interfaces for bubble casette (thanks Mr.Artane.)
198 [EMU] add interfaces for bubble casette (thanks Mr.Artane.)
200 [VM/*] import Mr.Artane.'s fixes (Commits on Feb 18, 2017)
202 [VM/AY_3_891X] split YM2203 and AY-3-891X (thanks Mr.Artane.)
204 [VM/DISK] fix trim buffer routine for 2D disk image (thanks Mr.Artane.)
206 [VM/EVENT] support light weight sound rendering (thanks Mr.Artane.)
208 [VM/MB8877] fix seek command for 2D disk image (thanks Mr.Artane.)
210 [FM77AV] import Mr.Artane.'s fixes (Commits on Feb 18, 2017)
215 [EMU/DEBUGGER] support < command (input commands from file)
217 [X1/MEMORY] support to unmap rom by reading port 1Exxh (thanks Mr.Sato)
222 [WINMAIN] support to draw bitmap image onto buttons
224 [WINMAIN] fix to redraw pcb bitmap image when window is invalidated
226 [WIN32/SCREEN] fix to invalidate rects for 7-seg leds and buttons
228 [BABBAGE2ND] add bitmap images for buttons
230 [EX80] add bitmap images for buttons
232 [SMB80TE] add bitmap images for buttons
234 [TK80BS] add bitmap images for buttons
236 [TK85] support NEC TK-85
238 [YS6464A] add bitmap images for buttons
242 [COLECOVISION/KEYBOARD] fix not to raise irq when joystick is pressed
244 [COLECOVISION/KEYBOARD] fix joystick/tenkey inputs
246 [COLECOVISION/KEYBOARD] fix to save/load tenky enabled status
248 [SC3000/MEMORY] support 32KB+16KB or 128KB ROM carts
253 [COLECOVISION] support COLECO ColecoVision (thanks Mr.tanam)