PureBasic Forum

hi amiga friens
Page 1 of 1

Author:  stefff285 [ Wed Nov 18, 2009 7:06 pm ]
Post subject:  hi amiga friens

hi all

with the renew of our demo team, i was asking myself
about in ecs, manipulating bitplanes as one for scrolling
another for an effect, another for the menu

my question isn't well asked but i hope to be understood :oops: :oops:

best regards to all


Author:  djes [ Wed Nov 18, 2009 8:57 pm ]
Post subject:  Re: hi amiga friens

in dual playfield, you can only manipulate odd and even bitplanes independantly; add to this that you can cheat with the copper on a line basis (less than in fact).

Author:  stefff285 [ Fri Nov 20, 2009 12:08 am ]
Post subject:  Re: hi amiga friens

thanx a lot


Author:  stefff285 [ Sat Nov 21, 2009 1:56 pm ]
Post subject:  Re: hi amiga friens

hello again

as a noob grrrr i didn't found the answer well the command
on my purbasic book

can you tell me the command ?

best regards


Author:  djes [ Sat Nov 21, 2009 3:24 pm ]
Post subject:  Re: hi amiga friens

I don't know, I'm only talking about the hardware possibility. The OS can do that too, but I don't remember how. You'll have to download some system amigaguides ;)

Author:  stefff285 [ Fri Dec 11, 2009 6:40 pm ]
Post subject:  Re: hi amiga friens

hello sir :)

bonjour bonjour let's speak english

amiga version of pure basic only work with
os3.9 version of amiga forever for me but
well, seen a good written bitplanes by bitplanes
description and ready up to finally make our
musik disk

thanx a lot


Author:  xperience2003 [ Fri Jan 29, 2010 12:02 am ]
Post subject:  Re: hi amiga friens

here a smal test

; ***********************************************
;         setting bits in a bitplane
;         by xp^trs  ...amiga rulezZ
; ***********************************************
InitBitMap(0)   ; We will need 1 bitmap...
InitScreen(0)   ; ... and 1 screen
AllocateBitMap(0,320,256,2)  ; Create our bitmap

OpenScreen(0, 320, 256, 2, 0) ;
; For understand this
; the BitMapID() command returns the os bitmap-structure:
; offset 0 (word) - bytes per row
; offset 2 (word) - rows
; offset 4 (byte) - systemflags
; ...
; offset 8 (long) - the adress of the first bitplane in chipram!
; offset 12(long) - the 2nd bitplane
; .....
; we catch the planepointers from memory:


; now we can write directly in the bitplanes by using
; the pokeb command
;  Pokeb(*plane1ptr+position,%00100000)
;          plane    position    >pixel number 3 from position

; we write an "E" on the first bitplane
PokeB(*plane1ptr+1  ,%11111111)
PokeB(*plane1ptr+81 ,%11000000)


    mb.w = mousebuttons()
  Until mb.w = 1
End      ; Finish the program and free all stuffs.

..but..bitmapscolling or bitplane operations under OS are extreme slow

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group