rhombusvs Posted July 28, 2011 Posted July 28, 2011 Hi Is there a register I can look at to determine the number of program lines remaining in a buffer running on CS1? I am creating a custom block of data to copy over DPRAM and this is the only number I can not find a register for. If you use background data copying it is done for you (copied to $60000) so I assume it must exist somewhere Can anybody point me to it?
steve.milici Posted July 28, 2011 Posted July 28, 2011 There is no register for this as it is calculated by PMAC on demand. Using the “DPRAM Background Data Reporting Buffer” to get the results of the “PR” command would be the easiest method. You could also setup DPR ASCII communication and place the “PR” command in the command buffer and then set the command bit and then ‘parse’ the response from the response buffer. See the description in the Turbo PMAC User Manual for details.
Recommended Posts