home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
STESTOS
/
STESTOS1.MSA
/
TEXT
/
BLIT1.DOC
< prev
next >
Wrap
Text File
|
2010-01-01
|
22KB
|
355 lines
!ressotS000555673777
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 ***** STOS AND THE STE ******
FA0FA0FA0FA0FA0000009FA0 ********************************************
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000009FA0 A new column dealing with the STE side of STOS Programing.
FA0FA0FA0FA0FA0002003FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 BLITTER AND STE COMMAND TUTORIAL BASED ON ASA BURROW's DOC
FA0FA0FA0FA0FA0002009FA0 but severely edited to make it more usable. Hope he doesn't
FA0FA0FA0FA0FA0002009FA0 mind to much. If you read this Asa, please send any input
FA0FA0FA0FA0FA0002009FA0 you might have to me.
FA0FA0FA0FA0FA0002009FA0
FA0FA0FA0FA0FA0002009FA0 To follow these tutorials, you will need:
FA0FA0FA0FA0FA0000009FA0 STOS
FA0FA0FA0FA0FA0002009FA0 The BLITTER.EX* Starting this month
FA0FA0FA0FA0FA0002009FA0 The STE_EXTN.EX* Starting soon
FA0FA0FA0FA0FA0002009FA0 A Blitter chip ,and/or an STE
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 Intro:
FA0FA0FA0FA0FA0000001FA0 This section will deal with aspects of the STE
FA0FA0FA0FA0FA0000001FA0 such as the Blitter, DAC and Hardware scrolling. Once again,
FA0FA0FA0FA0FA0000001FA0 many thanks for the people writting the Extentions, and in this
FA0FA0FA0FA0FA0000001FA0 case ASA Burrows. Having met him, I can only say he is a very nice
FA0FA0FA0FA0FA0000001FA0 chap, and it is a shame that more people are not making use of
FA0FA0FA0FA0FA0000001FA0 his extentions.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 Here is the challenge: Can you use these extentions?
FA0FA0FA0FA0FA0000001FA0 Have you a demo screen ?
FA0FA0FA0FA0FA0000001FA0 Have you got a clue? ( I haven't!)
FA0FA0FA0FA0FA0000001FA0 Can you help!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 Appeal:
FA0FA0FA0FA0FA0000001FA0 Yes, I know ! I haven't even started and already I am appealing for
FA0FA0FA0FA0FA0000001FA0 your source code and routines. But hey! why not. Please, please,
FA0FA0FA0FA0FA0000001FA0 please send me stuff STE related with plenty of Doc and Rems so that
FA0FA0FA0FA0FA0000001FA0 I know what is going on!
FA0FA0FA0FA0FA0000001FA0 How many of you are actually using STEs out there?
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 *** Warning ** ****************************************************
FA0FA0FA0FA0FA0000001FA0 *All the stuff I mention is mostly trial and error, so I can't offer*
FA0FA0FA0FA0FA0000001FA0 *any guarantees. This tutorial might be harmfull to your machine, *
FA0FA0FA0FA0FA0000001FA0 *or peripherals, so be warned! *
FA0FA0FA0FA0FA0000001FA0 *ps: I never had any problems, but who knows. *
FA0FA0FA0FA0FA0000001FA0 *********************************************************************
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 Why bother with the STE and Blitter extentions?
FA0FA0FA0FA0FA0002009FA0 Many of you will be using the Missing link ext. and mighty it is too!
FA0FA0FA0FA0FA0002009FA0 But let's face it, the best machine code can not outperform hardware
FA0FA0FA0FA0FA0002009FA0 trickery. Imagine a Horizontal 320*200 screen scroll that hardly uses
FA0FA0FA0FA0FA0002009FA0 any machine time at all! The possibility to shift large chunks of
FA0FA0FA0FA0FA0002009FA0 graphics around without fancy programming and speed penalty.Better
FA0FA0FA0FA0FA0002009FA0 sound. All elements that would allow you more freedom to do animation.
FA0FA0FA0FA0FA0002009FA0 That is the theory at least. But have you noticed that so far no use
FA0FA0FA0FA0FA0002009FA0 has been made by STOS users of these extentions?
FA0FA0FA0FA0FA0002009FA0 I could be wrong, in which case please send me your code!
FA0FA0FA0FA0FA0002009FA0 I could be right, in which case I hope this column will provoke
FA0FA0FA0FA0FA0002009FA0 some kind of reaction and motivation.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 A quick summary follows, describing what can be done. An in depth
FA0FA0FA0FA0FA0000001FA0 Tutorial will start afterwards.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 First here is a summary of what is available to you:
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 In the Blitter Extention:
FA0FA0FA0FA0FA0000001FA0 Macros: set of high level commands doing the equivalent
FA0FA0FA0FA0FA0000001FA0 of "screen copy, cls, fill," but faster and easy to use.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 Expert Commands: Access to all the registers of the
FA0FA0FA0FA0FA0000001FA0 blitter chip! Very Very Fast but Difficult to use.
FA0FA0FA0FA0FA0000001FA0 Allows Single plane manipulation! and logical
FA0FA0FA0FA0FA0000001FA0 operations. Frighteningly fast !!!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 The blitter chip can handle most common graphic tasks
FA0FA0FA0FA0FA0000001FA0 faster than the 68000, and leaves the main processor
FA0FA0FA0FA0FA0000001FA0 free to do other things, with a minimum speed penalty.
FA0FA0FA0FA0FA0000001FA0 I love it for scrolling routines... that beat anything
FA0FA0FA0FA0FA0000001FA0 else I have seen ! ( I managed to crash my ST over 100
FA0FA0FA0FA0FA0000001FA0 times writting this doc! so be carefull and save
FA0FA0FA0FA0FA0000001FA0 everything)###
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 In the STE Extention
FA0FA0FA0FA0FA0000001FA0 Twin joystick support
FA0FA0FA0FA0FA0000001FA0 Light Gun
FA0FA0FA0FA0FA0000001FA0 Extended palette *** so far nothing new or
FA0FA0FA0FA0FA0000001FA0 important
FA0FA0FA0FA0FA0000001FA0 DAC or DMA sample playing routine
FA0FA0FA0FA0FA0000001FA0 Hardware scrolling ***the powerfull and painfull bit
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0 Now let's start some tutorials:
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0PART 1 ******** THE BLITTER EXTENTION *********
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0Here are the macro commands . They are the easiest part to master
FA0FA0FA0FA0FA0002009FA0and the tutorial finishes with an example covering most commands.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0x=BLITTER
FA0FA0FA0FA0FA0002009FA0
FA0FA0FA0FA0FA0002009FA0 This checks to see if a blitter is fitted.If a 1 is returned,
FA0FA0FA0FA0FA0002009FA0 you have one, if 0 is returned you don't. So if you get
FA0FA0FA0FA0FA0002009FA0 a "0", goodbye !
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0BLIT CLS screen
FA0FA0FA0FA0FA0002009FA0 Clears the screen. This can be logical, physical, or the address
FA0FA0FA0FA0FA0002009FA0 of a screen bank
FA0FA0FA0FA0FA0002009FA0 ie:
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 20 load" picture.neo",physic
FA0FA0FA0FA0FA0002009FA0 30 wait key
FA0FA0FA0FA0FA0002009FA0 40 BLIT CLS physic
FA0FA0FA0FA0FA0002009FA0 *** not very clever ! loads a pic and erases it.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0* BLIT COPY source,desination
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 BLIT COPY source,destination,op
FA0FA0FA0FA0FA0002009FA0 BLIT COPY source,x1,y1,x2,y2,destination,x,y
FA0FA0FA0FA0FA0002009FA0 BLIT COPY source,x1,y1,x2,y2,destination,x,y,op
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 This one is more usefull! It's similar to Screen Copy in Stos, or
FA0FA0FA0FA0FA0002009FA0 Blit from the Missing Link. So you should know how to use it!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 If you are copying only a small part from the source address, remember
FA0FA0FA0FA0FA0002009FA0 that the X coordinates will be rounded to the nearest 16 pixels. The good
FA0FA0FA0FA0FA0002009FA0 news is that the destination can be any X,Y coordinates.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0The optional op parameter can range from 1 to 14 and sets the type of
FA0FA0FA0FA0FA0002009FA0copying to do. Don't bother using it for a straight copy, but some nice
FA0FA0FA0FA0FA0002009FA0effects can be had
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01 source AND destination
FA0FA0FA0FA0FA0002009FA02 source AND NOT destination
FA0FA0FA0FA0FA0002009FA03 source (a straight copy)
FA0FA0FA0FA0FA0002009FA04 NOT source AND destination
FA0FA0FA0FA0FA0002009FA05 destination
FA0FA0FA0FA0FA0002009FA06 source XOR destination
FA0FA0FA0FA0FA0002009FA07 source or destination
FA0FA0FA0FA0FA0002009FA08 NOT source AND NOT destination
FA0FA0FA0FA0FA0002009FA09 NOT source XOR destination
FA0FA0FA0FA0FA0002009FA010 NOT destination
FA0FA0FA0FA0FA0002009FA011 source OR NOT destination
FA0FA0FA0FA0FA0002009FA012 NOT source
FA0FA0FA0FA0FA0002009FA013 NOT source OR destination
FA0FA0FA0FA0FA0002009FA014 NOT source OR NOT destination
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0(NB. XOR does a transparent copy)
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 ie: we have our picture in bank 10
FA0FA0FA0FA0FA0002009FA0 and want to copy the top left 1/4
FA0FA0FA0FA0FA0002009FA0 to the centre of our physical screen
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 ...
FA0FA0FA0FA0FA0002009FA0 ...
FA0FA0FA0FA0FA0002009FA0 50 blit copy 10,0,0,160,100,physic,80,50
FA0FA0FA0FA0FA0002009FA0 ...
FA0FA0FA0FA0FA0002009FA0 Feel free to use different op parameters to see the effects
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 REMEMBER THIS IS WHAT I CALL A MACRO. To squeeze more speed
FA0FA0FA0FA0FA0002009FA0 we will use the low level expert (not!) commands at a later
FA0FA0FA0FA0FA0002009FA0 date.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0X= BLIT BUSY
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 Very usefull !
FA0FA0FA0FA0FA0002009FA0 Remember that once you have inscructed the blitter to do something
FA0FA0FA0FA0FA0002009FA0 it will carry it out on its own!
FA0FA0FA0FA0FA0002009FA0 Normaly we use a "wait vbl" to make sure all graphic operations
FA0FA0FA0FA0FA0002009FA0 are completed.
FA0FA0FA0FA0FA0002009FA0 Using this command we can also check that the blitter has finished
FA0FA0FA0FA0FA0002009FA0 its work before doing a screen swap. Omit this at your own risk
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 ie .......
FA0FA0FA0FA0FA0002009FA0 200 wait vbl
FA0FA0FA0FA0FA0002009FA0 210 if BLIT BUSY=1 then 210
FA0FA0FA0FA0FA0002009FA0 220 screen swap
FA0FA0FA0FA0FA0002009FA0 * simple or what!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 ********** WARNING **********
FA0FA0FA0FA0FA0002009FA0 IF YOU STOP A PROGRAM BY USING <CONTROL <C>>
FA0FA0FA0FA0FA0002009FA0 YOU ARE LIKELY TO CRASH YOUR STE.
FA0FA0FA0FA0FA0002009FA0 NEVER STOP OR END A *.BAS WHILE THE BLITTER
FA0FA0FA0FA0FA0002009FA0 IS ACTIVE !!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0Ok, so far those of you using the Missing link might think that there is
FA0FA0FA0FA0FA0002009FA0no massive speed gain by using the blitter. Those used to standard Stos
FA0FA0FA0FA0FA0002009FA0should already be impressed. But hey, let's get really mad and use the
FA0FA0FA0FA0FA0002009FA0"expert commands". Those of you who know how the ST screen is built will
FA0FA0FA0FA0FA0002009FA0have a serious advantage.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0The real McCoy:
FA0FA0FA0FA0FA0000001FA0 The following program loads a screen into bank 11,
FA0FA0FA0FA0FA0000001FA0 then blits it at a low level to the logical screen,
FA0FA0FA0FA0FA0000001FA0 and displays it after a screen swap. It then waits a while, and
FA0FA0FA0FA0FA0000001FA0 exits cleanly without a crash. Use this program to mess about
FA0FA0FA0FA0FA0000001FA0 with different values, but always save your work first.
FA0FA0FA0FA0FA0000001FA0 No automatic clipping is done, and as we are in supervisor mode,
FA0FA0FA0FA0FA0000001FA0 you are lickely to erase vital memory areas, causing a reset.
FA0FA0FA0FA0FA0000001FA0 As it is it doesn't do much, but wait till next month!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA010 mode 0 : flash off : logic=back rem**************
FA0FA0FA0FA0FA0002009FA012 reserve as screen 11 line 10-16 setup
FA0FA0FA0FA0FA0002009FA015 load "canyon.pi1",11 for our screen.
FA0FA0FA0FA0FA0002009FA016 get palette (11)
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA017 A=start(11) L17- the variable "A"
FA0FA0FA0FA0FA0002009FA0 contains the source
FA0FA0FA0FA0FA0002009FA0 picture's address
FA0FA0FA0FA0FA0002009FA0
FA0FA0FA0FA0FA0002009FA01000 blit source address A We tell the blitter where
FA0FA0FA0FA0FA0002009FA01005 blit dest address logic to copy from, and to.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01010 blit source x inc 2 We copy all 4 planes at a
FA0FA0FA0FA0FA0002009FA0 time,so "x inc 2".
FA0FA0FA0FA0FA0002009FA0 If we wanted to copy a
FA0FA0FA0FA0FA0002009FA0 single plane at a time it
FA0FA0FA0FA0FA0002009FA0 would be "x inc 8". If we
FA0FA0FA0FA0FA0002009FA0 wanted to copy every other
FA0FA0FA0FA0FA0002009FA0 word "x inc 4"
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 The "inc" commands set the increment to the next word
FA0FA0FA0FA0FA0002009FA0 in bytes. I know this will not make any sense to most of you, but
FA0FA0FA0FA0FA0002009FA0 I will you a better explaination with precise examples next month!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01020 blit source y inc 2 the "y inc (n)" sets the
FA0FA0FA0FA0FA0002009FA0 line increment in the
FA0FA0FA0FA0FA0002009FA0 same fashion
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01030 blit dest x inc 2 As before but for the
FA0FA0FA0FA0FA0002009FA0 destination
FA0FA0FA0FA0FA0002009FA01040 blit dest y inc 2
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01050 blit x count 80 Sets how many words to
FA0FA0FA0FA0FA0002009FA0 read per line.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01060 blit y count 200 Sets how many lines
FA0FA0FA0FA0FA0002009FA0 to blit over.
FA0FA0FA0FA0FA0002009FA01070 blit endmask 1 $FFFF
FA0FA0FA0FA0FA0002009FA01080 blit endmask 2 $FFFF These 3 set the masks for
FA0FA0FA0FA0FA0002009FA01090 blit endmask 3 $FFFF the destination data.
FA0FA0FA0FA0FA0002009FA0 The first mask is for the 1st word
FA0FA0FA0FA0FA0002009FA0 The 2nd is for all the other words
FA0FA0FA0FA0FA0002009FA0 The 3rd is for the last word
FA0FA0FA0FA0FA0002009FA0 $FFFF copies everything
FA0FA0FA0FA0FA0002009FA0 But you can use binnary words:
FA0FA0FA0FA0FA0002009FA0 %1111111111111111 total copy
FA0FA0FA0FA0FA0002009FA0 %1010101010101010 stripy
FA0FA0FA0FA0FA0002009FA0 or
FA0FA0FA0FA0FA0002009FA0 %0000000000000000 destination stays unchanged
FA0FA0FA0FA0FA0002009FA0 or ... whatever you want!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01095 blit h line 0 We could have defined a
FA0FA0FA0FA0FA0002009FA0 halftone pattern earlier. If
FA0FA0FA0FA0FA0002009FA0 we had, we would start using it
FA0FA0FA0FA0FA0002009FA0 from line 0
FA0FA0FA0FA0FA0002009FA0 Values for blit h line (n)
FA0FA0FA0FA0FA0002009FA0 range from 0 to 15
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01100 blit hop 2 If we were using a halftone
FA0FA0FA0FA0FA0002009FA0 pattern, we must tell the blitter
FA0FA0FA0FA0FA0002009FA0 what to do with it. Value for
FA0FA0FA0FA0FA0002009FA0 blit hop (n) are:
FA0FA0FA0FA0FA0002009FA0 0 all ones
FA0FA0FA0FA0FA0002009FA0 1 half tone
FA0FA0FA0FA0FA0002009FA0 2 source
FA0FA0FA0FA0FA0002009FA0 3 source and half tone
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01110 blit skew 0 This is the nice one! using skew
FA0FA0FA0FA0FA0002009FA0 values from 0 to 15 in a step of
FA0FA0FA0FA0FA0002009FA0 1, we can shift the destination
FA0FA0FA0FA0FA0002009FA0 one pixel at a time to the right
FA0FA0FA0FA0FA0002009FA0 or left by decreasing from15 to 0 right .
FA0FA0FA0FA0FA0002009FA0 This only works when using it
FA0FA0FA0FA0FA0002009FA0 on 1plane at a time, or there
FA0FA0FA0FA0FA0002009FA0 is a mess on screen
FA0FA0FA0FA0FA0002009FA0 We will cover this in detail next month as it
FA0FA0FA0FA0FA0002009FA0 allows ultra smooth horizontal scrolling .
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01115 blit smudge 0 If "blit smudge 1" then the value
FA0FA0FA0FA0FA0002009FA0 from "skew is also used as the
FA0FA0FA0FA0FA0002009FA0 "blit h line " number.
FA0FA0FA0FA0FA0002009FA0 Here, it is set to 0 and ignored
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01120 blit it We have set everything up,
FA0FA0FA0FA0FA0002009FA0 so let's do it !
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01130 if blit busy=1 then 1130 Wait for the blitter to finish
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA01999 screen swap:wait vbl Screen swap to make the finished
FA0FA0FA0FA0FA0002009FA0 work visible.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA02000 wait 100 : cls physic : default : end
FA0FA0FA0FA0FA0002009FA0 Waits a bit then exits nicely!
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0There are only a couple more commands to cover:
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0Obviously, if you intend to use them, they must be placed before the
FA0FA0FA0FA0FA0002009FA0"BLIT IT " command, as they won't have an effect otherwise.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0BLIT HOG : takes complete control of the STE to get
FA0FA0FA0FA0FA0002009FA0 extra speed. Stops most interrupts, and please
FA0FA0FA0FA0FA0002009FA0 try to avoid it, unless you want to crash !
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0BLIT NFSR n When n=1, the last source read on every line is not
FA0FA0FA0FA0FA0002009FA0 done (NO FINAL SOURCE READ). (n=0, means normal)
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0BLIT FXSR n If n=1, an extra source read is done on every line
FA0FA0FA0FA0FA0002009FA0 (FORCE EXTRA SOURCE READ). (n=0, normal)
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0BLIT OP op This sets the logical operation of the data being
FA0FA0FA0FA0FA0002009FA0 copied.The operations are the same as for BLIT HOP
FA0FA0FA0FA0FA0002009FA0 with two options:
FA0FA0FA0FA0FA0002009FA0 0 all zeros
FA0FA0FA0FA0FA0002009FA0 15 all ones
FA0FA0FA0FA0FA0002009FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0BLITHALFTONE pat1,pat2,,,,,,,,,,,,,,pat16
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0These enable you to set up a 16 x 16 half tone pattern.It's easiest to
FA0FA0FA0FA0FA0002009FA0enter the patterns as binary words,so each digit represents a pixel.
FA0FA0FA0FA0FA0002009FA0As i didn't set it up for my small program, I ignored it!
FA0FA0FA0FA0FA0002009FA0Check lines 1095 and 1110 to see what it can be used for.
FA0FA0FA0FA0FA0002009FA0If you find anything out on this one, please send me the code.
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0002009FA0 THIS IS IT FOR THE MOMENT, I AM AFRAID. See you in part 2!
FA0FA0FA0FA0FA0002009FA0 *********************************************************
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0
FA0FA0FA0FA0FA0000001FA0