Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Emulation in Delphi

  1. #1

    Emulation in Delphi

    Hi all, I am new to this board, and know almost nothing on game programming however with the success of the Quake 2 Delphi project I began to wonder why there aint any Emulator to Delphi conversion project.

    So I have decided to set up a sort of Emulation 2 Delphi project, so anyone with some C/C++ and Delphi knowledge interested drop me a mail at maniac_n@hotmail.com, or post to this topic (wich I will try to check often)

    The main idea thus far is to convert emulators to Delphi, clean up the code, make them libraries and then make an all delphi emulator

  2. #2

    Emulation in Delphi

    A lot of emulators use tons of assembly code, which means that they're not really "C++". But I like this idea (no free time at the moment, though, so I can't help just now, but I do have C++ experience if you need it). Do you have any idea about what emulators to convert yet?
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

  3. #3

    ASSEMBLER

    Well I know of a couple wich use not too much assembler, however in any situation, assembler is handled perfectly by delphi I will write down your data cuz I am going to need many C++ and delphi seasoned programmers

    As for wich emulators to convert well I have a couple of them in mind:

    [list=1][*]NES Emulation FCE Ultra[*]SNES Emulation ZSNES[*]Gameboy, Gameboy Color, Gameboy Advance VisualBoy Advance[*]Sega Genesis, Master System, Game gear Gens[/list]

  4. #4

    Emulation in Delphi

    This is slightly off-topic, but I've found a couple of Delphi emulators out there. One of them is pretty old and was on Turbo in days of yonder: WinNES. The other one looks to be active: http://imperiopso.brinkster.net/sayarx/

    Not really relevant to what you want, I guess, but interesting nonetheless!

    If I were to get involved then I'd definitely take dibs on Gens (note my avatar, after all ). I didn't even realise that it was open-sourced! But that's all hypothetical once again.
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

  5. #5

    Emulation in Delphi

    There's also a GameBoy emulator at http://www.stud.tu-ilmenau.de/~hackbart/written in delphi.
    Signature:
    <br />This is a block of text that can be added to posts you make. There is a 255 character limit

  6. #6

    Thx

    I didnt know there were emus written in Delphi , I am checking on the info, the nes one seems to have the code available if it's not too much asmed (heavy assembler use) I think it could be used, but the Sega Master System one seems to be not opensource

  7. #7

    Re: Emulation in Delphi

    I wrote a NES emulator in Delphi 4. It uses DirectX 7 and isn't particularly fast. It was my first emulation project and uses a simple case statement for the opcode emulation.

    My site is down after changing ISP, but I can send you the files if you want?

    The delphi OOP coding in there isn't great either as it was an early project.

    EDIT: My old site is still there....

    http://www.btinternet.com/~chris.r.millward/main.htm

    Project was called CMNES. If you have any questions just fire em at me
    http://www.c5software.co.uk (site is being developed at the moment)

  8. #8

    Very interested

    the project as far as I conceive it is to make robust emulators in delphi, thus I am interested in getting the nes emulator, and dont worry most of the emulators out there use case for opcodes unless they do it with assembler

  9. #9

    Re: Very interested

    Quote Originally Posted by CPN
    the project as far as I conceive it is to make robust emulators in delphi, thus I am interested in getting the nes emulator, and dont worry most of the emulators out there use case for opcodes unless they do it with assembler
    http://www.btinternet.com/~chris.r.m...es/options.htm

    Just don't laugh at some of the code

    There are also several problems identified since I wrote it, namely the fact that I used TWordArray as psuedo memory, yet for games larger than 32Kb this isn't sufficient. At the time I spent hours messing around trying to work out why certain memory mappers were not working and thats probably why

    I got as far as starting the sound emulation, but as it was the first time I had emulated sound it was bloody hard The first sound channel is sort of emulated but very poorly and I can't remember if the last posted source contained the sound release or not.

    EDIT: There is also a problem identified with DirectX compatibilty. I noticed that the executable wont run on newer versions of DirectX. It was coded around the time DX7 was the latest release. There was a bug either in the code itself, or in the headers from Clootie. If you load the source and change the DirectInput section to accomodate the DX8 interface it appears to work again.
    http://www.c5software.co.uk (site is being developed at the moment)

  10. #10

    Emulation in Delphi

    NESten was done in Delphi, so were a lot of other emluators like DPCE (a PC-Engine emulator), check out the link below for a quick emulator/language listing:

    http://www.multiplayer.it/itaprogami...u_sorgenti.asp

    P.S. I love the idea of a Delphi based emulation site. Especially if it will include examples and simple tutorials to get people started working on new emulation projects.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •