AminetAminet
Search:
84750 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/video/CV64VBlankHack.lha

Mirror:Random
Showing: ppc-warpup icongeneric icon
No screenshot available
Short:Makes VBLANK work on CyberVision64
Author: lcs at lysator.liu.se
Uploader:Martin Blom (lcs lysator liu se)
Type:driver/video
Architecture:m68k-amigaos
Date:1996-08-28
Download:driver/video/CV64VBlankHack.lha - View contents
Readme:driver/video/CV64VBlankHack.readme
Downloads:5114

The first thing I noticed when I got my CV64 last year was that the 
Workbench icons flickered a lot when I moved them.

This is because CyberGraphX cannot handle VBLANK interrupts. This means
that many functions in graphics.library are broken (VBeamPos(), WaitBOVP()
and WaitTOF() for example).

This program is a hack that solves this problem. It uses timer.device to
simulate VBLANK interrupts at the correct frequency, and also syncronizes
the interrupts with the vertical retrace bit found in all VGA chips. In
addition to that, it uses the E clock to calculate which scan line the
raster beam is at.

Sounds good? It isn't. timer.device seem to have too much overhead for this
usage. The solution is to use a CIA level 6 timer interrupt instead. I
wont do that, but feel free to do it yourself - the source is included.

The program can only be used with CyberVision64, but it should be simple to
make it work with other graphic cards, since all use VGA compatible chips.

The program and source is public domain.


Contents of driver/video/CV64VBlankHack.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  760    1554  48.9% -lh5- bae3 Aug 28  1996 CV64VBlankHack/asmfuncs.a
[generic]                 2194    3400  64.5% -lh5- 46f0 Aug 28  1996 CV64VBlankHack/CV64VBlankHack
[generic]                 2780    7230  38.5% -lh5- 841a Aug 28  1996 CV64VBlankHack/CV64VBlankHack.c
[generic]                  657    1175  55.9% -lh5- 62a0 Aug 28  1996 CV64VBlankHack/CV64VBlankHack.readme
[generic]                  405     658  61.6% -lh5- 0846 Aug 28  1996 CV64VBlankHack/smakefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    6796   14017  48.5%            Aug 28  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>