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

Offline iq_132

  • Administrator
  • *****
  • Posts: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • 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: 94
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #91 on: October 26, 2015, 11:13:33 am »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • 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: 94
  • 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: 94
  • 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: 94
  • 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: 2677
  • Karma: +227/-0
  • feed the horse yumyum
Re: Romhack's WIP thread
« Reply #96 on: October 27, 2015, 04:35:47 pm »
Niiice!  How about Battle Toads?

Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • 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 gamez fan

  • Expert
  • *****
  • Posts: 517
  • Karma: +13/-1
  • 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: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • 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

  • Advanced Member
  • *****
  • Posts: 546
  • Karma: +20/-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: 94
  • 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

  • Advanced Member
  • *****
  • Posts: 546
  • Karma: +20/-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: 94
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #103 on: October 29, 2015, 02:55:56 pm »
Well...  :biggrin:

Offline gamez fan

  • Expert
  • *****
  • Posts: 517
  • Karma: +13/-1
  • 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 ;)