Please be advised that access to Atari Forum this coming Friday will be sporadic whilst the backend operating system and dependency upgrades are carried out.

Omikron Basic logical Screen

Moderators: Zorro 2, Moderator Team

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

Omikron Basic logical Screen

Post by MacFalcon »

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, Atari VCS 800 Onyx. Stay Atari!
User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2821
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters

Re: Omikron Basic logical Screen

Post by lp »

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: 377
Joined: Sat Oct 11, 2003 1:00 pm
Location: Muenchberg, Germany

Re: Omikron Basic logical Screen

Post by MacFalcon »

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, Atari VCS 800 Onyx. Stay Atari!

Return to “Other BASIC”