Omikron Basic logical Screen

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
MacFalcon
Captain Atari
Captain Atari
Posts: 286
Joined: Sat Oct 11, 2003 1:00 pm
Location: Muenchberg, Germany
Contact:

Omikron Basic logical Screen

Postby MacFalcon » Fri Jan 04, 2019 1:35 pm

Hello,

Is there a way in Omikron Basic to use a logical screen?

Or Switch Screen addresses?

As I didn't find a way I tried the following:

For example I have a Background Image loaded on physical Screen. (True color 320*240)

I copied the whole screen with bitblt:

Bitblt 0,0,320,240 to 320,0,320,240

Then I blit my Sprites and Masks to the Copy of the Screen (bitblt Mask to x+320,y,20,20,1 : bitblt Sprite to x+320,y,20,20,7)

Then I use wvbl and bitblt the "virtual" Screen Back to 0,0 .

But the Background is moving (Looks like one Pixel Up and down)...

Why?

The Same Error occurs when I try to Copy Just a Part from the "virtual" Screen to my real screen :(

Can anyone Help?

Best regards,

Chris
Falcon060, 100/25 MHz, 256 MB SD-RAM, PhantomPBS, CTPCI with Radeon, USB and Network Card. atari rulez!

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2376
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Omikron Basic logical Screen

Postby lp » Fri Jan 04, 2019 4:39 pm

You can use this call to adjust the logical and physical screen addresses. However, being a GFA user I don't know how this will effect omikron.
http://toshyp.atari.org/en/Screen_funct ... #Setscreen

User avatar
MacFalcon
Captain Atari
Captain Atari
Posts: 286
Joined: Sat Oct 11, 2003 1:00 pm
Location: Muenchberg, Germany
Contact:

Re: Omikron Basic logical Screen

Postby MacFalcon » Fri Jan 04, 2019 6:36 pm

Hey Lonny ;)

Thank you very much!

I am sure I will change to GFA soon :) But have to finish my Omikron projects first.

Take care!

Chris
Falcon060, 100/25 MHz, 256 MB SD-RAM, PhantomPBS, CTPCI with Radeon, USB and Network Card. atari rulez!


Social Media

     

Return to “Other BASIC”

Who is online

Users browsing this forum: No registered users and 1 guest