Jump to content
IGNORED

Music by PIA? Impossible?


miker

Recommended Posts

I had a 1541 demo where the drive played "msx" by repositioning... never appeared something similar on 1050?

 

You can send diag commands to move the head, but I'd say the process would probably be too slow as it needs a seperate SIO command sequence for every movement.

In all likelyhood you could do it on a drive where you could execute user supplied code on the drive's CPU.

 

Maybe something like the 1541 music has been done for the ST? From memory, you can use about 4 different stepping rates on it's drive controller, and each one generates a different sound.

Link to comment
Share on other sites

Hello all.

 

Real fantastic. What will we discouver more on A8?

 

 

This could be or not "out of the Topic" but I have a K7 with the A8 game Lone Rider from AtariSoft, an old one, and it plays some music during the loading.

I remember I put the K7 on my music system and I got Loading sound from one side and the A8 music from the other speaker.

The program loads some somne bytes and then starts the music and it loads the rest of the program.

From what I remember in my mono T.V. I only got the music. How this work?

 

 

And by the way, is there any more games on A8 like this? In my library over the years I only get this one? And with Emulator, is possible to load, in some way, this games with music?

 

 

 

And for C64, so well known about music during loading, what's the technic behind this one? Is it like on A8 "Lone Rider" game?

 

 

José Pereira.

Link to comment
Share on other sites

I remember I put the K7 on my music system and I got Loading sound from one side and the A8 music from the other speaker.

The program loads some somne bytes and then starts the music and it loads the rest of the program.

From what I remember in my mono T.V. I only got the music. How this work?

 

The tape has 2 tracks for stereo reproduction, but data is recorded on only ONE track of the tape, the other is usually empty - but for some games including the Lone raider it has mono music recorded on it...

 

sTeVE

Link to comment
Share on other sites

I remember I put the K7 on my music system and I got Loading sound from one side and the A8 music from the other speaker.

The program loads some somne bytes and then starts the music and it loads the rest of the program.

From what I remember in my mono T.V. I only got the music. How this work?

 

The tape has 2 tracks for stereo reproduction, but data is recorded on only ONE track of the tape, the other is usually empty - but for some games including the Lone raider it has mono music recorded on it...

 

sTeVE

 

 

And is this that C64 games also do? If this is the way, all computers with cassete reccorders wil perforrm this, right?

 

And in Disketes on real machines with 1050/XF551 or Commodore's 1541 is it possible in some way?

 

Thanks,

José Pereirra.

Link to comment
Share on other sites

 

 

 

And is this that C64 games also do? If this is the way, all computers with cassete reccorders wil perforrm this, right?

 

And in Disketes on real machines with 1050/XF551 or Commodore's 1541 is it possible in some way?

 

Thanks,

José Pereirra.

 

C64 loading music is done with the SID chip and a 6502 music "driver" or player, the same is it's done in demos or in games (while the game is running). Nothing to do with the tape so it's possible without one and also possible to play SID tunes when loading from disk.

 

 

Pete

Link to comment
Share on other sites

I had a 1541 demo where the drive played "msx" by repositioning... never appeared something similar on 1050?

 

are u talking about "Daisy Daisy"? the fairly infamous program that play "music" by vibrating the drive heads against the stops of a 1541?

 

Steve

 

Link to comment
Share on other sites

 

And is this that C64 games also do? If this is the way, all computers with cassete reccorders wil perforrm this, right?

 

And in Disketes on real machines with 1050/XF551 or Commodore's 1541 is it possible in some way?

 

Thanks,

José Pereirra.

José, the Atari can play music while loading from disk. You lose a voice and IIRC it takes a custom SIO load routine, but it is possible. The only game I remember which played music while loading was Phantasie (don't remember if it was I or II I had). It was a Lord of the Rings clone graphical adventure. There are several demos that do it though. Joyride is a good one.

 

Stephen Anderson

Link to comment
Share on other sites

 

And is this that C64 games also do? If this is the way, all computers with cassete reccorders wil perforrm this, right?

 

And in Disketes on real machines with 1050/XF551 or Commodore's 1541 is it possible in some way?

 

Thanks,

José Pereirra.

José, the Atari can play music while loading from disk. You lose a voice and IIRC it takes a custom SIO load routine, but it is possible. The only game I remember which played music while loading was Phantasie (don't remember if it was I or II I had). It was a Lord of the Rings clone graphical adventure. There are several demos that do it though. Joyride is a good one.

 

Stephen Anderson

Even all 4 voices can be used. To be more precise: you'll lose a timer.

 

Look here f.e.:

http://www.phys.uu.nl/~bpos/loadingmusic

 

The Total Daze loader uses 4 channels: channel 1,2 are free and channel 3&4 is combined 16bit timer for SIO, but it's used for some percussions.

 

Energy also uses 4 channels, even 2 of them are digi-voices: voice 3 and 4.

 

So, you'll lose the timer(s), but the volume only voices of ch.3 & 4 can still be used as independent voices.

Link to comment
Share on other sites

That is rather cool. It certainly doesn't seem like it would be good for the drive though. Will this burn out anything in the drive or wreck the alignment?

 

As Ste mentioned, it's banging the heads against the head-stops to generate the frequencies so I don't imagine it does it much good at all, but it never did my drives any harm back in the day and I remember running that a few times..

As for alignment ? I don't know.. I used to have the top off my drive anyway (parallel disk board inside) all the time and when the heads got stuck on track 35+ (or maybe some other reason) I just used to just slide the head back to the stops with my finger when that happened, so I've no idea how alignment sensitive they were :) I'm a little more sensitive to my hardware nowdays though those things do seem fairly bullet proof to me..

Link to comment
Share on other sites

OK - now...

 

Music is played by PIA & GTIA simultaneously (6 virtual voices with delay). "...Unplug" - GTIA only playing. Utter crap compared to "Plugged" one. Of course (un)plugged stands for tape drive connected through SIO or not. :)

 

