🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari16
Article #1748

Re: Questions on BITBLIT, Malloc (not malloc), and 68 Disassemblers

#1748
From: Jwahar R. Bammi
Date: Sun, 07 Sep 1986 07:39
59 lines
2764 bytes
In article <521@elmgate.UUCP> jdg@elmgate.UUCP (Jeff Gortatowsky) writes:
>
>As for the Line A doc you mentioned, my developer buddy told me on the
>phone that it says 'see the end of this document for a description of
>BITBLT'.  Only there is no description to be found!  I asked him if the 300
>bucks was well spent?   He hung up......

>Jeff Gortatowsky       {allegra,seismo}!rochester!kodak!elmgate!jdg
>Eastman Kodak Company  
><Kodak won't be responsible for the above comments, only those below>


Well i admit it takes some digging around, but all the info is certainly
present. The 300 bucks are more than well spent. The bit block info is on
pages 775-789.

Ok here are the details:

B_WD	width of blocks in pixels
D_HT	height    "          "

PLANE_CT	# of consecutive planes to blit

FG_COL & BG_COL	fg and bg color

OP TAB (4 bytes) {
	logic op to employ when FG=0 and BG = 1
				FG=0     BG = 1
				FG=1     BG = 0
				FG=1     BG = 1
         } (one of 16 logic ops)
S_XMIN , S_YMIN 	minimum X & Y source (in pixels)
S_FORM	source form base address (must fall on word address)
D_FORM	destin "      "        "       "         "   

S_NXWD and D_NXWD offset to next word in plane of memory form. Mono = 2.
		  Med = 4, low=8

S_NXLN and D_NXLN form width for source and dest. These widthare even, they
		  represent the offset from one row of the form to the next.
		  Hi rez (mono) = 80, low and med rez = 160

S_NXPL and D_NXPL offset from start of one plane to the start of next.
                  Always = 2

The pattern parameters (P_ADDR P_NXLN P_NXPL) are similarly defined.
Also there is that 26 byte buffer at the end that is used and does not
need to be initialized before the call.
Also see the description of MFDB in anything that describes Vdi and the
above will be quite clear. I can recommend "Gem Programming" by Balma and
Titler highly.

Hope that helps,

-- 
					Jwahar R. Bammi
 		        Usenet:  .....!decvax!cwruecmp!bammi
		        CSnet:  bammi@case         Arpa:  bammi%case@csnet-relay
			CompuServe:  71515,155
Technical Details
Message-ID: <1564@cwruecmp.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!cbatt!cbosgd!nitrex!cwruecmp!bammi
References: <8609050623.AA09089@ucbvax.Berkeley.EDU> <521@elmgate.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!cbatt!cbosgd!nitrex!cwruecmp!bammi
From: bammi@cwruecmp.UUCP (Jwahar R. Bammi)
Newsgroups: net.micro.atari16
Subject: Re: Questions on BITBLIT, Malloc (not malloc), and 68 Disassemblers
Message-ID: <1564@cwruecmp.UUCP>
Date: Sun, 7-Sep-86 03:39:05 EDT
Article-I.D.: cwruecmp.1564
Posted: Sun Sep  7 03:39:05 1986
Date-Received: Wed, 10-Sep-86 01:25:35 EDT
References: <8609050623.AA09089@ucbvax.Berkeley.EDU> <521@elmgate.UUCP>
Reply-To: bammi@cwruecmp.UUCP (Jwahar R. Bammi)
Organization: CWRU Dept. Comp. Eng., Cleveland OH
Lines: 59