[quote author=Wraggster link=board=Dev;num=1086120644;start=0#0 date=06/01/04 at 22:10:44]I know the answer is probably no, but id like to ask anyway.[/quote]Yes.
Though as a straight port from PC C code as most people would probably do, it wouldn't end up being anywhere near playable.
Though, as Bleemcast has shown us, if someone was quite familiar with assembly language, and studied the SH4 platform enough to make heavily optimized SH4 assembly code, then it shouldn't be a problem.
No one that I'm aware of who is currently active in the dreamcast development community is at that level, however.
The GP32 is an easier beast to emulate than the Playstation, so one might even get away with having full speed emulation through SH4 ASM code that isn't as well written and optimized, or even through heavily optimized C code (though I doubt that).
Optimized Assembly code will always beat optimized C code, as it is as close to directly talking with the CPU as possible (Assembly language is sent through an assembler, which translates it to machine code [0s and 1s]). C code is sent into a compiler, which basically translates it into assembly, then into machine code. So, the assembly programmer doesn't have that extra step.
The way to get the most speed, of course would be writing directly in machine code - but that is tedious and long - and hard to spot errors. Plus, no human being that I'm aware of has the patience to translate an entire program into 0s and 1s. :P
Bookmarks