![]() |
|
Programming Discussion Thread - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Offtopic (https://forums.dolphin-emu.org/Forum-offtopic) +--- Forum: Delfino Plaza (https://forums.dolphin-emu.org/Forum-delfino-plaza) +--- Thread: Programming Discussion Thread (/Thread-programming-discussion-thread) |
RE: Programming Discussion Thread - AnyOldName3 - 10-24-2012 (10-24-2012, 02:51 AM)NaturalViolence Wrote: The project googlecode page has a forum? Since when? Which, of course, is what i meant, as apparently they're different. RE: Programming Discussion Thread - Shonumi - 10-28-2012 Been debugging my emulated GameBoy Z80 (it's mostly finished) and LCD screen recently. The only graphical things I've done so far are the timings and writing to the scanline register (which is turning out to be quite important to get Tetris to boot). Not far enough to quite start drawing tile data yet, but I think I'm getting there. Having played emulators for like a decade now, it's great to be building one myself, finding out how a system works on various levels. Hopefully something productive will come of it. RE: Programming Discussion Thread - Shonumi - 11-04-2012 More progress :3 Finally figured out where my emulated CPU was failing (pesky jumps). Finally got a working emulated LCD screen. ![]() Need to get scrolling done, then I'll mess around with I/O registers. RE: Programming Discussion Thread - Garteal - 11-06-2012 That's a nice project Shonumi! Are you writing it all from scratch? What documentation do you use? Perhaps I'll give it a go. :3 Quote:Finally figured out where my emulated CPU was failing (pesky jumps)It's always satisfying to finally solve a problem. ![]() Are you just rendering random data, or is it an actual game? RE: Programming Discussion Thread - Shonumi - 11-06-2012 @Garteal - I'm writing it from scratch. I'm using various emulators and their source code as a base for many of the z80 operations. There's a good GB CPU PDF out there that's very helpful as well. Also, Imran Nazar's Javascript GB Emu tutorials are what I'm using to understand the emulation concepts. The only thing major it doesn't cover seems to be sound, there's some decent documentation out there. The screenshot is from a test ROM someone made for GB hacking. It's basically a little demo with a space ship that moves around. The rocks there are for the background. It's not cropped to the GB's 160x144 LCD, since I haven't implemented scrolling. When my emulated CPU was broken, I couldn't get the program to write anything to VRAM, but I finally got it to work, so I can move onto other things
RE: Programming Discussion Thread - Leo - 11-08-2012 Shonumi, What style of emulation do you use? Interpreter? Recompiler? Both? RE: Programming Discussion Thread - Shonumi - 11-08-2012 Just using a regular interpreter to emulate the CPU. This is my first attempt at making an emulator myself, so I wanted to stick to something basic. Once I start expanding, gaining more skills, and after I actually finish making this one work, I'd like to make a Z80 recompiler just to get more familiar with how recompilers can be implemented in emulators. I'd also like the chance to finally learn some x86, x64, and even ARM assembly. That's all in the future though. For now though, still sorting out a few of the LCD registers, and then getting input to work. It's been a fun educational experience so far
RE: Programming Discussion Thread - Zee530 - 11-08-2012 I'm taking a class called compiler constructions and i have absolutely no idea what you're talking about
RE: Programming Discussion Thread - Anti-Ultimate - 11-09-2012 Today, we learned about loops, and what different types there are Only pseudocode though, but i know how to do it in C# anyway
RE: Programming Discussion Thread - Garteal - 11-09-2012 Lol, about time. Were they teaching the concepts, or are they teaching a programming language? |