Author Topic: Romhack's WIP thread  (Read 23858 times)

Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • Karma: +49/-0
Romhack's WIP thread
« on: February 04, 2015, 06:44:59 pm »
Current:
Qt port
  • Sound backends:
    PulseAudio Simple (for Linux)
    QAudioOutput (not working on newer Qt versions)
  • Video backends:
    OpenGL 3.3 only
    No rotations and flips yet.
  • Inputs:
    Keyboard inputs from Qt event system (not so good)
    Joystick support (SDL)
  • Dipswitch dialog: done
  • Map game inputs dialog: partially done (no mapping support at moment)
  • Game select dialog: done


Killer Instinct (I & II):
  • MIPS3 CPU core (R4600 little endian)
    Partially done
    Needs better TBL emulation
    No x86 dynamic recompiler (only x86_64)
  • DCS:
    ADSP21xx ported from mame0.135
    Sound working (too buggy at moment)
    Needs better syncronization between MIPS and ADSP
  • IDE HDD emulation: done
    Working on raw images only (no CHDs :().


Planned:
Midway Wolf Unit (UMK3 first  :D):
  • TMS34010 CPU core:
    Already started
    Very minimal at (https://bitbucket.org/zxmarcos/tms34010emu)

    Some notes:
    Bit addressable CPU (very strange)
    Opcode encoding are hard to decode, well, at least to interpret from hardware manual.
    Some 2d raster operations
  • DCS: from KI driver?



--------
I've been working on a MIPS III cpu core to emulate Killer Instinct (I really want to see it running on FBA  :smilie: ). I have tried to port cpu from MAME, but have had no success, so I wrote this standalone application to debug my cpu and when it's done I'll port to FBA.
By now it can boot ki-l15d.u98, but doesn't pass disk test, because my ATA IDE driver is very simple at moment. There is still much work to get to the title screen.

http://i.imgur.com/MKBZMDI.png
« Last Edit: April 02, 2015, 04:43:21 pm by Romhack »

Offline dink

  • Administrator
  • *****
  • Posts: 2677
  • Karma: +227/-0
  • feed the horse yumyum
Re: MIPS III wip (for Killer Instinct)
« Reply #1 on: February 04, 2015, 06:51:12 pm »
Killer!! Looking forward to this one :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • NeoSource
Re: MIPS III wip (for Killer Instinct)
« Reply #2 on: February 04, 2015, 07:23:51 pm »
Holy whoa. Nice work man! If there's anything I can do to help, let me know.


Offline csmart

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #3 on: February 04, 2015, 08:27:55 pm »
Killer Instinct on FBA. Wow hopefully you'll have it running someday.

Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • Karma: +49/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #4 on: February 05, 2015, 02:14:06 pm »
Thanks guys.
Now with my ATA/IDE driver working (and some runtime patchs on debugger for DCS stuff), it passed disk test, now:


Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #5 on: February 05, 2015, 02:22:55 pm »
Very impressive man! Keep the good work  :biggrin:

Offline JacKc

  • FBA Dev
  • ******
  • Posts: 1562
  • Karma: +51/-0
  • Sarah Connor !?
Re: MIPS III wip (for Killer Instinct)
« Reply #6 on: February 05, 2015, 04:15:53 pm »
Well done Romhack !!!  :smilie:


Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • Karma: +49/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #7 on: February 05, 2015, 04:41:03 pm »
This is awesome \o/ but very slow :S
For in-game I'll need to implement COP1 (FPU). Inputs are working.







« Last Edit: February 05, 2015, 05:43:55 pm by Romhack »

Offline gamez fan

  • Expert
  • *****
  • Posts: 517
  • Karma: +13/-1
  • Arcade Addict
Re: MIPS III wip (for Killer Instinct)
« Reply #8 on: February 05, 2015, 04:52:02 pm »
@Romhack nice work ive enjoyed reading your progress in this thread

Offline iq_132

  • Administrator
  • *****
  • Posts: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • NeoSource
Re: MIPS III wip (for Killer Instinct)
« Reply #9 on: February 05, 2015, 08:23:05 pm »
Rombase how are you dealing with the chd? Have you implemented support for it or are you using an uncompressed raw image?
Also, have you added support for dcs yet? Is this ported from the stand-alone killer instinct emulator or MAME?
« Last Edit: February 05, 2015, 08:26:01 pm by iq_132 »


Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • Karma: +49/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #10 on: February 05, 2015, 08:55:33 pm »
I am using uncompressed raw image because the game writes to it. AFAIK mame uses diff for this.
No DCS yet. Actually I don't know how to emulate sound chips and DCS seems to be very complex piece of hardware.

Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • Karma: +49/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #11 on: February 06, 2015, 03:05:18 pm »
KI II is running :)




Offline iq_132

  • Administrator
  • *****
  • Posts: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • NeoSource
Re: MIPS III wip (for Killer Instinct)
« Reply #12 on: February 06, 2015, 04:18:41 pm »
Nice!


Offline kev

  • FBA Dev
  • ******
  • Posts: 325
  • Karma: +35/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #13 on: February 08, 2015, 06:15:29 am »
That's very cool.

Offline Freddy

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +41/-0
Re: MIPS III wip (for Killer Instinct)
« Reply #14 on: February 08, 2015, 09:46:56 am »
Great! A master piece game! Hope to see soon on FBA!
Thanks 4 your work, Romhack!  ;p