Realfun 3

Page 15/15
8 | 9 | 10 | 11 | 12 | 13 | 14 |

By Arjan

Paladin (765)

Arjan's picture

24-01-2022, 19:49

What does the CPU meter indicate? Is each block 12.5% CPU time? Is it just for generating the audio stuff or also the waveform visualization?

By santiontanon

Paragon (1633)

santiontanon's picture

24-01-2022, 20:41

ARTRAG wrote:

It works on the isr with minimal CPU overhead
It costs 32 +2 byte per frame actually

Wow!!! Then even more amazing!

By GhostwriterP

Hero (659)

GhostwriterP's picture

24-01-2022, 21:40

Quote:

What does the CPU meter indicate? Is each block 12.5% CPU time? Is it just for generating the audio stuff or also the waveform visualization?

It's a basic idle time counter, which includes also the time required to draw the waveform visualizations. These visualizations are actually quite demanding, almost 1 block per channel IIRC. It is mostly indicative how busy the R800 is and is not an indication on what the CPU load is for the final in-game (z80) re-player. In the editor everything is calculated on the fly, in the re-player everything will be pre-computed.
Still, with all the waveform updates going on, it will have a 1 int peak load up to ~20% of z80 (on 60hz) and 4 int peak load average of ~16% (considering SCC+ with PSG). A few post back I posted an re-player CPU load overview for a couple of songs.

By Arjan

Paladin (765)

Arjan's picture

25-01-2022, 15:43

Thanks! I found the overview on page 8. 20% is quite good.

By GhostwriterP

Hero (659)

GhostwriterP's picture

27-03-2022, 18:25

So, last couple of months I have implemented isr sample playback in the re-player (and .r3m to re-player format converter). For those who are interested in the z80 re-player, you can get it here: realfun3_rom_replayer_v051
Still plenty of (little) things to be done. But in case you are thinking about using realfun 3 music in your game, this will give you something to work with already.
Also I covered another song: End_of_the_dark
Enjoy!

By ARTRAG

Enlighted (6832)

ARTRAG's picture

27-03-2022, 21:44

Thanks for this awesome work! Big smile

By ARTRAG

Enlighted (6832)

ARTRAG's picture

28-03-2022, 21:16

I think this should go in the news with a link to the player files.

Page 15/15
8 | 9 | 10 | 11 | 12 | 13 | 14 |