(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-03-24 09:37 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Intro to programming. New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Koitenshin +∞

Moblin


 





Since: 12-24-05
From: Misery

Last post: 6285 days
Last view: 6285 days
Posted on 01-31-07 12:02 AM Link | Quote
Ok here's the deal. I haven't programmed in about 5 years so I have forgotten all of it. And I mean ALL of it. I eventually want to get back into programming emulators. Now I just need a push in the right direction. So what kind of Language should I start with?

I know a lot of you are programmers so if you know the names of some GOOD reference/tutorial books that would be greatly appreciated.
1337_Ac3

Shyguy


 





Since: 04-22-06
From: sweden

Last post: 6292 days
Last view: 6284 days
Posted on 01-31-07 05:39 PM Link | Quote
If you used to program emulators only five years ago i refuse to belive you don't even know where to start. Oh well, my only suggestion is that you pick up C++. Download codeblocks and install SDL for it and you're set (OpenGL is included with codeblocks). Also, here are some tutorials:

C++ introduction
OpenGL tutorials
Some SDL tutorials

I don't know of any american books about C++, but my bet is that you find them good ones at amazon.com.


(edited by 1337_Ac3 on 01-31-07 11:41 AM)
Guy Perfect









Since: 11-18-05

Last post: 6285 days
Last view: 6284 days
Posted on 01-31-07 07:34 PM Link | Quote
Since emulators are one of those things that requires speed, I highly recommend you work with straight C instead of C++ with all those other extension mumbo-jumboes. OpenGL can be used directly from C, so long as you set up a window with a viewport on the system you'll be working with. Every OS has its own audio setup, but they're all fairly similar.

C is fast, simple, and easy to use. C++ gets cluttered and tends to produce a lot of overhead. Since C is easy to learn (for the most part), I recommend you use it for emulator programming.

Note:
Much of the ZSNES emulator was recently ported from C++ to C in order to promote speed. Since then, I have noticed a significant improvement on some of the wimpier computers I've run it on.
Koitenshin +∞

Moblin


 





Since: 12-24-05
From: Misery

Last post: 6285 days
Last view: 6285 days
Posted on 01-31-07 09:51 PM Link | Quote
I know where to start, some of it is still there but I can't find any good compilers lately. Everytime I try to install Borland (latest version) and compile code it crashes.
Guy Perfect









Since: 11-18-05

Last post: 6285 days
Last view: 6284 days
Posted on 01-31-07 10:05 PM Link | Quote
Might I suggest gcc? It's very reliable and works well. One distribution you might want of it is MinGW. It can be hard to find an installer, so I've got one available here.
Jagori

150


 





Since: 11-17-05

Last post: 6284 days
Last view: 6284 days
Posted on 02-01-07 02:00 AM Link | Quote
If you want an IDE, I suggest Bloodshed Dev C++ as a good free one. It comes with MinGW if you need it, and it's good for C and C++.


(edited by Jagori on 01-31-07 08:06 PM)
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - Intro to programming. |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.030 seconds; used 372.27 kB (max 447.87 kB)