cc68a136 |
1 | \r |
2 | \r |
3 | Compiling Symbian ports\r |
4 | -----------------------\r |
5 | First note: there is no WINS support, because I use assembly code in some\r |
6 | places and I don't think emulator is useful for this project because of it's\r |
7 | too different behaviour compared to real device. If you need wins support,\r |
8 | you will have to add it yourself. In that case, you will have to use a68k\r |
9 | instead of Cyclone and mz80 instead of DrZ80. Emulator does have support\r |
10 | for these, also there is equivalent c code for the asm stuff, but you will\r |
11 | have to dig the sources and figure everything out yourself.\r |
12 | \r |
13 | Exe:\r |
14 | Before building the exe you will need to compile Cyclone, use the included\r |
15 | vc6 project or see Cyclone.txt for more info.\r |
16 | \r |
17 | I don't use standard Symbian build methods for exe, because I use ARM\r |
18 | assembly files (*.s) and different compiler options for different files,\r |
19 | and this is difficult to achieve with .mmp files. Also I use Cylone\r |
20 | patcher, check \cyclone\epoc\ for more info. So I use custom makefile\r |
21 | instead, but to use it, UIQROOT2 environmental variable must be set to\r |
22 | the root of your UIQ SDK. So to build, you need to type something like\r |
23 | this in console window:\r |
24 | > SET UIQROOT2=C:\UIQ_21\\r |
25 | > make -f picosmall.armi noecompxl=1\r |
26 | (To use ECompXL, you must rename ECompXL's petran.exe to petran_.exe or\r |
27 | edit the makefile).\r |
28 | \r |
29 | Launcher:\r |
30 | There should be far less problems building that. Simply typing\r |
31 | > makmake PicodriveN.mmp armi\r |
32 | > make -f PicodriveN.armi\r |
33 | in console window with launcher directory set should build it without\r |
34 | problems.\r |
35 | \r |
36 | \r |
37 | Compiling GP2X port\r |
38 | -------------------\r |
39 | If you use devkitGP2X with gcc 4.0.2 and your paths are set correctly, running\r |
40 | 'make' should be enough. If you are under Linux, you may need do some\r |
41 | adjustments, like changing case of filenames or setting up paths. I am sure\r |
42 | you will figure out yourself :)\r |
43 | \r |
44 | \r |
45 | License mess\r |
46 | ------------\r |
47 | The launcher for Symbian OS is based on Peter van Sebille's projects,\r |
48 | which are released under GPL (license_gpl.txt).\r |
49 | \r |
50 | YM2612 and sn76496 sound cores were taken from the MAME project, which is\r |
51 | under it's own license (license_mame.txt).\r |
52 | \r |
53 | Dave's Cyclone 68000 core, Pico library are under simple\r |
54 | "Free for non-commercial use, For commercial use, separate licencing\r |
55 | terms must be obtained" license.\r |
56 | \r |
57 | As far as I checked, both "Free for non-commercial use" and MAME licenses\r |
58 | might be incompatible with GPL, because GPL DOES allow commercial distribution.\r |
59 | But I don't think the original copyright holders (Peter, Dave, Reesy or the\r |
60 | MAME devs) would get very upset about this "violation", as this is both free\r |
61 | and open-source project. However, the whole project most likely falls under\r |
62 | GPL now (I don't know for sure as I'm just another coder, not a lawyer).\r |
63 | Alternatively, the launcher and exe can be viewed as separate programs\r |
64 | (technically this is true, they both use separate binaries, only protocol\r |
65 | is shared), so I hope nobody sees a problem here.\r |
66 | \r |
67 | \r |
68 | Contact\r |
69 | -------\r |
70 | My e-mail: notasas(atsymbol)gmail.com\r |