- Top Stats

Top Posters Top Topic Starters Top Topics
Gryzor 254
SuTeKH/Epy... 252
Devilmarku... 210
MacDeath 200
TFM 170
Devilmarku... 26
AMSDOS 8
MacDeath 7
SuTeKH/Epy... 7
Bytebreake... 7
Batman Forever - 63774 Views villain 21:30, 20 March 11
WIP: Now That'... - 48271 Views tastefulmr... 13:10, 29 June 11
Breaking Baud - 37335 Views ralferoo 10:55, 20 April 14
Just for laughs - 30599 Views demoniak 13:52, 30 August 11
ReSet #8 compo... - 21979 Views MacDeath 17:50, 23 June 12


Author Topic: killmax demo  (Read 1647 times)

0 Members and 1 Guest are viewing this topic.

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 371
  • Country: au
    • 8bitology
  • Liked: 159
killmax demo
« on: 18:58, 04 August 17 »
hi, just wondering how killmax music works, whether it is using samples to make a sid-like sound or whether it does something else.  Samples I guess could be machine generated? What is the CPU overhead likely for a 6128plus to play such music and why isn't there more on CPC? It is so much more 'clear and crisp' than my C64, AY/SID hybrid music.

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 954
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 691
Re: killmax demo
« Reply #1 on: 22:47, 04 August 17 »
OffseT from futurs did this player. You could find more informations on QuasarNet.
Did you ear Targhan's Mahjong sid musics ?
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 371
  • Country: au
    • 8bitology
  • Liked: 159
Re: killmax demo
« Reply #2 on: 23:29, 04 August 17 »
I haven't heard Targhan's Mahjong sid music. but i will try find it on youtube now...

Offline PulkoMandy

  • 464 Plus
  • *****
  • Posts: 337
  • Country: fr
  • Liked: 268
Re: killmax demo
« Reply #3 on: 10:56, 07 August 17 »
what the player does is used the 6128plus raster interrupt to trigger the SID voice changes. When the interrupt happens, the CPU then waits for part of the line to have more precise timings (otherwise you get only 64us resolution which is not enough).


CPU load is quite high (depends on the music you play and in particular on how high-pitched the SID voices are), but as this is interrupt-based, you can still run some code in the background, as long as it does not need precise timing (because it is interrupted all the time by the music playing).

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 616
  • Country: fr
    • urban exploration
  • Liked: 820
Re: killmax demo
« Reply #4 on: 11:10, 07 August 17 »
what the player does is used the 6128plus raster interrupt to trigger the SID voice changes. When the interrupt happens, the CPU then waits for part of the line to have more precise timings (otherwise you get only 64us resolution which is not enough).


CPU load is quite high (depends on the music you play and in particular on how high-pitched the SID voices are), but as this is interrupt-based, you can still run some code in the background, as long as it does not need precise timing (because it is interrupted all the time by the music playing).


CPU load is around 30 lines, there is no interrupt during the display of the screen as the pictures displayed use split-raster and disable interrupts. A DMA-list is modified by the player and restarted every frame.
use RASM, the best assembler ever made :p

I will survive

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 863
  • Country: fr
  • Liked: 817
Re: killmax demo
« Reply #5 on: 12:09, 07 August 17 »
The Imperial Mahjong sid is quite different, because it is Sid sample. And it takes, for three channels, 100% of the CPU. And for now, my player is custom and is not publicly shared.

However, about two or three years ago, BSC released a SID Sample player, along with a small software to create your own songs with it (CPC old). You might want to browse the forum to look for it.
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 616
  • Country: fr
    • urban exploration
  • Liked: 820
Re: killmax demo
« Reply #6 on: 12:23, 13 October 17 »
CPU load is around 30 lines, there is no interrupt during the display of the screen as the pictures displayed use split-raster and disable interrupts. A DMA-list is modified by the player and restarted every frame.


A quick update, CPU load is 24 lines max for SID+samples replay ;D
use RASM, the best assembler ever made :p

I will survive

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 371
  • Country: au
    • 8bitology
  • Liked: 159
Re: killmax demo
« Reply #7 on: 04:55, 17 April 19 »
Is Targhan's Mahjong freely available? where can I get it?

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 545
  • Country: au
  • Liked: 344
Re: killmax demo
« Reply #8 on: 05:11, 17 April 19 »
Is Targhan's Mahjong freely available? where can I get it?

You can get it from Targhan's site here.

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 863
  • Country: fr
  • Liked: 817
Re: killmax demo
« Reply #9 on: 10:10, 17 April 19 »
And in my signature :).
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 371
  • Country: au
    • 8bitology
  • Liked: 159
Re: killmax demo
« Reply #10 on: 08:25, 21 April 19 »
OffseT from futurs did this player. You could find more informations on QuasarNet.


Thanks, actually, until I read that article I never clicked as to why Toto put timers on the Play City.

Offline OffseT

  • CPC464
  • **
  • Posts: 18
  • Country: fr
    • ACE CPC Emulator
  • Liked: 56
Re: killmax demo
« Reply #11 on: 19:44, 23 April 19 »
Two versions of the player exist.


One which is working like Pulko said. It has the advantage to be almost as precise as original SID player on Atari ST, at cost of CPU usage, limited to one SID channel (this one was used there: http://www.cpc-power.com/index.php?page=detail&num=10257).
One which is DMA only: less CPU usage, acceptable precision for most ST musics, up to 3 SID channels (this one was used in Killmax).