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

dev/c/IBase.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Example C code for using LockIBase()
Author: dcross at mail.netshop.net (DC Ross)
Uploader:dcross mail netshop net (DC Ross)
Type:dev/c
Architecture:m68k-amigaos
Date:1996-11-04
Requires:Workbench 2.0+
Distribution:Public Domain
Download:dev/c/IBase.lha - View contents
Readme:dev/c/IBase.readme
Downloads:618

IBase.c
 programmed by DC Ross (e-mail: dcross@mail.netshop.net)
 96-11-02

Description:
  This is a little programme I wrote today to test the functions LockIBase()
and UnlockIBase().  By using a copy of IntuitionBase, you can access quite a
few useful feature of Intuition, such as the addresses of all Intuition
Screens and Windows (should work with CUSTOM and PUBLIC screens; I have only
tested PUBLIC).  Handy if you want your window to open on a screen with a
specific name.
  I haven't bothered to look through my old Workbench 1.3 Includes to see
if this can be made to work on Workbench 1.2/1.3.  If I ever feel I need
this programme on my Workbench 1.3 A500 I will try to figure it out, but
until then, you are on your own for Wb1.3 compatability.
  This code was created using the very sparce information in the ROM Kernal
Reference Manual: Libraries 3rd Edition for Workbench 2.04.  The information
can be found in Chapter 11: Intuition Special Functions on page 283.
  Send any comments, bug reports, suggestions, etc. to me via e-mail:
dcross@mail.netshop.net.

Compiling:
  Used SAS/C 6.00 with the default options in SCOptions.  Doesn't need math
or any other special options set.

Requirements:
  Workbench/Kickstart 2.x+ (tested on Wb3.0)
  Any CPU
  256K+ memory

Release Notes:
  This small example programme is placed on the Public Domain.  I accept no
responsibility for any damage/loss.  Use at your own risk.
  Feel free to use any/all of this code in your own work.


Contents of dev/c/IBase.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4283    6900  62.1% -lh5- 1e4c Nov  2  1996 IBase/IBase
[generic]                 1597    3926  40.7% -lh5- 68f5 Nov  2  1996 IBase/IBase.c
[generic]                  288     497  57.9% -lh5- e64a Nov  2  1996 IBase/IBase.c.info
[generic]                  395     835  47.3% -lh5- ea7d Nov  2  1996 IBase/IBase.info
[generic]                  908    1696  53.5% -lh5- a44e Nov  2  1996 IBase/IBase.readme
[generic]                  328     849  38.6% -lh5- e653 Nov  2  1996 IBase/IBase.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files    7799   14703  53.0%            Nov  3  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>