Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2007, 05:57 PM
rickbdotcom
Status: Offline
Junior Member
 
Join Date: Aug 2007
Posts: 11
Rep Power: 0
rickbdotcom is on a distinguished road
Default Mame

Anybody working on porting MAME? I just started playing around a bit to try and get SDL to compile with an aim towards using it to get the SDL port of MAME on the iPhone. Of course, the real fun will be figuring out an input method so you can actually play the games once it's actually ported.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-10-2007, 03:24 AM
LuciferChaos's Avatar
LuciferChaos
Status: Offline
Member
 
Join Date: Aug 2007
Location: Chicago
Posts: 35
Rep Power: 0
LuciferChaos is on a distinguished road
Default

I don't know all that much about coding, but I'm looking to learn and figure the iPhone is a good place to start. Been using computers since the 1980's, the first computer I had was an Atari ST. I've got a basic understanding of C/C++ (read a few books, such as The C++ Programming Language by Bjarne Stroustrup) but haven't gotten into much actual coding. I thought about trying to port MAME to the iPhone as a good project. Have you started anything or do you know of anyone else or group working on it? The main problem seems to be how to emulate the controls on the iPhone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-10-2007, 05:05 PM
sumorai
Status: Offline
Junior Member
 
Join Date: Aug 2007
Posts: 15
Rep Power: 0
sumorai is on a distinguished road
Default

Quote:
Originally Posted by LuciferChaos View Post
I don't know all that much about coding, but I'm looking to learn and figure the iPhone is a good place to start.
Eh... My opinion, if you're interested, is that the iPhone is not a good place to start programming. Sure, you can write some C/C++ programs and run them in the terminal, but if you want to write real apps you're going to have to learn Objective-C and Cocoa, and then deal with trying to reverse engineer Apple's UIKit and other frameworks to make your program actually work on the iPhone. It's made a little easier because there are a number of 3rd party iPhone apps out there where the source is available, but there's great potential for extreme frustration trying to write an app for the iPhone.

If you've got a Mac, start playing with Xcode and write some Cocoa apps and that'll get you more prepared to deal with the iPhone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 08-10-2007, 11:01 PM
LuciferChaos's Avatar
LuciferChaos
Status: Offline
Member
 
Join Date: Aug 2007
Location: Chicago
Posts: 35
Rep Power: 0
LuciferChaos is on a distinguished road
Default

Quote:
Originally Posted by sumorai View Post
Eh... My opinion, if you're interested, is that the iPhone is not a good place to start programming. Sure, you can write some C/C++ programs and run them in the terminal, but if you want to write real apps you're going to have to learn Objective-C and Cocoa, and then deal with trying to reverse engineer Apple's UIKit and other frameworks to make your program actually work on the iPhone. It's made a little easier because there are a number of 3rd party iPhone apps out there where the source is available, but there's great potential for extreme frustration trying to write an app for the iPhone.

If you've got a Mac, start playing with Xcode and write some Cocoa apps and that'll get you more prepared to deal with the iPhone.
Yeah, thanks for the info. I've got a couple Macs w/ Xcode, I'm going to dig into that and see what I can get going. You ever read Mac OS X Internals: A Systems Approach by Amit Singh? I'm reading that right now, only about 150 pages into it though - out of 1600 pages total Seems to be "the bible" on OS X.
What do you think of ADC? I got a Student membership to ADC (got a nice discount on a MacBook Pro) since I'm starting college this month. I want to get a Ph.D. in Computer Science.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 08-11-2007, 09:34 PM
rickbdotcom
Status: Offline
Junior Member
 
Join Date: Aug 2007
Posts: 11
Rep Power: 0
rickbdotcom is on a distinguished road
Default

I haven't heard of anyone else doing it, so I've started working on it. I should have it up and running before too long.

http://code.google.com/p/iphone-sdl-mame/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 08-13-2007, 02:41 AM
Virtualball
Status: Offline
Junior Member
 
Join Date: Mar 2007
Posts: 27
Rep Power: 0
Virtualball is on a distinguished road
Default

Rickbdotcom, how do you build your SDL? I added the source files, but what is the command to compile it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 08-13-2007, 06:59 AM
rickbdotcom
Status: Offline
Junior Member
 
Join Date: Aug 2007
Posts: 11
Rep Power: 0
rickbdotcom is on a distinguished road
Default

Oh sorry I haven't added instructions for compiling yet on the project page, too busy trying to get MAME to work. Assuming you've got the iPhone tool chain compiled already, use these options for configure.

./configure --host=arm-apple-darwin --prefix=/Developer/SDKs/iPhone/usr --enable-shared=no

Take a look at the iphone-sdk README for setting up the SDKs/iPhone directory.

I also symlinked arm-apple-darwin-gcc -> arm-apple-darwin-cc otherwise you'll have to also specify the compiler with --build option.

Last edited by rickbdotcom; 08-13-2007 at 07:15 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 08-13-2007, 06:59 PM
Virtualball
Status: Offline
Junior Member
 
Join Date: Mar 2007
Posts: 27
Rep Power: 0
Virtualball is on a distinguished road
Default

Rickbdotcom, I'm having some trouble building SDL. Could you possibly zip your SDL folder and upload it to **********? That would be awesome
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 08-14-2007, 01:41 AM
rickbdotcom
Status: Offline
Junior Member
 
Join Date: Aug 2007
Posts: 11
Rep Power: 0
rickbdotcom is on a distinguished road
Default

If you don't have the toolchain and Developer/SDKs/iPhone directory set up correctly then you're not gonna be able to compile anything regardless. If everything is setup correctly configure should just work with those options. Get the SDL source and add/replace those files (or run the patch). Eventually this will all get added to the main SDL source tree, and I will provide a binary download of the libs and MAME. For now, if you wanna live on the bleeding edge and pretend to be an uber hacker you're gonna have to live with this level of support and figure out how to compile stuff on your own until that's done. What errors are you getting when you try to configure or compile? Take a look at config.log to get some ideas if ./configure is failing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 08-14-2007, 02:08 AM
Virtualball
Status: Offline
Junior Member
 
Join Date: Mar 2007
Posts: 27
Rep Power: 0
Virtualball is on a distinguished road
Default

I have a built toolchain and I have had it for two weeks now, it's just that when I configure SDL with your fixes, it still reverts to quartz and cocoa when compiling. It never goes to to the iPhone Video c files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Request] MAME emulator sirzrx Free Toolchain Software 3 01-07-2008 12:43 AM
What happened to MAME? swatch Free Toolchain Software 3 11-21-2007 03:10 PM
AppleTV Games: NES / MAME / ETC DaveGee AppleTV 0 04-24-2007 02:55 PM



All times are GMT +2. The time now is 06:17 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448