| 1 | NAME PDN\r |
| 2 | \r |
| 3 | #include <eikon.rh>\r |
| 4 | #include <eikon.rsg>\r |
| 5 | #include "picodriven.hrh"\r |
| 6 | \r |
| 7 | \r |
| 8 | RESOURCE RSS_SIGNATURE { }\r |
| 9 | \r |
| 10 | RESOURCE TBUF { buf=""; }\r |
| 11 | \r |
| 12 | RESOURCE EIK_APP_INFO\r |
| 13 | {\r |
| 14 | menubar=r_app_menubar;\r |
| 15 | hotkeys=r_app_hotkeys;\r |
| 16 | }\r |
| 17 | \r |
| 18 | RESOURCE HOTKEYS r_app_hotkeys\r |
| 19 | {\r |
| 20 | control=\r |
| 21 | {\r |
| 22 | HOTKEY { command=EEikCmdExit; key='e'; }\r |
| 23 | };\r |
| 24 | }\r |
| 25 | \r |
| 26 | RESOURCE MENU_BAR r_app_menubar\r |
| 27 | {\r |
| 28 | titles=\r |
| 29 | {\r |
| 30 | MENU_TITLE { menu_pane=r_app_emu_menu; txt="Emu"; },\r |
| 31 | MENU_TITLE { menu_pane=r_app_frameskip_menu; txt="Frameskip"; }\r |
| 32 | #ifdef __DEBUG_PRINT\r |
| 33 | ,MENU_TITLE { menu_pane=r_app_debug_menu; txt="Debug"; }\r |
| 34 | #endif\r |
| 35 | };\r |
| 36 | }\r |
| 37 | \r |
| 38 | RESOURCE MENU_PANE r_app_emu_menu\r |
| 39 | {\r |
| 40 | items=\r |
| 41 | {\r |
| 42 | MENU_ITEM { command=EEikCmdPicoLoadState; txt="Load state"; flags=EEikMenuItemDimmed; },\r |
| 43 | MENU_ITEM { command=EEikCmdPicoSaveState; txt="Save state"; flags=EEikMenuItemDimmed; },\r |
| 44 | MENU_ITEM { command=EEikCmdPicoLoadROM; txt="Load new ROM"; },\r |
| 45 | MENU_ITEM { command=EEikCmdPicoResume; txt="Resume game"; flags=EEikMenuItemDimmed; },\r |
| 46 | MENU_ITEM { command=EEikCmdPicoReset; txt="Reset game"; flags=EEikMenuItemDimmed; },\r |
| 47 | MENU_ITEM { command=EEikCmdPicoKeys; txt="Configure keys"; },\r |
| 48 | MENU_ITEM { command=EEikCmdPicoSettings; txt="Settings"; },\r |
| 49 | MENU_ITEM { command=EEikCmdHelpAbout; txt="About"; flags=EEikMenuItemSeparatorAfter; },\r |
| 50 | MENU_ITEM { command=EEikCmdExit; txt="Exit"; }\r |
| 51 | };\r |
| 52 | }\r |
| 53 | \r |
| 54 | RESOURCE MENU_PANE r_app_frameskip_menu\r |
| 55 | {\r |
| 56 | items=\r |
| 57 | {\r |
| 58 | MENU_ITEM { command=EEikCmdPicoFrameskipAuto; txt="Auto"; flags=EEikMenuItemRadioStart | EEikMenuItemSeparatorAfter; },\r |
| 59 | MENU_ITEM { command=EEikCmdPicoFrameskip0; txt="0"; flags=EEikMenuItemRadioMiddle; },\r |
| 60 | MENU_ITEM { command=EEikCmdPicoFrameskip1; txt="1"; flags=EEikMenuItemRadioMiddle; },\r |
| 61 | MENU_ITEM { command=EEikCmdPicoFrameskip2; txt="2"; flags=EEikMenuItemRadioMiddle; },\r |
| 62 | MENU_ITEM { command=EEikCmdPicoFrameskip4; txt="4"; flags=EEikMenuItemRadioMiddle; },\r |
| 63 | MENU_ITEM { command=EEikCmdPicoFrameskip8; txt="8"; flags=EEikMenuItemRadioEnd; }\r |
| 64 | };\r |
| 65 | }\r |
| 66 | \r |
| 67 | RESOURCE MENU_PANE r_app_debug_menu\r |
| 68 | {\r |
| 69 | items=\r |
| 70 | {\r |
| 71 | MENU_ITEM { command=EEikCmdPicoDebugKillEmu; txt="Kill emu proc"; },\r |
| 72 | MENU_ITEM { command=EEikCmdPicoDebugInfo; txt="info"; }\r |
| 73 | };\r |
| 74 | }\r |
| 75 | \r |
| 76 | \r |
| 77 | \r |
| 78 | /**************************************\r |
| 79 | *\r |
| 80 | * about dialog\r |
| 81 | *\r |
| 82 | **************************************/\r |
| 83 | \r |
| 84 | RESOURCE DIALOG r_dialog_about\r |
| 85 | {\r |
| 86 | title = "About";\r |
| 87 | buttons = r_buttons_continue_credits;\r |
| 88 | flags = EEikDialogFlagWait;\r |
| 89 | items =\r |
| 90 | {\r |
| 91 | DLG_LINE\r |
| 92 | {\r |
| 93 | itemflags = EQikDlgItemUseFullWidth | EQikDlgItemDenselyPacked;\r |
| 94 | type = EEikCtRichTextEditor;\r |
| 95 | id = ECtlAboutVersion;\r |
| 96 | control = RTXTED\r |
| 97 | {\r |
| 98 | flags = EEikEdwinResizable | EEikEdwinNoAutoSelection | EEikEdwinReadOnly | EEikEdwinWidthInPixels;\r |
| 99 | numlines = 4;\r |
| 100 | };\r |
| 101 | },\r |
| 102 | DLG_LINE\r |
| 103 | {\r |
| 104 | itemflags = EQikDlgItemUseFullWidth | EQikDlgItemDenselyPacked;\r |
| 105 | type = EEikCtRichTextEditor;\r |
| 106 | id = ECtlAboutLinks;\r |
| 107 | control = RTXTED\r |
| 108 | {\r |
| 109 | flags = EEikEdwinResizable | EEikEdwinNoAutoSelection | EEikEdwinReadOnly | EEikEdwinWidthInPixels | 0x00200000;\r |
| 110 | numlines = 4;\r |
| 111 | };\r |
| 112 | }\r |
| 113 | };\r |
| 114 | }\r |
| 115 | \r |
| 116 | RESOURCE DLG_BUTTONS r_buttons_continue_credits\r |
| 117 | {\r |
| 118 | buttons =\r |
| 119 | {\r |
| 120 | DLG_BUTTON { id = EEikBidYes; button = CMBUT { txt = "Credits"; }; },\r |
| 121 | DLG_BUTTON { id = EEikBidCancel; button = CMBUT { txt = "Continue"; }; flags=EEikLabeledButtonIsDefault; }\r |
| 122 | };\r |
| 123 | }\r |
| 124 | \r |
| 125 | \r |
| 126 | RESOURCE TBUF r_simple_text_about_links\r |
| 127 | {\r |
| 128 | buf= \r |
| 129 | "<f=Corinna><s=11><u>Email</u>: notasas@gmail.com"\\r |
| 130 | "<p><f=Corinna><s=11><u>Web</u>:<p>http://notaz.atspace.com"\\r |
| 131 | "<p><f=Corinna><s=11><u>Dave's Web</u>:<p>http://www.finalburn.com";\r |
| 132 | }\r |
| 133 | \r |
| 134 | \r |
| 135 | RESOURCE TBUF r_simple_text_about\r |
| 136 | {\r |
| 137 | buf= \r |
| 138 | "<f=Polo><s=26><a=center><fg=RgbDarkBlue>PicodriveN"\\r |
| 139 | "<p><f=Polo><s=10><a=center>for UIQ2"\\r |
| 140 | "<p> <p><f=Corinna><s=12>Version %S, by notaz."\\r |
| 141 | "<p><s=6> <p><s=10>Port based on PicoDrive 0.030 for Pocket PC by Dave";\r |
| 142 | }\r |
| 143 | \r |
| 144 | \r |
| 145 | RESOURCE DIALOG r_dialog_credits\r |
| 146 | {\r |
| 147 | title = "Credits and thanks";\r |
| 148 | buttons = R_EIK_BUTTONS_DONE;\r |
| 149 | flags = EEikDialogFlagWait;\r |
| 150 | items = \r |
| 151 | {\r |
| 152 | DLG_LINE\r |
| 153 | {\r |
| 154 | type = EEikCtGlobalTextEditor;\r |
| 155 | id = ECtlCredits;\r |
| 156 | control = GTXTED\r |
| 157 | { \r |
| 158 | width = 150; height = 200; numlines = 26; flags = EEikEdwinReadOnly | EEikEdwinNoAutoSelection | EEikEdwinDisplayOnly;\r |
| 159 | };\r |
| 160 | }\r |
| 161 | };\r |
| 162 | }\r |
| 163 | \r |
| 164 | \r |
| 165 | RESOURCE ARRAY r_tbuf_credits\r |
| 166 | {\r |
| 167 | items=\r |
| 168 | {\r |
| 169 | LBUF{txt="This emulator uses code from these people / projects:";},\r |
| 170 | LBUF{txt="";},\r |
| 171 | LBUF{txt="Dave";},\r |
| 172 | LBUF{txt="- Cyclone 68000 core, Pico emulation library";},\r |
| 173 | LBUF{txt="Homepage: http://www.finalburn.com/";},\r |
| 174 | LBUF{txt="E-mail: david(atsymbol)finalburn.com";},\r |
| 175 | LBUF{txt="";},\r |
| 176 | LBUF{txt="Reesy & FluBBa";},\r |
| 177 | LBUF{txt="- DrZ80, the Z80 emulator written in ARM assembly.";},\r |
| 178 | LBUF{txt="Homepage: http://reesy.gp32x.de/";},\r |
| 179 | LBUF{txt="E-mail: drsms_reesy(atsymbol)yahoo.co.uk";},\r |
| 180 | LBUF{txt="";},\r |
| 181 | LBUF{txt="Tatsuyuki Satoh, Jarek Burczynski, MultiArcadeMachineEmulator (MAME) development";},\r |
| 182 | LBUF{txt="- software implementation of Yamaha FM sound generator and";},\r |
| 183 | LBUF{txt="Texas Instruments SN76489 / SN76496 programmable tone / noise generator";},\r |
| 184 | LBUF{txt="Homepage: http://www.mame.net/";},\r |
| 185 | LBUF{txt="";},\r |
| 186 | LBUF{txt="Additional thanks:";},\r |
| 187 | LBUF{txt="- Peter van Sebille for ECompXL and his various open-source Symbian projects to learn from.";},\r |
| 188 | LBUF{txt="- Steve Fischer for his open-source Motorola projects.";},\r |
| 189 | LBUF{txt="- Charles MacDonald (http://cgfm2.emuviews.com/) for old but still very useful info about genesis hardware.";},\r |
| 190 |