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

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Romhack's WIP thread
« Reply #90 on: October 26, 2015, 11:06:35 AM »
Is this in assembly or c?


Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #91 on: October 26, 2015, 11:13:33 AM »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Romhack's WIP thread
« Reply #92 on: October 26, 2015, 11:30:55 AM »
It's C++. Code is here: https://bitbucket.org/zxmarcos/tmsemu/
Oh good! I was hoping it would be portable. Thanks. :)


Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #93 on: October 26, 2015, 03:57:30 PM »
It will be easily ported to FBA when it's ready  :smilie:.
I like to write standalone emulators first because I can have a full featured debugger to find bugs :D Debugging new core on FBA is really hard.

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #94 on: October 27, 2015, 11:35:02 AM »
I fixed the IRQ problem, it was a bugtypo in a opcode that change processor status.




T-Unit



The game isn't clearing the screen before drawing... probably my implementation of FILL XY.
The game also refuses to accept coins, but on test menu it works fine  :S
« Last Edit: October 27, 2015, 12:13:37 PM by Romhack »

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #95 on: October 27, 2015, 03:50:12 PM »
The game is now playable! the problem with coins was wrong cmos read handler.



Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #96 on: October 27, 2015, 04:35:47 PM »
Niiice!  How about Battle Toads?

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #97 on: October 28, 2015, 09:44:26 AM »
Niiice!  How about Battle Toads?
I definitely should give it a try, but atm I'm focusing on W/T-Unit because they are simpler.
btoads has a more complex video hardware.

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Romhack's WIP thread
« Reply #98 on: October 28, 2015, 03:38:49 PM »
I definitely should give it a try, but atm I'm focusing on W/T-Unit because they are simpler.
btoads has a more complex video hardware.

The Midway Y Unit Driver has some nice games more classics at any rate certainly worth considering
« Last Edit: October 28, 2015, 03:42:17 PM by gamez fan »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Romhack's WIP thread
« Reply #99 on: October 28, 2015, 03:50:49 PM »
Sheesh! Let the poor man finish what he's working on first! Excellent work Romhack. :)


Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: Romhack's WIP thread
« Reply #100 on: October 28, 2015, 04:39:34 PM »
Niiice!  How about Battle Toads?

Battle Toads should use a TMS34020 as main CPU... this microprocessor should have an enhanced instruction set compared to the TMS34010 (though I could be wrong).

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #101 on: October 28, 2015, 06:38:11 PM »
Battle Toads should use a TMS34020 as main CPU... this microprocessor should have an enhanced instruction set compared to the TMS34010 (though I could be wrong).
True, it has more 40 opcodes, however MAME implements only 5 of them. not a big deal. Opcodes implemented: https://docs.google.com/spreadsheets/d/1htNoyDN9m4psQpyl7AtJJxAdcPlzQDZ4aek6GaZ3LqQ/edit?usp=sharing

I think the hardest problem with this processor family is the graphics operations,  there are 10 operations, but they are very customizable like raster operations, etc.

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: Romhack's WIP thread
« Reply #102 on: October 29, 2015, 02:07:10 AM »
I think the hardest problem with this processor family is the graphics operations,  there are 10 operations, but they are very customizable like raster operations, etc.

They should be the first processors which include graphics oriented instructions, a kind of "pioneers-ancestors" for the current GPUs...

I'm looking forward to see the TMS340x0 processors emulated by FBA, but, obviously, there is no hurry... you're doing an excellent work, thanks a lot! :)
« Last Edit: October 29, 2015, 02:28:54 AM by Gab75 »

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #103 on: October 29, 2015, 02:55:56 PM »
Well...  :biggrin:

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Romhack's WIP thread
« Reply #104 on: October 29, 2015, 04:12:19 PM »
Well...  :biggrin:


In a Mortal Kombat like voice all i can say is Flawless Victory ;)