Re: [cc65] sid-player.

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 1999-12-01 07:48:25


sei
lda#$01
sta$d01a
lda#$7f
sta$dc0d
lda#>irq
sta$0315
lda#<irq
sta$0314
lda#$1b
sta$d011
lda#$32
sta$d012
cli

jsr musicinit

jmp *

irq jsr musicplay
    inc $d019
    jmp $febc

geeez..... this is not even worth to be called 'code' at all 8=)

btw, the MAJOR problem of playing .sid files on the real c64 is that
tunes that contain samples must be patched to work on sidplay! (so,
they will NO more work on the real c64) .... all the rest aint a
problem... NOONE cares about ntsc/pal difference (you probably already
heard a whole LOT of tunes that play at wrong speed because of that)
.... and if you cut off the header, you have more or less the 
original file.

RTFM! 8=)

Eivind Schjerven wrote:
> 
> Ullrich von Bassewitz wrote:
> >
> > Hi!
> >
> > > I wounderd if anyone has done a normal pretty stripped sid-player for
> > > the cc65 ? If so, is the source code available somewhere? or documents
> > > on the subject ?
> >
> > The SID file format is in fact executable code with a small header. One
> > problem is, that the load address of the executable code within the SID file
> > may be already occupied by the SID player code. Another problem is that the
> > real machine is not switcheable between NTSC and PAL, so you can only play
> > part of the available SIDs.
> >
> > Apart from that it should not too much work.
> >
> Okey, but i heard I had to make a irq player or something to make the
> sid file run/play. tell me more please :)
> 
> Cpix.
> ----------------------------------------------------------------------
> To unsubscribe from the list send mail to majordomo_at_musoftware.de with
> the string "unsubscribe cc65" in the body(!) of the mail.

-- 
........................................................

		            /^\
                            \ /  
      ASCII RIBBON CAMPAIGN  X  AGAINST HTML MAIL
                            / \  

........................................................

             .--.--.--.----..--.--.--.-----.----.
   C=64     /  /  /  /  .  /  .  .  /  .  /  .  /\
           /  /  /__/  /__/  /  /  /  /  /  /  / /
   PC     /     /  /  /\_/  /  /  /  __ /  /  / /
         /  /  /  /  / //  /  /  /  /  /  /  / /
   PSX  /  /  /  /  / //  /  /  /  /  /  /  / /
       /__/__/__/__/ //__/__/__/_____/__/__/ / 
       \__\__\__\__\/ \__\__\__\_____\__\__\/  Groepaz

........................................................
.. http://fly.to/hitmen-c64 ............................
..... the hitmen c64 home page .........................
.. http://www.hitmen-console.org .......................
..... hitmen psx section ...............................
.. http://start.at/hitnav64 ............................
..... biggest c64 link collection around ...............
.. http://fly.to/hitmen-groepaz ........................
..... my little personal page ..........................
........................................................
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:45 CET