Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Emulator Programming

Hi,
I am curious as to how to make an emulator from the top-down (no pun intended).
Also, what is a good reference for making a GUI for my emulator?
Muchas Gracias.
Fish Man

Comments

  • Haroldo_o_pHaroldo_o_p Member Posts: 79
    [b][red]This message was edited by the Haroldo_o_p at 2002-6-11 4:17:27[/red][/b][hr]
    : Hi,
    : I am curious as to how to make an emulator from the top-down (no pun intended).
    : Also, what is a good reference for making a GUI for my emulator?
    : Muchas Gracias.
    : Fish Man
    :

    For a start, you could download the source code for some emulator (I think I saw some emulator source code here, in programmer's heaven).
    BTW, I personally don't think that doing an emulator from the top-down perspective would work: what use is to have a nice-looking GUI, if you can't get even the CPU emulation working? IMHO, you should start by doing the CPU emulation, then make some basical graphics emulation (don't do anything too complex, you don't need to emulate all the features yet, just enough to see that your emulator is working), but let the sound emulation for later. Then, after building this strong foundation, you can start the top-down coding.


  • staticgerbilstaticgerbil Member Posts: 87
    : [b][red]This message was edited by the Haroldo_o_p at 2002-6-11 4:17:27[/red][/b][hr]
    : : Hi,
    : : I am curious as to how to make an emulator from the top-down (no pun intended).
    : : Also, what is a good reference for making a GUI for my emulator?
    : : Muchas Gracias.
    : : Fish Man
    : :
    :
    : For a start, you could download the source code for some emulator (I think I saw some emulator source code here, in programmer's heaven).
    : BTW, I personally don't think that doing an emulator from the top-down perspective would work: what use is to have a nice-looking GUI, if you can't get even the CPU emulation working? IMHO, you should start by doing the CPU emulation, then make some basical graphics emulation (don't do anything too complex, you don't need to emulate all the features yet, just enough to see that your emulator is working), but let the sound emulation for later. Then, after building this strong foundation, you can start the top-down coding.
    :
    :
    :

    couple of ?'s for you...

    with an emulator is it basically a case of understanding how to program the emulated cpu, then write some code to grab code out of the say rom file workout the say pc equivelant and run that code instead? that doesnt make much sense does it. hope you understand.

    secondally what does IMHO mean??? i have been trying to figure it out for months. ill have a stab at in my honest opinion???

    cheers.
  • Haroldo_o_pHaroldo_o_p Member Posts: 79
    : : [b][red]This message was edited by the Haroldo_o_p at 2002-6-11 4:17:27[/red][/b][hr]
    : : : Hi,
    : : : I am curious as to how to make an emulator from the top-down (no pun intended).
    : : : Also, what is a good reference for making a GUI for my emulator?
    : : : Muchas Gracias.
    : : : Fish Man
    : : :
    : :
    : : For a start, you could download the source code for some emulator (I think I saw some emulator source code here, in programmer's heaven).
    : : BTW, I personally don't think that doing an emulator from the top-down perspective would work: what use is to have a nice-looking GUI, if you can't get even the CPU emulation working? IMHO, you should start by doing the CPU emulation, then make some basical graphics emulation (don't do anything too complex, you don't need to emulate all the features yet, just enough to see that your emulator is working), but let the sound emulation for later. Then, after building this strong foundation, you can start the top-down coding.
    : :
    : :
    : :
    :
    : couple of ?'s for you...
    :
    : with an emulator is it basically a case of understanding how to program the emulated cpu, then write some code to grab code out of the say rom file workout the say pc equivelant and run that code instead? that doesnt make much sense does it. hope you understand.
    :

    Well, you could do it that way (the method you described is called dinamic recompilation). The other way would be simply interpret the code: fetch one instruction, run the routine that emulates this instruction, then fetch the next instruction, and so on...

    : secondally what does IMHO mean??? i have been trying to figure it out for months. ill have a stab at in my honest opinion???
    :

    It means "In My Humble Opinion".

    See ya.
  • Shawn CarterShawn Carter Member Posts: 0

    ___ || http://forcoder.org || free ebooks and video tutorials about [ Visual Basic, MATLAB, Objective-C, Ruby, PHP, Visual Basic .NET, Go, Scratch, Assembly, Python, Java, C++, Delphi, Swift, C#, R, PL/SQL, C, JavaScript, Perl Apex, Scheme, SAS, Crystal, Dart, Logo, Prolog, Lua, Clojure, ABAP, Julia, Hack, COBOL, Lisp, Erlang, Awk, Scala, FoxPro, Ada, Alice, Rust, LabVIEW, F#, Kotlin, Transact-SQL, Bash, VBScript, Fortran, ML, D ] ______________

Sign In or Register to comment.