Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
ZX-328N, will PlaySound command work ?

 
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode
Author Message
shrdlu



Joined: 09 Aug 2010
Posts: 2

Posted: 09 August 2010, 20:12 PM    Post subject: ZX-328N, will PlaySound command work ? Reply with quote

Does the PlaySound command work on the ZX-328n ?

Normally the SPI EEPROM is not used with this CPU but if it was connected to the SPI bus as is typical for the VM ZX's will it function ?
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 09 August 2010, 20:36 PM    Post subject: Re: ZX-328N, will PlaySound command work ? Reply with quote

shrdlu wrote:
Does the PlaySound command work on the ZX-328n ?
Yes, but perhaps not in the way you were hoping. On all ZX devices, the PlaySound() routine reads the data for the sound from Program Memory beginning at the address specified. Some VM devices use an external SPI EEPROM for Program Memory while others (and all native mode devices) use internal Flash for Program Memory.

Upon reviewing it, I see that the manual page describing PlaySound needs to be modified to make this clear.
Back to top
shrdlu



Joined: 09 Aug 2010
Posts: 2

Posted: 09 August 2010, 21:16 PM    Post subject: Re: ZX-328N, will PlaySound command work ? Reply with quote

dkinzer wrote:
shrdlu wrote:
Does the PlaySound command work on the ZX-328n ?
Yes, but perhaps not in the way you were hoping. On all ZX devices, the PlaySound() routine reads the data for the sound from Program Memory beginning at the address specified. Some VM devices use an external SPI EEPROM for Program Memory while others (and all native mode devices) use internal Flash for Program Memory.

Upon reviewing it, I see that the manual page describing PlaySound needs to be modified to make this clear.


I get it, so PlaySound works from the internal flash instead of needing an external eeprom. That's actually not bad (no eeprom required), just would not do to much with the 328n because it only has 32k of flash for program but the 1284n based stuff like has 120k flash, makes more sense for us there.

Thanks Don
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group