Changes

Jump to: navigation, search

Arnold V Specs Revised

320 bytes added, 11:05, 5 April 2014
/* Automatic feeding of sound generator */
The ASIC arbitrates accesses to the parallel interface device between the "DMA" channels and the CPU, allowing only one to access it at a time. CPU accesses to the 8255 could be held off by means of wait states for up to 8 microseconds if the "DMA" channel is currently executing a LOAD instruction. After a LOAD is executed, the ASIC must put the PSG address register back as it was before. To achieve this the 8255 parallel peripheral interface and the 74LS145 decoder have been integrated into the ASIC.
 
It is confirmed that the ASIC restores:
* 8255 Port A direction. A test used the DMA to write to register 7 of the AY. While this was happening the data was read from register 7 and sent to the border. The border did change colour. If the direction had not been restored the border would have remained a single colour.
The exact timing is based on 1us cycles as follows. After the leading edge from HSYN from the 6845 there is one dead cycle followed by an instruction fetch cycle for each channel which is active (i.e. enabled and not paused). The execute cycles then follow for each active channel. All instructions execute in one cycle, except that LOAD requires at least 8 cycles. An extra cycle is added to a LOAD if the CPU is accessing the 8255, or two extra cycles if the CPU access was itself a PSG register write.
2,562
edits