diff options
author | H. Peter Anvin <hpa@trantor.hos.anvin.org> | 2010-09-18 23:15:42 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@trantor.hos.anvin.org> | 2010-09-18 23:15:42 -0700 |
commit | ef31d30dad3d8660b746c47132218e6e8d7a1066 (patch) | |
tree | ef14c820731986beb949a9abc0a43a0cb7352370 /display.v | |
parent | cfae781bf19c4a5e2faa88d25f1bd56cba82f2ab (diff) | |
download | abc80-ef31d30dad3d8660b746c47132218e6e8d7a1066.tar.gz abc80-ef31d30dad3d8660b746c47132218e6e8d7a1066.tar.xz abc80-ef31d30dad3d8660b746c47132218e6e8d7a1066.zip |
display: during the prefetch interval, run at full speed
We have one character worth of prefetch, but that is one character
at full speed (80 columns). So advance the counter at full speed
during the prefetch interval. The alternative would be to adjust
the timing of the prefetch start dynamically (otherwise the text would
move between 40 and 80 column mode), but that seems to be more
complicated especially when using the FG unit.
Diffstat (limited to 'display.v')
-rw-r--r-- | display.v | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -128,7 +128,9 @@ module display ( wire do_hide = wasdble ? washide : ishide; // Should we advance the character pixel? - wire advance = width | x[0]; + // We need to always advance at full speed during prefetch, or + // we would have to start the prefetch earlier in 40-character mode. + wire advance = width | x[0] | prefetch; // Address mapping for 40 and 80 characters assign a80[3:0] = xchr[3:0]; |