Additionally, there's some exaple with volume changing.

 

"Binaries" - self explatanatory. Use START & SELECT to manipulate with volume. Remember to have tape drive connected or you didn't hear anything.

pia_gtia_unplug.zip

pia_gtia_plugged.zip

binaries.ZIP

volume2.zip

Link to comment
Share on other sites

PACTL bit 3 is for motor control - you should clear this bit

the true is that combination b5,b4,b3 set to 1 is forbid

 

Actually, no. That's what the Hardware Manual says, but it's actually bits 3-5 that control the motor control line, and all eight combinations are documented in pages 67-68 of the MCS6500 Family Hardware Manual. It's just that only the 110 and 111 combinations are actually useful in most cases.

 

I stuck a voltmeter across pins 4 and 8 of the SIO port on my 800XL while toggling PACTL between $00 and $30 in BASIC, and the motor control line was indeed toggling between ground and +5V.

Link to comment
Share on other sites

In my last year of school, we had a computer room with about 8 BBCs.

 

Myself and a mate set all of them up with a program that turned the cassette motor on/off with random short intervals in between.

Since it uses a relay, it sounded like a bunch of geiger counters all going off.

 

Might have to dig out my cassette player and give this a go... wonder though - would it work if you just fed the cassette motor enable line back into the audio input on a SIO cable?

 

The audio input is analog (<1.0Vpp) and Motor line is TTL +5V/0V so not same as going through tape recorder. If Atari can handle the extra voltage, on the audio input, you can get away toggling it on/off but mostly it would be clipped and risky. Going through tape recorder would be safe.

Link to comment
Share on other sites

PACTL bit 3 is for motor control - you should clear this bit

the true is that combination b5,b4,b3 set to 1 is forbid

 

Actually, no. That's what the Hardware Manual says, but it's actually bits 3-5 that control the motor control line, and all eight combinations are documented in pages 67-68 of the MCS6500 Family Hardware Manual. It's just that only the 110 and 111 combinations are actually useful in most cases.

 

I stuck a voltmeter across pins 4 and 8 of the SIO port on my 800XL while toggling PACTL between $00 and $30 in BASIC, and the motor control line was indeed toggling between ground and +5V.

 

So toggling 56 and 48 vs. 48 and 0 makes a difference on the audio circuitry.

Link to comment
Share on other sites

PACTL bit 3 is for motor control - you should clear this bit

the true is that combination b5,b4,b3 set to 1 is forbid

 

Actually, no. That's what the Hardware Manual says, but it's actually bits 3-5 that control the motor control line, and all eight combinations are documented in pages 67-68 of the MCS6500 Family Hardware Manual. It's just that only the 110 and 111 combinations are actually useful in most cases.

 

I stuck a voltmeter across pins 4 and 8 of the SIO port on my 800XL while toggling PACTL between $00 and $30 in BASIC, and the motor control line was indeed toggling between ground and +5V.

 

So toggling 56 and 48 vs. 48 and 0 makes a difference on the audio circuitry.

 

Does it? It shouldn't, according to the PIA docs, but I can't test it since I don't have a tape drive. $00 and $38 should both pull the output high.

Link to comment
Share on other sites

 

And is this that C64 games also do? If this is the way, all computers with cassete reccorders wil perforrm this, right?

 

And in Disketes on real machines with 1050/XF551 or Commodore's 1541 is it possible in some way?

 

Thanks,

José Pereirra.

José, the Atari can play music while loading from disk. You lose a voice and IIRC it takes a custom SIO load routine, but it is possible. The only game I remember which played music while loading was Phantasie (don't remember if it was I or II I had). It was a Lord of the Rings clone graphical adventure. There are several demos that do it though. Joyride is a good one.

 

Stephen Anderson

 

Stephen, actually you are loosing 2 channels so you can use 2 pokey channels while the remaining 2 are used for the sio loading procedure. but this is only possible with custom routines because the OS is touching all 4 pokey channels even only 2 are needed...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...