Music during loading. Is it possible?

Page 1/3
| 2 | 3

Par DaikuMaryuGaiking

Expert (128)

Portrait de DaikuMaryuGaiking

25-10-2021, 01:55

Hi!

I know that on the Commodore 64, during the loading of games, both cassette and disc, music was often inserted, in some cases even small video games such as Space Invaders or Pacman.

Is the same thing possible on MSX-1 ?

Thanks! Smile Smile

!login ou Inscrivez-vous pour poster

Par Wlcracks

Hero (572)

Portrait de Wlcracks

25-10-2021, 06:05

Fun question.

With opl4 or musicmodule you could play looping samples, because the unit is standalone

With a basic msx, maybe cassette if you write your own cassette loaders. The psg can produce sound while loading, the interrupts are disabled. Disk loading the interrupts are sometimes disabled, so the timing would be bad.
In theory it would be possible.
I think msx can do a lot if you really want. Coding your custom loaders it could be done.

Par Randam

Paragon (1431)

Portrait de Randam

25-10-2021, 07:27

There at least is a big demo (i don't remember which) that has samples in the MSX Audio that are played while loading.

Par TheKid

Paragon (1238)

Portrait de TheKid

25-10-2021, 07:31

I can confirm that with the philips music module with samples you can, we used that a lot in our 4 mega demo’s. Playing a song is a different matter.

Par Metalion

Paragon (1629)

Portrait de Metalion

25-10-2021, 07:48

If you write your own loader, everything is possible.

Par tfh

Prophet (3430)

Portrait de tfh

25-10-2021, 08:19

Randam wrote:

There at least is a big demo (i don't remember which) that has samples in the MSX Audio that are played while loading.

That is probably Fony DemoDisk #2

Par [D-Tail]

Ascended (8263)

Portrait de [D-Tail]

25-10-2021, 08:51

Randam wrote:

There at least is a big demo (i don't remember which) that has samples in the MSX Audio that are played while loading.

And NOP's Unknown Reality.

Par SjaaQ

Champion (381)

Portrait de SjaaQ

25-10-2021, 10:21

Music is not a real problem when you would be willing to sacrifice loading speed, music timing and load from SD/HD.

Whenever you load data, interrupts might be disabled which screws up timing. You need to load less bytes at the same time to allow for more interrupts (slower loading).

Disk loading using the BIOS disables a lot of interrupts and therefore it will have the most impact. Traxplayer or the screen 3 animations we did actually did the loading of data from disk directly from the hardware and we could interleave sample playing with loading data.

The project we are working on now does a lot of sample loading and cannot play music because of that. Everything is sample based and the OPL4 does not support playering and uploading data to sram at the same time.

Par DaikuMaryuGaiking

Expert (128)

Portrait de DaikuMaryuGaiking

25-10-2021, 13:47

Thanks for all the information, although I ask for something very basic, just like on the C64, that is, PSG music when loading a game on MSX1 base.
Considering that reading on floppy would have interrupt problems, at least with the cassette is it possible to have music and stable loading? ... or maybe a minigame?

Example:

C64 Tape Invaders loader

Par santiontanon

Paragon (1832)

Portrait de santiontanon

25-10-2021, 16:50

It is definitively possible, since if I don't remember wrong, the "Mutant Zone" game for MSX1 id it! (I'm speaking from memory, so, I might be wrong), but I think it has a minigame while loading, with music.

Par Timmy

Master (200)

Portrait de Timmy

25-10-2021, 23:00

DaikuMaryuGaiking wrote:

Thanks for all the information, although I ask for something very basic, just like on the C64, that is, PSG music when loading a game on MSX1 base.

It is very basic on the C64, because loading games on the C64 is very S...L...O...W..., and they don't know better.

To be honest, the theory to do things during loading is the same as on the Spectrum, and is just as easy* as writing on the C64 or the Spectrum. But the MSX is just basically blessed with instant loading. And on the Spectrum, loaders are just better too.

*Note: writing specialised loaders on the C64 and the Spectrum is not easy, nor basic (but also not very hard if you know how).

PS. Didn't some MSX demos also play music and other stuff while loading? I wouldn't be surprised if this had already happened.

Page 1/3
| 2 | 3