Changes

Jump to: navigation, search

Arnold V Specs Revised

360 bytes added, 13:49, 5 August 2012
/* Soft scroll facility */
A memory mapped 8 bit soft scroll control register (SSCR) has been added within the ASIC at 6804h, to allow scrolling of the screen by pixels rather than just by characters at present. It is cleared at reset.
This soft scrolling mechanism affects the whole of the main screen , regardless of the split screen facility, but it does not affect sprites.
The lower four bits (D3-D0) of the SSCR define a horizontal delay of between 0 and 15 bits i.e. high resolution (mode 2) pixels. This shifts the screen image to the right by the value programmed , "losing" pixels behind the right border and instead displaying random data on the left. It is left to the programmer to ensure that the delay value is always a multiple of the number of bits per pixel.
The next three bits (D6-D4) will be added to the least significant three bits of the scan line address, thus determining which of the eight 2k blocks contains the data for the first scan line on the screen. the effect of this is to shift the display up by the number of scan lines programmed, "losing" what would otherwise be the first lines to be displayed, and instead appending extra lines to the bottom of the screen.
The RA output of the 6845 is defined by the current raster count plus the soft scroll value. Note that this value is compared against R9 to determine when MA should be updated to indicate the next char line, it doesn't seem to effect the 6845's line counter and raster counter, this explains why it behaves strangely when R9<7 is used, but works ok when R9>=8.
The most significant bit (D7), when set, causes the border to extend over the first two bytes (16 high resolution pixels) of each scan line, masking out the bad data caused by the horizontal soft scroll. Software which intends to use horizontal soft scroll should have this bit always set, so that the screen width does not keep changing.
Setting the SSCR to zero, as at reset, (i.e. no offsets, no border), will of course effectively disable soft scroll.  
===Automatic feeding of sound generator===
2,562
edits