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

driver/video/SAGASleep.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Suspend or Restore the SAGA Video Output
Author:APOLLO-TEAM, flype
Uploader:flype44 gmail com (flype)
Type:driver/video
Version:0.2
Requires:AmigaOS V36+, 68000+, SAGA-core
Architecture:m68k-amigaos
Distribution:Aminet
Date:2016-06-19
Download:http://aminet.net/driver/video/SAGASleep.lha - View contents
Readme:http://aminet.net/driver/video/SAGASleep.readme
Downloads:330
History :

0.1 - Initial release.

0.2 - Added:    Check if RGB or RTG screen.
    - Added:    More consistent Error codes.
    - Modified: New path to obtain ModeID.



Usage :

Run it from CLI without any argument.

If Frontmost screen is a RGB ScreenMode :
Suspend the SAGA Video Output (Black Screen).

If Frontmost screen is a RTG ScreenMode :
1st run: Suspend the SAGA Video Output (Black Screen).
2nd run: Restore the SAGA Video Output (Back to previous VideoMode).

For more information, please read this page :
http://www.apollo-accelerators.com/wiki/doku.php?id=SAGASleep



Return Codes ($RC) :

OK, SAGA VideoMode modified    => 0  (OK)
Can't Get variable             => 10 (ERROR)
Can't Set variable             => 11 (ERROR)
Can't Delete Variable          => 12 (ERROR)
Can't retrieve ModeID          => 13 (ERROR)
Can't retrieve DimensionInfo   => 14 (ERROR)
Can't retrieve Depth of screen => 15 (ERROR)
Fail to open Graphics library  => 20 (FAIL)
Fail to open Intuition library => 21 (FAIL)
Fail to open DOS library       => 22 (FAIL)



Compilation :

Full ASM Source code is provided in archive.
Written with Devpac 3.18, code compatible with MC68000+.


Contents of driver/video/SAGASleep.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  737    1348  54.7% -lh5- 9351 Jan  4  1980 SAGASleep
[unknown]                  745    1495  49.8% -lh5- de0b Jan  4  1980 SAGASleep.readme
[unknown]                 2633   10927  24.1% -lh5- 9693 Jan  4  1980 SAGASleep.s
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         3 files    4115   13770  29.9%            Jun 19 18:20

Aminet © 1992-2019 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>