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

gfx/conv/CMAP2Asm.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Convert IFF/CMAP chunk to asm source/bin
Author: kenny at bgnett.no (Kenneth "Kenny" Nilsen)
Uploader:kenny bgnett no (Kenneth "Kenny" Nilsen)
Type:gfx/conv
Version:1.0
Architecture:m68k-amigaos
Date:1997-06-28
Requires:kickstart 2.0+
Download:gfx/conv/CMAP2Asm.lha - View contents
Readme:gfx/conv/CMAP2Asm.readme
Downloads:527

mailto:kenny@bgnett.no

$VER: CMAP2Asm 1.0 (27.6.97) - Freeware

Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
All rights reserved.


A little utility that can convert a FORM ILBM's CMAP chunk to assembler
source. It can convert the CMAP chunk for usage with both LoadRGB4() and
LoadRGB32() function calls. Defaults to LoadRGB32().

Purpose is to convert picture CMAP chunk so you can set colors accordingly
for your screen to suit picture.

If you need C source output (or any other source formats) please let me
know (send an email with needed format layout).


USAGE
-----

CMAP2Asm <IFF file> <asm source file> [options]


<IFF file>        - path and name on a FORM/ILBM picture file. Note that
                    24-bits picture doesn't have CMAP chunks so the program
                    will return error on those as well as none FORM/ILBM
                    picture files.


<asm source file> - path and filename on the output source file. Ready to be
                    included in your assembler source.

Options:

  -4 = format asm source for LoadRGB4().
       Default format of asm table is for use with LoadRGB32()

  -b = output in binary format instead of source (still compatible with
       the LoadRGBx() functions, but you need to 'incbin' them instead of
       'include' or paste in source).


Example usage:
--------------

	LibBase	graphics

	move.l	Viewport(pc),a0
	lea	CMap(pc),a1
	Call	LoadRGB32

	[...]

CMap:	.... [the table we got from CMAP2Asm]


FUTURE (depends on respons)
---------------------------

- Output switch for C/Basic/+++ source


Don't hasitate to send comments, suggestions and so forth to the email
address above.


Contents of gfx/conv/CMAP2Asm.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1725    2820  61.2% -lh5- bc7d Jun 27  1997 CMAP2Asm
[generic]                  944    1898  49.7% -lh5- dd06 Jun 27  1997 CMAP2Asm.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    2669    4718  56.6%            Jun 27  1997
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>