home *** CD-ROM | disk | FTP | other *** search
- *************************************************************************
- * *
- * AMOS 1.3 TURBO extension library v1.6 *
- * *
- * *
- * *
- * MANUEL ANDRE *
- * Prins Boudewijnlaan 155/5 *
- * 2610 WILRIJK *
- * *
- * BELGIUM *
- * *
- * *
- * DIAL 03/449.54.18 *
- * *
- *************************************************************************
-
- %%% !!!! To all users : read this doc-file carefully... !!!! %%%
- %%% !!!! This doc includes all new commands and can be used to !!!! %%%
- %%% !!!! have a quick view at them. !!!! %%%
- %%% !!!! They will be included in the main doc file when a newer!!!! %%%
- %%% !!!! version is released. !!!! %%%
-
-
- Object Limit X :
- Sets the maximum amount of objects. You MUST set the limit
- before you can reserve and define the objects.
- When X is set to zero, the OBJECT structure is erased from
- memory.
- In the previous versions of TURBO and TEST EXTENSION you
- could define max. 32 objects. Now there are no more limits !
- You can define upto 32.000 objects.
- Old object files are compatible with the new ones !
-
- F Draw X,Y :
- Does the same thing as Draw To X,Y. But it is up to 200% faster
- than the original Draw routine ! (1-2 bitplane screen)
- The Set Line MASK command has no effect when using F Draw, this
- will be corrected in the next version !
-
- F Draw X,Y To X1,Y1 :
- Does the same thing as Draw X,Y To X1,Y1. But it is up to 200%
- faster than the original Draw routine ! (2 bitplane screen)
- The Set Line MASK command has no effect when using F Draw, this
- will be corrected in the next version !
-
- Set Planes MASK :
- Restricts most drawing operations to a number of bitplanes, defined
- by the MASK parameter.
- Each bit represents a bitplane.
- Ex.: Set Planes %101, enables planes 1 and 3.
- Allways remember to reset the value to 255, else some strange things
- might happen with the editor window.
- All the new BLITTER commands use this parameter !
-
- Plane Offset SCRNR,PLANENR,XOFFSET,YOFFSET :
- Sets the offset for a particular bitplane used by screen SCRNR.
- X should allways be even, allthough an uneven value is possible.
- This command can be used to program some interesting effects such
- as interference without having to use the dual playfield mode or
- the Screen Copy commands !
- To set all offsets for all planes to zero, you should use the
- Plane Offset command with a negative PLANENR parameter. This is
- because I store the offset for each particular plane.
- To reset the offset of a particular plane, set the X and YOFFSET
- parameters to zero.
- Ex.: to reset all offsets of screen 3 --> Plane Offset 3,-1,0,0
- to reset plane two of screen 1 --> Plane Offset 1,2,0,0
- See Plane Update for further information.
-
- Plane Swap SCRNR,PLANE1,PLANE2 :
- Swap PLANE1 with PLANE2 of screen SCRNR. Again a very powerfull
- command !
- See Plane Update for further information.
-
- Plane Shift Up SCRNR,START To END :
- Shifts the planes up by 1 from START to END used by screen SCRNR.
- Ex.: PLANE1 = 50000
- PLANE2 = 60000
- PLANE3 = 70000
- PLANE4 = 80000
-
- Plane Shift Up 1 To 3
-
- PLANE1 = 70000
- PLANE2 = 50000
- PLANE3 = 60000
- PLANE4 = 80000
- See Plane Update for further information.
-
- Plane Shift Down SCRNR,START To END
- Does the opposite thing of Plane Shift Up...
- See Plane Update for further information.
-
- Plane Update SCRNR :
- This command is used to reflect the changes made with the Plane
- commands. Normally you could use the AMOS View command to
- display what is changed.
- This is true for all Plane commands except the Plane Offset command.
- The Plane Offset command was only made possible thru some clever
- programming ! In fact I don't change the bitplane addresses at
- all...
- This is why you should use Plane Update instead of the AMOS View
- command.
-
- F Paste Icon X,Y,ICON :
- This a highly optimised general purpose icon routine.
- The X coordinate is chopped to ly on a 16 bit boundary, and
- only partial clipping is supported.
- It can handle Icons of variable size.
- If X < 0 no Icon is displayed.
- If Y < 0 no Icon is displayed.
- If X > width of screen, no Icon is displayed.
- If Y > height of screen, no Icon is displayed.
- If X < width of screen but X+width of Icon > width of screen,
- the Icon is partially displayed. (clipped)
- If Y < height of screen but Y+height of icon > heigth of screen,
- the Icon is partially displayed. (clipped)
- This routine is generally 2-3.5 times faster than the AMOS
- original one !
-
- F 16 Icon X,Y,ICON :
- This is a highly optimised special purpose Icon routine.
- This routine can only be used to display Icons that are 16 pixels
- wide.
- The Icon Bank must be loaded with Icons and all Icons must be
- defined, if not a crash is possible !
- I've disgarded all testing for best speed possible !
- The X and Y coordinates are chopped to ly on a 16 bit boundary, and
- only partial clipping is supported.
- If X < 0 no Icon is displayed.
- If Y < 0 no Icon is displayed.
- If X > width of screen no Icon is displayed.
- If Y > height of screen no Icon is displayed.
- This routine is generally 3-4.5 times faster than the AMOS
- original one !
-
- F 32 Icon X,Y,ICON :
- This is a highly optimised special purpose Icon routine.
- This routine can only be used to display Icons that are 32 pixels
- wide.
- The Icon Bank must be loaded with Icons and all Icons must be
- defined, if not a crash is possible !
- I've disgarded all testing for best speed possible !
- The X and Y coordinates are chopped to ly on a 32 bit boundary, and
- only partial clipping is supported.
- If X < 0 no Icon is displayed.
- If Y < 0 no Icon is displayed.
- If X > width of screen no Icon is displayed.
- If Y > height of screen no Icon is displayed.
- This routine is generally 2-3.5 times faster than the AMOS
- original one !
-
- F 16proc Icon X,Y,ICON :
- This is a highly optimised special purpose Icon routine.
- I don't use the BLITTER to put the Icon onto the screen.
- The MC680X0 processor is used instead !
- The people who have a fast processor (68020+) can take advantage
- of this routine to display the Icons faster than the BLITTER !
- This routine is even faster than the normal AMOS routine, which
- uses the BLITTER, if executed with a slower (68000/68010) processor !
- It is in most cases faster than the F 16 Icon routine !
- People with a slower (68000/68010) processor should not use
- this routine.
- This routine can only be used to display Icons that are 16 pixels
- wide.
- The Icon Bank must be loaded with Icons and all Icons must be
- defined, if not a crash is possible !
- I've disgarded all testing for best speed possible !
- The X and Y coordinates are chopped to ly on a 16 bit boundary, and
- only partial clipping is supported.
- If X < 0 no Icon is displayed.
- If Y < 0 no Icon is displayed.
- If X > width of screen no Icon is displayed.
- If Y > height of screen no Icon is displayed.
- This routine is generally 3-5 times faster than the AMOS
- original one ! (A1200 14 Mhz/ CACHE ON / NO FASTRAM)
-
- F 32proc Icon X,Y,ICON :
- This is a highly optimised special purpose Icon routine.
- This routine can only be used to display Icons that are 32 pixels
- wide.
- The Icon Bank must be loaded with Icons and all Icons must be
- defined, if not a crash is possible !
- I've disgarded all testing for best speed possible !
- I don't use the BLITTER to put the Icon onto the screen.
- The MC680X0 processor is used instead !
- The people who have a fast processor (68030+) can take advantage
- of this routine to display the Icons faster than the BLITTER !
- People with a slower (68000/68010/68020) processor should not use
- this routine.
- The X and Y coordinates are chopped to ly on a 32 bit boundary, and
- only partial clipping is supported.
- If X < 0 no Icon is displayed.
- If Y < 0 no Icon is displayed.
- If X > width of screen no Icon is displayed.
- If Y > height of screen no Icon is displayed.
- This routine is generally 2-3 times faster than the AMOS
- original one ! (A1200 14 Mhz/ CACHE ON / NO FASTRAM)
-
- !!!! Why have I made the F 16proc Icon and F 32proc Icon routines? !!!!
- !!!! Like all of the TURBO EXTENSION commands they are made just !!!!
- !!!! for the fun of it. To get the best speed on all AMIGA's you !!!!
- !!!! should use the F Paste Icon/F 16 Icon/ F 32 Icon commands. !!!!
- !!!! They use the BLITTER instead of the main cpu. !!!!
-
-
- R=X Icon(nr) :
- This function returns the width (in words) of a particular Icon.
-
-
- R=Y Icon(nr) :
- This fuction returns the height (in lines) of a particular Icon.
-
- R=Planes Icon(nr) :
- This function returns how many planes the Icon is made of.
- Ex.: Screen Open 0,320,200,8,Lowres
- Get Icon 1,0,0 To 64,100
- DEPTH=Planes Icon(1)
- 'DEPTH will contain 3 --> 8 colours need 3 bitplanes...
-
- R=Cpu Info :
- This function returns what cpu-type is in your AMIGA.
- 00 plain 68000
- 10 68010 processor
- 20 68020 processor
- 30 68030 processor
- 40 68040 processor
-
- R=Math Info :
- This functions returns what type of math coprocessor you have
- in your AMIGA.
- 000 no coprocessor installed
- 881 MC68881 coprocessor installed
- 882 MC68882 coprocessor installed
-