OSDN Git Service

[DOC] Correct how3build.qt.txt . (maybe incorrect (;´Д`))
[csp-qt/common_source_project-fm7.git] / doc / ABOUT_eFM7_1.en.txt
1 2016 New Year Anniversary & eFM-7 porting 1 anniversary,
2 "It various other and eFM-7"
3       Jan 1,2016 K.Ohta <whatisthis.sowhat _at_ gmail.com>
4
5 * Sorry, this document is written in Japanese only,
6   I can not use english well, if you interest of this
7   and you can translate from Japanese to any languages,
8   please translate this.
9   This document is released with GFDL, you can copy
10   and redistribute this document under GFDL.
11   This document is written with UTF-8.
12   This document, in the form along the GFDL (GNU Free Document License)
13   You can copy and redistribute.
14   Since English is poor write only Japanese, I'm sorry ( '· ω · `)
15   If you have some people that can be translated from Japanese into other languages, by all means ask
16   And you m (_ _) m
17
18 * Important Notice: This article has translateed by GOOGLE TRANSLATION from Japanese,
19   still not correct this article, *
20
21 1. What is this (literally)
22 As the previous stage to make a eFM-7, Common Source Code Project (below CSP)
23 From the beginning the porting to Qt + OpenGL, first anniversary in December 30 last year
24 In the previous year. So, maybe the historical value Once after perhaps 30 years out position
25 I do not know. I think (^ _ ^; to now, keep together the various miscellaneous
26 I thought that cormorant.
27
28 2. Prehistory: XM7 / ​​SDL
29 From the front, there was a very good FM-7 emulator [1] say XM7.
30 However, this did not work only on Windows.
31 At the time of what was in 2008 was that? 09 years, which the GP2X [2] and say South Korea
32 Move in the portable game machine, you want to do the Xanadu. Feeling to say that [3]
33 There were licensed thank PI., Who made the Takegami's and based on the author XM7
34 Et al., Although the PI. I have been readily agreed, how Takegami's can really
35 Or suspicious is to have been at first I was not so good, but SDL and Gtk
36 Once you show you the code and screen shots but was temporarily transplant,
37 So I was able to relatively easily license, began a full-scale work.
38
39 [1] http://retropc.net/ryu/xm7/ current development end
40 [2] https://ja.wikipedia.org/wiki/GP2X
41 [3] eventually we gave up the porting to GP2X system in the machine specs problem, but ...
42
43 In the first period, referring to the Gimons Mr. has been ported to Gtk before and after 05 years
44 In to, is a translation began from the place to transplant XM7 the latest version of the Gtk and SDL at that time.
45 On top of that, not move in GP2X that it Gtk. Simply because, on the SDL
46 Looking for a GUI tool kit that runs on, and adopted arrived to those that say that Agar [4]
47 Was is a translation.
48 [4] http://www.libagar.org/
49
50 At the time, though the balloon is variously disease, also keyboard bedridden verge
51 In a situation not a few even day to hit from the futon, even if you always died Considering now
52 And was the state was not at all funny, sew the interval that does not move the body in a disease
53 But it became of work, the head of 2010, out that there is a reasonably practical
54 came.
55 <B> However, with the exception of the Agar that a buggy </ B>.
56 On top of that, I crushed one by one the bug, to after thinking seriously load balancing on the way
57 The off-road of multi-threaded from [5] to OpenCL done before and after 2011,
58 It is developed on the went to become sluggish.
59
60 [5] This is also utilized to eFM-7 and CSP / Qt. OpenCL is,
61     Although I think that the future is not probably do so performance does not come out.
62    
63 Honke (Tagegami's version XM7) it may also be had by almost completed
64 But you may have noticed the importance of radio in the Great East Japan Earthquake, Open I2C
65 Radio [6] [7] is a large became the thing to focus on the project say.
66
67 [6] https://osdn.jp/projects/openi2cradio/
68 [7] http://sky.geocities.jp/artanejp/
69
70 All told, until close to the end even 2014, the two projects
71 Advanced, Open I2C Radio is almost stable in the mid of 2013 (I think it was)
72 On, as the next project, USB dongle for one-segment reception using RTL2832U
73 Did the project (listed in [7]) to be diverted to it to receive a shortwave and medium wave Le
74 I had interest.
75
76 About 3.XM7
77 Originally, pull the EM7 that was able to prototype a time when C ++ is not performance is put out too much
78 In order to have in the footsteps, and the GUI part and FM sound source emulator of C ++, that the C language of the body,
79 But there is a very incongruous, yet also certainly to performance also out accuracy
80 Thing that was better than my eFM7. On top of that, I was using the UI and SDL of C ++ center
81 Of adding the renderer, become a thing of repeated softening Okujoya, once the first
82 I'm want to re-create from. Desire to say that there was in the position mid-2014 (penitence).
83 On top of that, says emulator collector (and to say that Anna Wu's German
84 Will drinking? ) It is more of, to interact with Takegami Mr. from around mid-2014
85 And I like was, but ultimately Takegami Mr. and around the exchange of in English
86 Is reluctant, there was the fact that dispute.
87
88 In, you are looking at the process in Twitter, or irresponsible say anaerobic was pointing, I
89 Insanely English is poor human originally bug in Debian GNU / Linux [8], etc.
90 If forced to throw the report discussion on the development in English of the community
91 There is also a human had become usual to the, something tremendous in the process
92 I feel uncomfortable, I think, "Do not it not a place to here are of their own",
93 And also or complaining to an old friend, well also to foreign manufacturers in the person work
94 It does not is probably well-known to because it was a person (not put out the name to go, technical force domestic
95 I think the top class), me listening to grumble ... "or, per the do in English
96 Yan before Ri if there is to me to say that (^ ^) ", I mean that was pushed in the back.
97
98 Whether it was December 28, 2014.
99 After all, in the direction of Nokkeru the FM-7 system in CSP, off the rudder, git on December 30, 2014
100 To build a repository [9], it means you put the source code at the time of the latest CSP there
101 It is.
102
103 [8] Coincidentally, on December 28, 2015, Mr. Ian Murdok is by the police of assault, 亡Ku
104     It was not. It was 42.
105 [9] https://github.com/Artanejp/common_source_project-fm7
106
107 Start porting of 4.CSP
108
109 In transplantation, the first for the tool kit was using Agar.
110 <B> will move for the time being. Because it is easier to verify the work say that is </ B>.
111 So, it was the first to move the X1 Turbo and PC-8801MA. [10] On top of that,
112 Since Agar are having to buggy portability Toka various problems, another highly versatile
113 It means you decide to use the tool kit. [11]
114
115 [10] Since the software for operation verification there were a lot (^ _ ^;
116 [11] The other, move in GP2X gave up (^ _ ^;
117
118 In, What shall to use. Although I thought and, Gtk is rapidly become a 3 Arekore
119 On that has become necessary, was not good impression there is also abundance of Gnome 3 bug
120 Because, <B> Ja, Chaimashou in Qt I never used at all. </ B> and.
121 If you look, the sound relationship and the joystick did not have a standard
122 In, let's leave it to SDL. Drawing around Let's required OpenGL. Mercy is not.
123 By say, make a rough policy, is a translation went to the transplant.
124 The work itself is, there is no unity even dirty extremely're using in fumbling the Qt code
125 Although there were in, in it it is possible to put the majority of the VM in March of 2015
126 It has led.
127 Looking at the git log,
128   - On January 8, X1 almost compiler was moving roughly in passed, in Agar
129      (After a little commit fc894319809e05692fd447a5f232a46ebdf17c7)
130   - On January 10, to raise the sound spoiled of Agar, decided to convert to Qt
131      (Commit 98ac2645ec6a3798072445ac003f08d529d6065c)
132 - On January 11, it came to the compiler passes in Qt
133 (Commit 1033cc86e36b8e1d38771ef404e7d43ad07ebb39)
134 - On 12 January, the basis of the drawing system and the GUI has moved is completed VM? (However, there is a bug)
135      (Commit e5887aa7464c7276eef9d2578ea880988f3da60d)
136   - On January 13, a bug in the drawing system was also taken once it is keyboard-based
137      (Commit 6deec5abac027eca1a71fa89e485650d3c9735da)
138 Feeling called, started on December 30, trying to somehow Agar is there from 10 days
139 It was, to switch to or Qt became various unpleasant, the basis for the Qt application in a day
140 Design is increased, in one week from there, went finished the portion become now of foundation
141 It is a translation.
142 From there, so go as fast To move some of the VM, until January 28
143 Proceed [12], the full-fledged implementation of the FM-7 to to move an existing VM from there
144 Is a translation that began to. [13]
145
146 [12] commit ce574213769b2685ead0df84c81f193e519d3906 later
147 [13] Although the December 31, 2014 I was doing trying to implementation of FM-7
148      (Commit e409be1add5f6b9ddf76bada7c24469cb35ae2bc later),
149      It did not Yuka Standing variety to earlier application to the head family of Agar and Qt
150      It did became a thing ...
151
152 5.eFM-7
153 Well, if me up to this point, it is a port of the FM-7. Next, the 1980s were protected from the parents' home
154 Of Oh! I / O map and head family CSP VM code of the FM-7 to be scattered to the FM magazine and WEB on, at the time after the
155 And O'to draw the contents of the Tips specific hack in XM7 source code of which has been published, on their own
156 On began to rebuild the code (because I do not want to copyright infringement ...),
157 From February to March of 2015, is a translation went to do the implementation of the FM-7.
158 In, if not move on March 11, 2011 (coincidentally's day from the Great East Japan Earthquake of the four-year anniversary!)
159 Link now passes through [14], 6809 mistake of MPU of the description [15] and disk.cpp / mb8877.cpp
160 While fix the hour, minute and second format [16] corresponding part time at the, at the end of March is, a lot of software for the FM-7
161 Bets now works. [17]
162
163 [14] commit 65fe797cd5a681ba25c14a88566d7c80d0a8cd9a
164 [15] This is, as it is derived from that code of the version of MAME that is based on the old,
165 Of course, it miscellaneous undefined instruction has not been implemented, the movement of the flag also problems
166 was.
167 Modify work around here is not trailing until November of 2015, Kanagawa on the way
168 I went to Kawasaki library, to get a lot of (had been destroyed in my parents) material,
169 Including the portion other than the MC6809 went piled modifications to the modification.
170 Now of mc6809.cpp I'm thinking that there is no hindrance to say that the final version. But dirty (^ _ ^;
171 [16] MB8877 is, the F5, F6, F7 in the data column of the time format in command for the FDC
172      Since it has been assigned, and do not do a thing special, sector number F5~F7 is to write
173      I can not. In the 1980s, software that uses this in a personal computer to copy protection
174      There is a lot, because F5~F7 character code at the time was a "hours, minutes and seconds",
175      Special format of this hand was called "hour, minute, and second format."
176      This checks the hour, minute and second code when it was written in the sector and the gap of "hour, minute and second" ID
177      Or, it had aimed at the copy protection = protection by putting an important program
178      Time was, but many of the copy tool (such as CopyBoy7) is only in the disk drive of the user
179      Since it was able to reproduce the hour, minute and second format, Zu unstable data bits
180      Re and a special data put in a sector which is called, the change in the data is read the sector
181      And protection, such as to check that the "correct", in the hour, minute, and second protected set
182      Now go-used.
183 [17] commit 3c875fb911e484c15bfdad2f67dadb9bdedd5e75
184
185 Next was the goal, was FM77AV.
186 This is, have gained a unique device that said MMU and logical operations, linear interpolation LSI (ALU),
187 The basic command sequence of the ALU, was referring to the XM7.
188 Internal biggest reason Takegami and Mr Anna was dispute is, MESS is a device of this neighborhood
189 To be a description from XM7 it was round rip-off, but protested through Anna Mr., MESS
190 Is absolutely no answer from the community. By stemming from very playful story to say that
191 Since the, this area is going wrote careful increasing in other parts. [18]
192 Currently, the specifications have been to move, may not able to fine-ALU hack ...
193 And is a place of feeling to say (Toka drawing of the character of the Saio blade).
194 Since it has come out is somewhat of a problem with the timing calculation, we are asked to fix opportunity.
195
196 [18] in the internal structure of the ALU, what is written using the division operation of the C language in a straight line interpolation function
197 It is actually you or was from such reasons.
198
199 Including around here, the two channels of the "old days of the PC," plate, the PC emulator overall attrition
200 It is often throw a binary to listen to the bug report and improvement plan in your thread residents
201 Also became way, I think it was from around here. At the time, I did not move in Windows
202 There is the but (will be moved later).
203 This work is now been difficulties in Somehow, as most of the software is run without inconsistency
204 Became is, was June 16 days before and after. It is at stake after all three months. [19]
205
206 [19] commit 1b4320ef6229e75013478fe1ec66ed1eb3c47bd5
207
208 The following is, I made the FM-77. This was pushed forward without so much painful. However,
209 You By giving up the 400 line part of the FM-77L4 you do not have the cash.
210 However, where the boot sequence and memory map is different in subtle as well as FM-7 both 77AV is
211 Become overlooked likely, There was also that the notice from the post. In particular boot RAM around.
212
213 Well, you come up here, to DMAC implement other FM77AV40EX, inevitably
214 But is the translation ... or when the software increases have been spouting a variety of bugs that move, we have to various groped
215 So no, it took several months here Somehow.
216 Much of this time of the outcome, it has been fed back to the work of Takeda's CSP authorship.
217 Takeda-san, thank you very much m (_ _) m
218
219 ... And, on the 14th of September, AV40EX also is almost all right [20], apply to Windows from there
220 And, it is a translation that will let go transplanted all of the VM.
221 FM-8 has got a Yaruyaru fraud, but thought I going to do sloppy.
222
223 [20] commit bbf5ed7132304d6e4c19da3cb2d634923eb55a5b per
224
225 Then, build a Windows-friendly cross-development environment of using MinGW in one month less than from there
226 Or, to absorb the difference in the library of API, as much as possible included in the binary package for Win32
227 So as to, while debated of via two channels of Takeda's, leading to the now
228 It is a translation.
229
230 5. In the last moment
231 CSP also, Qt application version is also, we are still evolving. Some are proposed from my side, Takeda
232 Mr. also some things and those yelling put the proposal of the two channels of the thread residents to propose.
233 Such, of being able to something like FOSS of the best part is, I think that really be nice.
234 And, with respect to the FM-7 system, so it can not be denied especially sweet validation of AV system, doing a lot
235 Ku that there will be a pattering. But, well, because we will be doing from now on self-paced,
236 Including everyone of Takeda-san and user, everyone thank you m (_ _) m
237
238                                2016 1.1 K.Ohta <whatisthis.sowhat _at_ gmail.com>
239
240 ※ postscript:
241
242 6. bonus 1: with respect to the "1/60 of a second problem."
243 The emulator, you may say, '1/60 second problem ".
244 And the actual display, Toka speed of the display of the vertical retrace that emulation is different
245 For reasons that say Toka is often the case that the timing to synchronization is not taken, the actual display at a minimum of
246 What to do with the 1 of frame = 1 / 60th of a second of the deviation occurs. The story to say that, to eliminate this deviation
247 Often debate will occur not.
248 Something emulator you sell a deviation of less than 1/60 seconds, there you'll ne.
249 My position is something that "can not be helped even out up to 2 frames".
250 And say what it, one frame of delay a thing coming out of the difference between the out of the box, and the other
251 1 frame of delay, the Direct X and OpenGL that is caught between, was drawn to the "front of the frame period
252 Eliminate flickering by displaying things "structure have been commonly available on the OS side of the host machine,
253 So the side is because that touch directly from the application may be difficult.
254 In other words, (if vertical retrace frequency is significantly different from a little more), the worst in two frames of about displacement
255 More than vertical retrace frequency of Display is different Let's think of the can not be avoided. By say.
256 It is not intended normal applications do to stick up there, relaxation in the setting of the OS side
257 I It is a story that is also, if possible.
258 Ultimately, it would should I ask CSP side synchronized VBLANK interrupt the OS side is prepared,
259 Is Naa somehow think up such a thing. And, I think personally. So sides, the CSP
260 Please try it in people to customize based on (probably fairly or GL or Direct X or Vulkan
261 Since the code will change ...). GPLv2 is there also for that. I think such as
262 I (^ _ ^;
263
264
265 Revision history:
266 On the basis of you pointed out in the 2016-01-05 2 channel emulator comprehensive attrition,
267 Some review the description of the facts to get a license. After, add 6. Section.
268  
269 To point out about the representation of the hour, minute and second protect / format when in 2016-01-07 ↑ of the plate,
270            Have appended correction (fear s)
271