• R/O
  • HTTP
  • SSH

common_source_project-fm7: Zusammenfassung des Repository

Common Source Code Project for Qt (a.k.a for FM-7).

Neueste Commits RSS

Rev. Zeit Autor Nachricht
0714938 2017-12-10 19:58:05 K.Ohta master [DOC] Update for test release.
c15048e 2017-12-07 19:08:34 K.Ohta [BUILD][COMMON_VM] Update SOVERSION.
e6919bf 2017-12-07 19:07:54 K.Ohta [VM][FN7][MAINIO] Fix Z80 halting timing.
b201a0f 2017-12-07 18:48:40 K.Ohta [BUILD][FM7] Add support Z80-Card.
bb5d015 2017-12-07 18:47:53 K.Ohta [VM][FM7] Fix switching sequence via 6809 : Z80.
6ee8921 2017-12-07 18:46:46 K.Ohta [VM][MC6809] Not push PC when halting.
2914ae0 2017-12-07 18:45:25 K.Ohta [VM][Z80][DEBUGGER] Call debugger even BUSREQ. [VM][Z80] ...
58ae898 2017-12-07 17:29:05 K.Ohta [UI][Qt][FM7] Update with Z80 card.
ae1532a 2017-12-07 17:28:17 K.Ohta [VM][FM7] Apply before commit of MC6809. [VM][FM7] Initia...
a5a0c73 2017-12-07 17:25:36 K.Ohta [VM][MC6809] More accurate emulation around HALT/BUSREQ a...


Name Rev. Zeit Autor Nachricht
master 0714938 2017-12-10 19:58:05 K.Ohta [DOC] Update for test relea...


** Qt porting for Common Source Code Project **
                                           Sep 09, 2016
	      K.Ohta <whatisthis.sowhat _at_ gmail.com>

0. About
   This package is Qt5 porting of Common Source Code Project (CSP).
   Building with GNU/Linux(64bit) and MinGW(32bit Windows).
1. Background
   Common Source Code Project (CSP) is good emulator writing.
   But codes are specified to M$ Visual C.
   I'm using GNU/Linux, and I starting to apply FM-7(or later).
   So, I start to port to GNU/Linux and using Qt4.
   * Note: You can build with MinGW32 and Qt 5.5.1(for MinGW).

   * TIPS: If emufoo.exe don't show screen drawing, set environment 
           variable QT_OPENGL to software (i.e. Using Windows as VirtualBox's gueat OS).
2. What you need at least:
   a. Qt5 (neither Qt3 and Qt4) toolkit.
   b. Some OpenGL implementation, maybe at leaset OpenGL v3.0 .
   c. gcc / g++ (4.7 or later? ) or llvm clang / clang++ (3.5 or later?) toolchain.
   d. SDL2 (not SDL1.x).
   e. CMake 2.8 or later.

3. How to build:
   After extracting (or git pulled) sourcecodes:
   $ cd {srctop}/source/build-cmake/{Machine name}/
   $ mkdir build
   $ cd build
   To configure:
   $ cmake ..
   $ ccmake ..

   To build:
   $ make

   To install:
   $ sudo make install

4.Qt specified notice (for non-Windows):
   ・Place R@Ms under $HOME/emu{Machine Name}/ , this directory has made
     after first using.
   ・Config file, {foo}.ini is written on $HOME/.config/emu{Machine Name}/ .
   ・Saved state file, {foo}.sta is written on $HOME/emu{Machine Name}/ .
   ・Key code conversion file is written on $HOME/.config/emu{Machine Name}/scancode.cfg .
     This file contains comma separated fields, written at hex-decimal (not decimal), 
     first is M$ Virtual Key Code,
     second is Qt's scan code.
a. I tested to build only under Debian GNU/Linux "sid".
   But, perhaps, will succed to build another GNU/Linux OSs or BSD OS variants.
   * On windows, using MinGW is already okay.
   * Cross building with GNU/Linux's MinGW32 and Qt5.5.1 (for MinGW) is available. 
     Modify and use build-cmake/config_build_cross_win32.sh and related *.cmake files.
   * And, you can also build with M$ Visual Studio 2013 or 2015.
  b. Now, I using Qt5 as toolkit, because authors of Qt announced
     "Qt4 is obsolete, will be updated no longer".

  c. All of virtual machines of upstream (@Dec 17, 2015) are already ported to Qt.
  d. Now using GCC-5.2 with Link Time Optimize to build for distrubuted binaries.

6. Upstream repositry:
7. Upstream (Takeda Toshiya San's original code) 

Have fun!
-- Ohta.
Show on old repository browser