[comp.sys.cbm] using SID from Abacus Pascal

SDSTOLLE@PUCC.BITNET (Scott Stoller) (01/19/87)

I have Abacus PAscal on my C=64, and would like to use it with the integrated
assembler to write a music playback routine.  However, it seems that SID
cannot be accessed in the usual manner, i.e., simply 'pokeing' using the
MEM[$d201] = ....  I tried this and nothing happened.  Any suggestions?
Thanks.
Scott Stoller ( SDSTOLLE@PUCC.BITNET, SDSTOLLE@PUCC.PRINCETON.EDU,
               ihnp4!psuvax1!pucc.bitnet!sdstolle )

dickow@ui3.UUCP (01/24/87)

In this notesfile, Mr. Stooler has this question:
>I have Abacus PAscal on my C=64, and would like to use it with the integrated
>assembler to write a music playback routine.  However, it seems that SID
>cannot be accessed in the usual manner, i.e., simply 'pokeing' using the
>MEM[$d201] = ....  I tried this and nothing happened.  Any suggestions?
>Thanks.
>Scott Stoller ( SDSTOLLE@PUCC.BITNET, SDSTOLLE@PUCC.PRINCETON.EDU,
>               ihnp4!psuvax1!pucc.bitnet!sdstolle )
----------
     I am not at all familiar with the Abacus Pascal, but ordinarily the
MEM[$D2XX] should work, if it is a simple use of an all-RAM system defined
byte (char) array. First of all, double check that the SID is being properly
initialized using the above addressing. Then, if still no noise, look
carefully through the Pascal implementation documentation. It is possible
that Abacus decided to implement the MEM array with bank-switching into
RAM under I/O, thinking that people might rather store data in hidden RAM.
This is pure speculation on my part, since such a move on the vendor's part
would not be a good one...the command should work as expected. Perhaps you
could set up a bunch of constants holding SID registers for yourself as
an alternative...see if that works.

Bob Dickow (...egg-id!ui3!dickow)