![]() |
|
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 - Leo - 10-18-2012 I'm designing a personal OS in assembly( Yeah, I know it's a foolish thing, but I like assembly, and I wanna learn more^^ ) The only problem is booting it. How can Windows/Linux/MacOS take its referred loader from the booted disk, and load it in memory??? It's my only doubt. (And I've searched it on Google, but I can only find Linux/DOS bootables.) Thanks^^ EDIT: Oh, and, I forgot to ask... How Dolphin works, technically speaking? (How it handles opcodes, GC/Wii memory, Graphics, etc.) Is there a 'manual', informally speaking? XP RE: Programming Discussion Thread - NaturalViolence - 10-18-2012 Quote:I'm designing a personal OS in assembly( Yeah, I know it's a foolish thing, but I like assembly, and I wanna learn more^^ ) "Assembly" is not a language. Which specific assembly language are you using? Quote:The only problem is booting it. How can Windows/Linux/MacOS take its referred loader from the booted disk, and load it in memory??? Most likely the BIOS. Quote:How Dolphin works, technically speaking? (How it handles opcodes, GC/Wii memory, Graphics, etc.) That's a very big question. And it certainly could not be answered in a forum post. Quote:Is there a 'manual', informally speaking? XP Nope. The source code is probably the closest thing this project has to a "how it works" manual. RE: Programming Discussion Thread - Shonumi - 10-18-2012 There was a guy, Mike Saunders I believe, who used to work for Linux Format. He did what you're looking to do. IIRC, he made MikeOS from scratch in x86 assembly. The project should still be active, and since it's open source, you can look at the code to get an understanding of how it all works together. He even showed how to make a bootloader (super basic though) in a fairly recent issue, I'll have to look through my back issues later to find it. At any rate, I'm sure you could talk to him directly if you have questions. RE: Programming Discussion Thread - lamedude - 10-18-2012 See MenuetOS. RE: Programming Discussion Thread - Leo - 10-20-2012 Quote:"Assembly" is not a language.Man, if you talk on the street with a person that knows Intel x86/x64 Syntax, you can talk about assembly. It's correlated. Quote:Most likely the BIOS.Oh, REALLY? I didn't know about that!!! Man, you've saved my life!!! ¬¬ Thanks to Shonumi and lamedude, you tried to help me, instead of mumbling and flaming me. Quote:There was a guy, Mike Saunders I believe, who used to work for Linux Format. He did what you're looking to do. IIRC, he made MikeOS from scratch in x86 assembly. The project should still be active, and since it's open source, you can look at the code to get an understanding of how it all works together. He even showed how to make a bootloader (super basic though) in a fairly recent issue, I'll have to look through my back issues later to find it. At any rate, I'm sure you could talk to him directly if you have questions.THAT is the response of my question. (Especially about the BOOTLOADER!!!!) EDIT: Huh, and, about the manual, I've found something similar... http://www.hitmen-console.org/ RE: Programming Discussion Thread - NaturalViolence - 10-21-2012 Quote: Man, if you talk on the street with a person that knows Intel x86/x64 Syntax, you can talk about assembly. It's correlated. But I don't know which assembly language you're talking about until you tell me. I can't figure out that you're using x86, arm, mips, etc. until you tell me that you're using x86. Which is why I asked. Quote:Thanks to Shonumi and lamedude, you tried to help me, instead of mumbling and flaming me. I fail to see how anything I said could be considered flaming. You asked questions and I tried to answer them based on my interpretation of what you were asking. When I didn't have the information that I felt was necessary to fully answer a question (such as which ISA/assembly language you were trying to use) then I asked for it. That's not flaming. RE: Programming Discussion Thread - Leo - 10-24-2012 Sorry 'bout that, NaturalViolence. There was a misunderstanding here. (Of my part, obviously.) =P Yeah, It'll be Intel x86_64 Assembly. ^^ Oh, and I've found this: http://www.multigesture.net/wp-content/uploads/mirror/zenogais/Dynamic%20Recompiler.html Alright, is it simple to write a simple recompiler like that?(Calm down with me, I'm just a noob in Dynarec¬¬) Because when the X86Emitter::ExecuteBlock function executes the array of compiled opcodes, it throws an 'Unhandled exception - access violation' (I've never seen something like that!!). This doesn't make sense! Or this code is just to show things up? Is there another processing on that opcode array that has to be done? (I had to do some modifications, like the uncompilable X86Emitter::SibSB function) This is one of my answers about Dolphin and its JIT Rec, how does, after the emitting, it executes the block??? ![]() ![]() ![]() (Who are the real developers of Dolphin here on the forum?) RE: Programming Discussion Thread - AnyOldName3 - 10-24-2012 Most of the developers hang out on the googlecode dolphin forums. Only a few of them are regularly here. RE: Programming Discussion Thread - NaturalViolence - 10-24-2012 The project googlecode page has a forum? Since when? @Leo They hang out on IRC. Network: efnet Channel: #dolphin-emu RE: Programming Discussion Thread - Zee530 - 10-24-2012 I wrote a CA on compilers construction today, it wasnt easy |