Welcome, Guest. Please login or register.


Author Topic: Enterprise program: Team Hat Trick aka Six Men One Puck (Read 47231 times)

Offline geco

  • Moderator
  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #15 on: 2016.May.28. 23:24:31 »
Good choice :) My favourite is QAOP Space, I think we inherited from Speccy :)

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #16 on: 2016.June.06. 23:44:04 »
"TEAM HAT TRICK 4 player cocktail table! Only 15 known to have been made!":
https://www.youtube.com/watch?v=f4uiqFf0OlQ

Although like someone already stated in the comments: I wonder why there are no dumps of the game available... Didn't know there were complete units. Why they haven't tried to release the roms to the public?
« Last Edit: 2016.June.06. 23:52:23 by ssr86 »

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #17 on: 2016.June.07. 10:14:02 »
But you can obtain the "normal" version Mame roms here.

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #18 on: 2016.June.07. 11:43:50 »
Didn't know the game has been actually dumped. :oops:
Funny, do you know in which version of mame the game was added?
 

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #19 on: 2016.June.07. 12:38:26 »
You have the version on the same roms page: MAME - ROMs (0.174)

It is the actual version of Mame, so a very recent release(25 May 2016).

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #20 on: 2016.June.11. 13:01:14 »
Fixed another collision bug.
Some minor changes in graphics and one changed palette (set 3 to dark cga)
Added sound but the driver is sloooow... but must suffice for now - I've had enough struggle to get to what is.

Also found out that after adding sound the clinching of players is even more irritating than I thought - it's just strangely hard to get out of it...

Only one noise channel is such a pain...

Offline geco

  • Moderator
  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #21 on: 2016.June.12. 05:04:18 »
Only one noise channel is such a pain...
You can use any of 3 tone channels also for noise, load 10h into A6h register, and set bit 4 and 5 in any of A1 , A3, A5 registers

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #22 on: 2016.June.12. 13:31:50 »
You can use any of 3 tone channels also for noise, load 10h into A6h register, and set bit 4 and 5 in any of A1 , A3, A5 registers
Thanks for the info :oops:

So with this I can have a total of 4 channels of noise?

Offline geco

  • Moderator
  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #23 on: 2016.June.12. 17:15:20 »
Thanks for the info :oops:

So with this I can have a total of 4 channels of noise?
yes, noise channel with fix frequency, and on tone channels with variable frequency.

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #24 on: 2016.June.18. 22:52:03 »
Refactored the sound driver by using the distortion swap for noise. The sounds played aren't very good... I'll try to improve them somewhat sometime.

Offline geco

  • Moderator
  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #25 on: 2016.June.19. 09:35:00 »
Refactored the sound driver by using the distortion swap for noise. The sounds played aren't very good... I'll try to improve them somewhat sometime.
Which setting do you use on port A6?
10h on A6 generate the same quality noise as noise channel.

Offline geco

  • Moderator
  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #26 on: 2016.June.19. 10:12:57 »
I checked A6 setting, If i remember well Dave ports are write only, reading them results alway 0ffh, therefore A6 setting of the game is always 0ffh, which sounds the same for my ears as 10h. Other the sounds are good I think, I played with one sound, when all two players owns the puck, and the sound was much better when I decreased the volume from 3f,3f,2f,2f to 1f,1f,0f,0f, so possibly it is enough to play with the volumes to get the best sounding.

Reading A6 I think can be removed, except if you use other A6 setting elsewhere, I would suggest to load directly A6
Code: [Select]
 01E6  3E 10        LD    A, 10
  01E8  D3 A6        OUT   (A6), A
instead of
 *01E4  DB A6        IN    A, (A6)
  01E6  F6 10        OR    A, 10
  01E8  D3 A6        OUT   (A6), A

other, the code could be smaller and littlebit faster:
at 03c3h setting the volume
Code: [Select]
    OUTI
     SET 2,C
     OUTI
instead of
     LD    A, (HL)
     OUT   (C), A
     INC   C
     INC   C
     INC   C
     INC   C
     INC   HL
     LD    A, (HL)
     OUT   (C), A

at 03d4h resetting the volume:
Code: [Select]
    XOR A
     OUT   (C), A
     SET  2,C
     OUT   (C), A
instead of
  03D4  AF           XOR   A
  03D5  ED 79        OUT   (C), A
  03D7  0C           INC   C
  03D8  0C           INC   C
  03D9  0C           INC   C
  03DA  0C           INC   C
  03DB  ED 79        OUT   (C), A

at 03edh reset all volume registers:
Code: [Select]
    XOR a
     OUT (0A8h),A
     OUT (0A9h),A
     OUT (0AAh),A
     OUT (0ABh),A
     OUT (0ACh),A
     OUT (0ADh),A
     OUT (0AEh),A
     OUT (0AFh),A
     RET
instead of
  03ED                  XOR A
  03EE  0E A8        LD    C, A8
  03F0  ED 79        OUT   (C), A
  03F2  0C           INC   C
  03F3  ED 79        OUT   (C), A
  03F5  0C           INC   C
  03F6  ED 79        OUT   (C), A
  03F8  0C           INC   C
  03F9  ED 79        OUT   (C), A
  03FB  0C           INC   C
  03FC  ED 79        OUT   (C), A
  03FE  0C           INC   C
  03FF  ED 79        OUT   (C), A
  0401  0C           INC   C
  0402  ED 79        OUT   (C), A
  0404  0C           INC   C
  0405  ED 79        OUT   (C), A
  0407  C9           RET

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #27 on: 2016.June.19. 14:14:37 »
Thanks for the tips. Applied the changes but haven't updated the files because I want to do a few more things in some other parts first.

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #28 on: 2016.July.05. 20:13:00 »
Added the ice scratches effect option.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14723
  • Country: hu
    • http://enterprise.iko.hu/
Re: Enterprise program: Team Hat Trick aka Six Men One Puck
« Reply #29 on: 2016.July.05. 20:16:32 »
Added the ice scratches effect option.
Nice! And I like the sounds!