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

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • 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: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
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: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • 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: 58
  • 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: 92
  • 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

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
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: 92
  • 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 Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • 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: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • 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: 92
  • 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: 92
  • 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: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: MIPS III wip (for Killer Instinct)
« Reply #12 on: February 06, 2015, 04:18:41 PM »
Nice!


kev

  • Guest
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