Jump to content
IGNORED

SPlitting the screen into 2 colors


eliasarcade2005

Recommended Posts

Hello, i am trying to split the screen with 2 colors (3/4 blue and 1/4 white), and I used the asm command in batari basic, what I am doing wrong? Pls help me. I keep getting 2 moving colors (ignore the color values).

 

 

main
asm
lda #$5C
LDX #96
START
sta WSYNC
dex
bne START
LDX #96
sta COLUBK
START1
STA WSYNC
dex
bne START1
LDA #$A9
STA COLUBK
 
end
 
goto main

Screenshot_2022-01-29_13-57-24.png

Link to comment
Share on other sites

Batari Basic code runs in a time slice known as overscan, after the visible screen has been drawn, so you can't update portions of the screen in real time like you are attempting. However, the kernel option "background" can do this:

 

https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#kernop_background

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...