Jump to content

Photo

Interfacing C= SID chip with an Atari...


136 replies to this topic

#101 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 3,457 posts
  • Location:Lisbon - Portugal

Posted Sun Nov 27, 2011 2:07 PM

Hi,

try this gem ;-) plays .sid x1,x2,x3,x4,x8 per frame.

type: xdrive.lib

sio drive and ataridos filesystem


And how can I listen the Music?
It plays them (I can see the horizontal bars/lines like in RMT) but no sound...

#102 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Sun Nov 27, 2011 2:24 PM

Altirra - System/SlightSID/enabled ?

#103 St(r)yker OFFLINE  

St(r)yker

    Chopper Commander

  • 221 posts
  • Location:Gdansk/Poland/Europ....

Posted Sun Nov 27, 2011 2:28 PM

do you have enabled slightsid?

Attached Thumbnails

  • slightsid1.jpg
  • slightsid2.jpg


#104 Stephen OFFLINE  

Stephen

    River Patroller

  • 4,876 posts
  • A8 Gear Head
  • Location:Akron, Ohio

Posted Sun Nov 27, 2011 3:20 PM

I am so far unable to get this working. The emu just crashes. I have tried NTSC, PAL, various memory sizes. I do have the latest build, and I do have the slightsid enabled. I boot the ATR, type "XAUTORUN.", then just hang to a blank screen. Do I need to pass in a song name as a parameter?

EDIT
Well, just tried passing in song name, and it still crashes.

EDIT #2
The SID Player 1.00 beta works.

#105 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Sun Nov 27, 2011 3:59 PM

try

type: xdrive.lib


:-)

#106 Stephen OFFLINE  

Stephen

    River Patroller

  • 4,876 posts
  • A8 Gear Head
  • Location:Akron, Ohio

Posted Sun Nov 27, 2011 4:31 PM

try

type: xdrive.lib


:-)

Oh - duh! I read "type" as meaning it used the xdrive.lib, not as the command :). Sounds really nice.

#107 phaeron OFFLINE  

phaeron

    Stargunner

  • 1,273 posts
  • Location:USA

Posted Sun Nov 27, 2011 5:36 PM

The disk routines in xdrive.lib are a bit buggy. First, it won't run on a 65C02 or 65C816 because it uses undocumented instructions ($CB / SBX). Second, it doesn't follow the SIO spec and only waits for the ©omplete byte for about 25ms after reception of the (A)CK byte before retrying (it takes 208ms just for a disk revolution, much less any required seek and head settling time). This causes it to fail if you have accurate disk timing enabled in Altirra.

Edited by phaeron, Sun Nov 27, 2011 5:42 PM.


#108 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Mon Nov 28, 2011 2:30 AM

repaired

Attached Files



#109 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Mon Nov 28, 2011 1:30 PM

even better:

Attached Files



#110 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Tue Dec 6, 2011 3:56 PM

new, better version. loads more SIDs.

boot & type "XBIOS"

Attached Files



#111 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • 614 posts
  • Location:Dithmarschen/ Germany

Posted Mon Jan 30, 2012 2:31 PM

I want to have one Slight-SID Cartridge.

#112 peteym5 OFFLINE  

peteym5

    Dragonstomper

  • 957 posts
  • Location:Buffalo NY USA

Posted Mon Jan 30, 2012 6:05 PM

Why not make something similar to a dual POKEY board, but instead place one POKEY + one SID and have 7 voices instead of 3 or 4. I think a big limitation of either chip is the number of voices. Address the SID at $d280 above the POKEY. Maybe put 2 POKEYS + 2 SIDS on a board or cartridge. Didn't someone have a DUAL POKEY + a 3rd chip PCM sounds?

#113 CharlieChaplin OFFLINE  

CharlieChaplin

    Stargunner

  • 1,833 posts

Posted Tue Jan 31, 2012 2:04 PM

And err,

two SID-carts for me too !!
And while we are at it, two Covox-carts for me also ! But wait, someone at Abbuc is already working on a Covox cartridge...

-Andreas Koch.

Edited by CharlieChaplin, Tue Jan 31, 2012 2:04 PM.


#114 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • 614 posts
  • Location:Dithmarschen/ Germany

Posted Tue Jan 31, 2012 2:06 PM

But this one shall first finish his work on the Turbo Freezer 2011.
Hey man, it's 2012 ;-)

#115 St(r)yker OFFLINE  

St(r)yker

    Chopper Commander

  • 221 posts
  • Location:Gdansk/Poland/Europ....

Posted Sun Aug 19, 2012 3:40 AM

atari800 / incognito / slightsid


Edited by St(r)yker, Sun Aug 19, 2012 3:41 AM.


#116 Larry ONLINE  

Larry

    River Patroller

  • 2,656 posts
  • Location:U.S. -- Midwest

Posted Sun Aug 19, 2012 6:28 AM

You made my day, S(r )yker! :) That is just too cool!

Anybody -- are there any docs or a "how to" use the Slight Sid feature of Altirra? Can one use Sid (C=) image files with a player that converts them "on the fly" or?

-Larry

#117 Mclaneinc ONLINE  

Mclaneinc

    River Patroller

  • 2,492 posts
  • Location:Northolt, UK

Posted Sun Aug 19, 2012 9:06 AM

Damn that makes me soo jealous....

