|
|
| Author |
Message |
shrdlu
Joined: 09 Aug 2010
Posts: 2
|
|
Posted: 09 August 2010, 20:12 PM Post subject: ZX-328N, will PlaySound command work ? |
|
|
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 ? |
|
|
| 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 ? |
|
|
| 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 |
|
 |
|