29 September 2012, 13:31 | #1 |
Zone Friend
Join Date: Jan 2005
Location: italy
Age: 46
Posts: 244
|
help with blitz basic displayadjust
hi! i have a problem understanding the displayadjust command on blitz basic
in my proggy i have a bitmap of 512 pixels, but i want to display only 256 of it so displayadjust is my option here a snippet of code (for aga machines) BitMap 2,512,256,8 LoadBitMap 2,"title1.iff",0 ....... InitCopList 0,44,256,$10018,8,256,0 DisplayAdjust 0,-8,16,-16,32,-32 ....... DisplayBitMap 0,2,0,0 ; show the title bitmap but from the screenshot i have ,the image is 1 pxl left see the red line on the left why? also i cannot understand the fetch parameter on displayadjust, nor the others too ehehehe i've experimented a lot |
09 October 2012, 18:01 | #2 |
A1200 040 SAM440EP 667
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
|
The best help you could have about BlitzBasic will be found in this forum:
http://www.amiforce.de/board.php?boa...n1a93pp4clrfag |
13 June 2018, 03:34 | #3 |
Warhasneverbeensomuchfun
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
|
I'd like help with this command and unfortunately the forum AlfaRomeo recommended seems to be dead.
Anyone? |
19 June 2018, 12:57 | #4 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
The Amiforce.de forum was moved to amiblitz.de some time ago, but there too seems to be all but dead unfortunately.
The DisplayAdjust command is a little bit like voodoo to me, but it's really just setting some registers (so it's the finer points of using the display hardware registers that are the real voodoo). From what I understand, the command adjusts the standard values, so entering 0 for a register leaves it at the default value for a given display setup. The registers are explained here: DDFStart and DDFStop DIWStrt and DIWStop The fetch width parameter I'm not so sure about, but I suspect it's just the number of bytes to adjust the overall fetch by. For example, with a display window start adjust of +16 and a stop adjust of 0, that makes the display 16 pixels narrower, or two bytes of fetching per row, requiring the fetch width parameter to be -2. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitz basic 2 Help | Havie | Coders. Blitz Basic | 30 | 08 September 2013 09:15 |
Blitz Basic 2.1 + CD ROM | musashi5150 | MarketPlace | 3 | 08 July 2009 08:53 |
blitz basic | petza | request.Apps | 11 | 08 April 2007 01:49 |
Blitz Basic 2 anyone? | jobro | request.Apps | 12 | 28 November 2005 18:15 |
Blitz Basic 2 | LaundroMat | Retrogaming General Discussion | 5 | 24 July 2001 08:10 |
|
|