Yet again we have been hit with numerous bills so my hope at getting an incognito are well and truly dashed here.

But nice to see how good it is....Still jealous :)

#118 Rybags ONLINE  

Rybags

    Quadrunner

  • 13,060 posts
  • Location:Australia

Posted Sun Aug 19, 2012 9:19 AM

There's utilities around to turn SIDs back into C64 executables but not sure if they could relocate the Sid chip references to work on SlightSid.

Sid addition is a common upgrade for C= Plus4 and it sometimes uses a different base address so maybe there are existing tools to help.

Incognito isn't required - the Sid cart should work on any machine. I'd not mind one too but Sid chips are becoming hard to find and people want too much for them - often the same price as a full working C64.

#119 TMR OFFLINE  

TMR

    River Patroller

  • 3,064 posts
  • Beeping the horn on the data bus
  • Location:Leeds, U.K.

Posted Sun Aug 19, 2012 10:05 AM

Sid addition is a common upgrade for C= Plus4 and it sometimes uses a different base address so maybe there are existing tools to help.


i'm fairly sure most people were doing the relocating by hand and there's significant variations even in different generations of the same music driver to make automating the process a bugger.

#120 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Sun Aug 19, 2012 12:00 PM

Anybody -- are there any docs or a "how to" use the Slight Sid feature of Altirra? Can one use Sid (C=) image files with a player that converts them "on the fly" or?


use rocket_science_relocator ;) if you don't want use SlightSID Player for C64 SIDs or want to use SIDs in your own programs.

_relokator
			 ldy #0
			 ldx #4
			 lda (SID_LOAD_ADRES),y
_testnxt
			 cmp mnemoniki,x
			 bne _skp
			 iny
			 lda (SID_LOAD_ADRES),y
			 cmp #$20
			 bcs _noSID1
			 iny
			 lda (SID_LOAD_ADRES),y
			 cmp #$D4			 ; SID
			 bne _noSID1
			 ISB (SID_LOAD_ADRES),y ; SlightSID
			 .byte { TOP $ffff }	 ; $0C nuts and raisins or bcc _noSID1 and del all DOP&TOP
_skp
             dex
			 .byte { DOP $ff }	 ; $04
			 .byte { TOP $ffff }	 ; $0C
			 bpl _testnxt
_noSID1
             inc SID_LOAD_ADRES
			 bne *+4
			 inc SID_LOAD_ADRES+1
			 lda SID_LOAD_ADRES+1
			 cmp SID_END_ADRES+1
			 bne _relokator
			 lda SID_LOAD_ADRES
			 cmp SID_END_ADRES
			 bne _relokator
			
			 DONE :-)
			
mnemoniki

        .byte { sta $d400 }
             ,{ stx $d400 }
             ,{ sty $d400 }
             ,{ sta $d400,x }
             ,{ sta $d400,y }

Edited by xxl, Sun Aug 19, 2012 12:58 PM.


#121 wood_jl OFFLINE  

wood_jl

    Quadrunner

  • 6,499 posts
  • Location:West TN, USA

Posted Mon Aug 20, 2012 12:42 AM

atari800 / incognito / slightsid


Awesome! Thanks for posting!

#122 Larry ONLINE  

Larry

    River Patroller

  • 2,656 posts
  • Location:U.S. -- Midwest

Posted Mon Aug 20, 2012 6:55 AM

OK, do I have this right?

If I boot the SidPlayer image (with SIDPLAY1.COM) and have the SlightSid feature enabled in Altirra 2.0 or 2.1, then one can play the songs on the menu. These songs have either been written for the SidPlayer/SlightSid or have been converted.

But as far as taking an off-the-shelf C= SID composition, then the memory locations, etc. have to be adjusted to play on the Sid Player (i.e. SP has no built-in relocation, etc.).

@XXL -- Sorry, I'm confused -- "use rocket_science_relocator ;) if you don't want use SlightSID Player for C64 SIDs or want to use SIDs in your own programs."

Do you mean use the relocator if I DO want to use a C64 SID composition with the SidPlayer?

Thanks,
Larry

#123 xxl OFFLINE  

xxl

    Dragonstomper

  • 791 posts
  • Location:KRAKOW/Poland

Posted Mon Aug 20, 2012 7:07 AM

Do you mean use the relocator if I DO want to use a C64 SID composition with the SidPlayer?


no. use it if you want use a c64 SID composition with your own program

#124 Larry ONLINE  

Larry

    River Patroller

  • 2,656 posts
  • Location:U.S. -- Midwest

Posted Tue Aug 21, 2012 4:29 PM

OK, I've got to ask it...

If all of the thousands of SID tunes would need to be "hand tuned" to work with the Atari (no available machine conversion?), then wouldn't it be heaps easier just to use a PC player or VICE (etc.) to directly play the tunes, instead of the conversion, then playing them on an Atari emulator? Machine conversion and a real SID cartridge would change the equation, IMO. If you are going to use an emulator, what difference does it make if it is Altirra or VICE or?

Maybe the cartridge could/will make the necessary relocations/conversions?

-Larry

#125 snicklin OFFLINE  

snicklin

    Stargunner

  • 1,349 posts
  • Location:Australia

Posted Wed Aug 22, 2012 10:40 AM

I recorded Cybernoid II off Altirra and converted it to an mp3. I've been playing it on my headphones at work so much the last few days. Top tune!




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users