Jump to content
IGNORED

Multicolored players ML routine for Basic?


Philsan

Recommended Posts

I have found an assembly language method to have 4 multicolored player on screen:

http://www.atarimagazines.com/v4n10/assemblylanguage.html

post-12528-1207296960_thumb.png

At the end of the page you can download the source code.

 

Is it possible to program a ML routine for Turbo-Basic XL to have four 3 colors players, a routine that you can recall with a similar command?

A=USR(1568,PLAYER#,XPOSITION,YPOSITION,PLAYERIMAGE)

I think it's impossible but I miss C64's 8 multicolor sprites...

 

EDIT

Added screenshot and .xex.

Multi_Colored_Players.zip

Edited by Philsan
Link to comment
Share on other sites

I have found an assembly language method to have 4 multicolored player on screen:

http://www.atarimagazines.com/v4n10/assemblylanguage.html

At the end of the page you can download the source code.

 

Is it possible to program a ML routine for Turbo-Basic XL to have four 3 colors players, a routine that you can recall with a similar command?

A=USR(1568,PLAYER#,XPOSITION,YPOSITION,PLAYERIMAGE)

I think it's impossible but I miss C64's 8 multicolor sprites...

The Atari player missiles are single colour although you can use an overlap of players to gain an extra colour by setting the approriate bit. so you could effectively have two 3 colour sprites in Turbo quite easily but having four 3 colour hardware player sprites is not possible without complex multiplexing in 100% assembly

 

EDIT** The above means on the same horizontal scan line.. multiple players vertically is no problem to achive in Turbo

Edited by Tezz
Link to comment
Share on other sites

I have found an assembly language method to have 4 multicolored player on screen:

http://www.atarimagazines.com/v4n10/assemblylanguage.html

At the end of the page you can download the source code.

 

Is it possible to program a ML routine for Turbo-Basic XL to have four 3 colors players, a routine that you can recall with a similar command?

A=USR(1568,PLAYER#,XPOSITION,YPOSITION,PLAYERIMAGE)

I think it's impossible but I miss C64's 8 multicolor sprites...

 

 

I don't know if you are talking about the same method as in that link.. there are simple players colored only by DLI and that you can "easily" do in TB too.

Edited by MaPa
Link to comment
Share on other sites

I know that you can overlap player to get a third color but you have to use and move 2 players.

I would like a ML routine that gives you *4* multicolored players in TB, like the one linked (unfortunately it is ML only).

Edited by Philsan
Link to comment
Share on other sites

With the assistance of a Display List Interrupts, you can create more than 4 multicolored sprites. There have been multiplexer routines that have extended to over 20 multicolored sprites on the screen, although they will blink if more than 2 share the same horizontal position.

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...