Jump to content

Photo

Moon Patrol body shop !


96 replies to this topic

#76 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Sun Sep 23, 2018 10:41 PM

Here we go, found the later version you posted with the first two out of three enemy sprites. 

 

Screen Shot 2018-09-23 at 11.39.59 PM.png

 

Attached File  moon-test-n2b.bin   16KB   21 downloads


  • TIX likes this

#77 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Sun Sep 23, 2018 11:47 PM

Here's a video of what we have in action.   The previous screen shots and development was done under Atari800OSX and this video was made was made with Altirra (2.90)   I'm noticing the color is slightly different between the two.  I imagine Altirra is closer to true.  If so, I can adjust the colors.

 

 

(5200 version coming hopefully tomorrow....)  ;)


Edited by doctorclu, Sun Sep 23, 2018 11:48 PM.


#78 TIX OFFLINE  

TIX

    Chopper Commander

  • Topic Starter
  • 107 posts
  • Location:Athens Greece

Posted Yesterday, 12:01 AM

Great job, much better looking :grin: :grin:

 

Yes the Atari800 colors looks close to perfect !  Altirra looks way off.. 

Someone should try it on real hardware.

 

you think you can make the (egg yolk) saucer, more yellow ?



#79 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 12:06 AM

Great job, much better looking :grin: :grin:

 

Yes the Atari800 colors looks close to perfect !  Altirra looks way off.. 

Someone should try it on real hardware.

 

you think you can make the (egg yolk) saucer, more yellow ?

 

Yes, if some Atari 8-bit computer gamer could try this on real hardware will help a lot.   (5200 gamers can try this version to check out the colors for now....)

 

More yellow for the saucers?   I believe it should be in the bank of colors found, so when we nail down which is more hardware accurate (Atari800 or Altirra) we can adjust it all then.


Edited by doctorclu, Yesterday, 12:08 AM.

  • TIX likes this

#80 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 5:04 AM

A bit puzzled by this.   Woke up, tried alternate video modes on both emulators to try to figure out what was going on.   Tried GTIA and CTIA modes.   Wondered if having this in x2 mode on Atari800 made the difference but both are still different.   I know we'll settle this eventually.

 

Screen Shot 2018-09-24 at 5.59.11 AM.png

Screen Shot 2018-09-24 at 5.59.46 AM.png

[Altirra on the left and Atari800 in the small window on the right.]

 

-----

 

0832 CST

Posted a message on the Atari 8-bit forum to enlist help.

 

0839 OST

Posted a message on the Atari 5200 forum to enlist help.


Edited by doctorclu, Yesterday, 7:40 AM.

  • TIX likes this

#81 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 5:12 AM

 

This is very easy to do.  You only need to set bit 5 on GTIA's PRIOR register.  It's only a tiny change, but it is a code change. 

 

Where the two sprites overlap you will get a third color.

 

This hack wouldn't help with the flying enemies, since you need to combine two player objects to get the color effects and all available players seem to be in use for the enemies.

 

But, the setting affects all player/missile (sprite) objects, so it would also affect the flying enemies, unintentionally.  The enemies would take on an extra color whenever one flies over the other.  You can avoid that by setting the multicolor bit in a DLI for only the portion of the screen (the moonscape) where it's needed.

 

If you could get a coder to help with this hack I think the results would be worth it.

 

I found some possible information here:

https://www.atariarc...dere/chaptE.php

 

I originally thought this was what we were looking:

Screen Shot 2018-09-24 at 6.08.56 AM.png

 

But I realize this is more like it...

Screen Shot 2018-09-24 at 6.09.48 AM.png

 

So looks like I will be looking for D6 and D7 assigned to 00 if we are talking about mode 5.

 

Still not sure what the hex code is for PRIOR and still trying to figure out what I can on this.   No far no matches with D7 and D6 with 00 in varying combinations.   I've posted this to the main Atari 8 bit thread programming thread to see what else we can find out.


Edited by doctorclu, Yesterday, 7:04 AM.


#82 FifthPlayer ONLINE  

FifthPlayer

    Moonsweeper

  • 383 posts

Posted Yesterday, 9:14 AM

 

I found some possible information here:

https://www.atariarc...dere/chaptE.php

 

 

 

The specific bits you're looking at will affect everything on the display, including the background graphics.  They're for the GTIA modes that give you 16 colors you can use anywhere on the display, but with chunky (double-width) pixels and some restrictions on the palette.

 

Here is some information on the multi-color sprite bit from Wikipedia.  You are looking at setting bit 5 on the PRIOR/GPRIOR register.  (PRIOR is a direct write to the hardware.  GPRIOR is a "shadow copy" the OS keeps in RAM, and updates from time to time since it is not possible to read values back from the direct hardware register).   These registers are at different memory locations on the 8-bit versus 5200 hardware.

 

https://en.wikipedia...IOR_$D01B_Write

 

Multi-Color Player
PRIOR bit 5, value $20hex/32dec enables Multi-Color Player objects. Where pixels of two Player/Missile objects overlap a third color appears. This is implemented by eliminating priority processing between pairs of Player/Missile objects resulting in CTIA/GTIA performing a bitwise OR of the two colored pixels to output a new color.

Example: A Player pixel with color value $98hex/152dec (blue) overlaps a Player pixel with color value $46hex/70dec (red) resulting in a pixel color of $DEhex/228dec (light green/yellow).

The Players/Missiles pairs capable of Multi-Color output:

  • Player 0 + Player 1
  • Missile 0 + Missile 1
  • Player 2 + Player 3
  • Missile 2 + Missile 3

Edited by FifthPlayer, Yesterday, 9:32 AM.


#83 FifthPlayer ONLINE  

FifthPlayer

    Moonsweeper

  • 383 posts

Posted Yesterday, 9:24 AM

And oh yeah, the new buggy looks great in motion on that video!



#84 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 10:36 AM

Thanks FifthPlayer, got some good pointers from Xuel, who found this when he disassembled Moon Patrol

 

"Looks like PRIOR is set at 82E9:
 
    lda #$11            ; 82E9: A9 11
    sta PRIOR           ; 82EB: 8D 1B D0

 

So you can edit location 82EA to change the PRIOR setting."

 

Found 3 occurrences of A9 11, changed 11 to 00 and got some fun results.  As you said, everything interfaced everything...

 

Screen Shot 2018-09-24 at 11.17.05 AM.png Screen Shot 2018-09-24 at 11.18.13 AM.png

 

Flying layers did not interact for some reason

Screen Shot 2018-09-24 at 11.18.58 AM.png

 

And the rocket car was just broken

Screen Shot 2018-09-24 at 11.20.00 AM.png

 

But did see some layers overlap which could give us something to play with if I can turn the black layer on the buggy into another color.  



#85 TIX OFFLINE  

TIX

    Chopper Commander

  • Topic Starter
  • 107 posts
  • Location:Athens Greece

Posted Yesterday, 10:37 AM

3rd alien ship (bomber) closer to the arcade,

I used the bigger sprite, to be more in analogy with the arcade..

The flickering/flashing I was talking about yesterday, is more evident in the big sized bomber,

maybe it's intentional, it seems to alternate between violet/buggy color and pink ?!??! you can see it in the screenshot.

Not so good.. you think we can remove it completely ? (the flashing I mean)

 

Check it out  :)

 

  • the Atari aliens below appear more flat than in game.. maybe its the editor I use.
  • thinking about reducing the rotation/animation of red saucer to be more like the arcade.
  • also maybe cut the edges of the yellow egg to be more oval
  • maybe I use the smaller bomber .. I don't know..
  • more revisions coming.. 

Attached Thumbnails

  • aliens.JPG
  • bomber.JPG

Attached Files


Edited by TIX, Yesterday, 10:42 AM.


#86 FifthPlayer ONLINE  

FifthPlayer

    Moonsweeper

  • 383 posts

Posted Yesterday, 10:49 AM

Thanks FifthPlayer, got some good pointers from Xuel, who found this when he disassembled Moon Patrol

 

"Looks like PRIOR is set at 82E9:
 
    lda #$11            ; 82E9: A9 11
    sta PRIOR           ; 82EB: 8D 1B D0

 

So you can edit location 82EA to change the PRIOR setting."

 

Found 3 occurrences of A9 11, changed 11 to 00 and got some fun results.  As you said, everything interfaced everything...

 

Flying layers did not interact for some reason

 

And the rocket car was just broken

 

But did see some layers overlap which could give us something to play with if I can turn the black layer on the buggy into another color.  

 

 

Try changing the $11 to $31, rather than 00.  $31 should set the multi-color sprite mode without disturbing the other settings for sprite layering.

 

The extra color you get in multi-color sprite mode isn't under your direct control.  It's a mixture (a logical-or) of the two sprite colors.


Edited by FifthPlayer, Yesterday, 10:52 AM.


#87 TIX OFFLINE  

TIX

    Chopper Commander

  • Topic Starter
  • 107 posts
  • Location:Athens Greece

Posted Yesterday, 11:42 AM

.... I think I messed something up :( the second frame of animation (of the bomber) is not showing...

 

 

:-D found it !!

Check the correct bin below

Attached Files


Edited by TIX, Yesterday, 11:55 AM.


#88 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 12:10 PM

And now we'll colorize that...

Screen Shot 2018-09-24 at 1.05.32 PM.png

Attached File  moon-test-n4c.bin   16KB   24 downloads

 

And yeh that frame made a major difference...

 

Before...

 

After... 


Edited by doctorclu, Yesterday, 12:12 PM.


#89 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 12:16 PM

 

 

Try changing the $11 to $31, rather than 00.  $31 should set the multi-color sprite mode without disturbing the other settings for sprite layering.

 

The extra color you get in multi-color sprite mode isn't under your direct control.  It's a mixture (a logical-or) of the two sprite colors.

 

Here is how all this went down when I tried it:
 

02E8.png   02E8

033C.png   033C

246C.png   246C

 

Still plan on playing with this more later though.

 

Xuel recommended this in the programming area:

"To get the players to blend you need to set bit 6 of PRIOR but note players 1&2 blend only with each other and likewise for players 3&4."


Edited by doctorclu, Yesterday, 12:20 PM.


#90 FifthPlayer ONLINE  

FifthPlayer

    Moonsweeper

  • 383 posts

Posted Yesterday, 1:57 PM

Xuel recommended this in the programming area:

"To get the players to blend you need to set bit 6 of PRIOR but note players 1&2 blend only with each other and likewise for players 3&4."

 

 

Yes, he's correct on that.  You will need to check that the game code is using Players 1 and 2 as a pair for the buggy, or else Players 3 & 4.  This might be something you could check with Altirra while the game is running, by turning on and off individual player objects using Altirra controls.

 

Also, to get the additional color, you need to set a pixel at the same place with both sprite objects.  Where the two sprites overlap pixels, you get the extra color.

 

Lastly, one tiny yet important detail: I said bit 5 of PRIOR, Xuel says bit 6.  We're both correct, it depends whether you count starting at 0 or 1 for the right-most bit.


Edited by FifthPlayer, Yesterday, 2:00 PM.


#91 --- Ω --- OFFLINE  

--- Ω ---

    --- Ω ---

  • 12,705 posts
  • Location:워싱턴 주

Posted Yesterday, 5:59 PM

Moon Patrol

Photograph of TV screen using "Real Iron" (RF Modulator) output

 

Here it is as requested.

Attached Thumbnails

  • MP-SS01.JPG


#92 Protestari OFFLINE  

Protestari

    Dragonstomper

  • 797 posts
  • Location:Toronto Canada

Posted Yesterday, 6:01 PM

Moon Patrol

Photograph of TV screen using "Real Iron" (RF Modulator) output

 

Here it is as requested.

 

Hi this looks like a different moon buggy than the video above. Like it looks more like the arcade.



#93 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Yesterday, 6:59 PM

 

Hi this looks like a different moon buggy than the video above. Like it looks more like the arcade.

 

That's my design.  We have a few floating around here and can show people how to make their own if they want.



#94 TIX OFFLINE  

TIX

    Chopper Commander

  • Topic Starter
  • 107 posts
  • Location:Athens Greece

Posted Yesterday, 11:46 PM

 

And now we'll colorize that...

 

doctorclu I like the new colors static, but there is something funny about them in motion that make my eyes hurt..

Maybe it is the pink over green, or the orange ground is too bright.. I can't put my finger on it !

 

Also green alien city, Yeah !  :-D !



#95 TIX OFFLINE  

TIX

    Chopper Commander

  • Topic Starter
  • 107 posts
  • Location:Athens Greece

Posted Yesterday, 11:48 PM

Hey now that we have a bunch of programmers here, can we do something about the (ugly) edges of the screen ?



#96 doctorclu OFFLINE  

doctorclu

    ***Moon Patrol 5200*** ***Moon Master*** *Blue Max:Class 4*

  • 7,564 posts
  • *Star Raiders 2* **Captain -CL 2**
  • Location:*Star Raiders * *Star Commander -CL 1*

Posted Today, 5:47 AM

 

doctorclu I like the new colors static, but there is something funny about them in motion that make my eyes hurt..

Maybe it is the pink over green, or the orange ground is too bright.. I can't put my finger on it !

 

Also green alien city, Yeah !  :-D !

 

Color matched to the arcade, though I had hoped we would have had more people (than one) play this on real hardware.   Still need to see which most are getting, the Atari800 or Altirra colors.   Colors can be the lightened or darkened, or changed entirely.

 

And green cities is actually arcade canon...  :)

Screen Shot 2018-09-25 at 6.40.26 AM.png

 

Hey now that we have a bunch of programmers here, can we do something about the (ugly) edges of the screen ?

 

I respect the problem.  :D   (That is to say currently no immediate idea.)

 

Yes, he's correct on that.  You will need to check that the game code is using Players 1 and 2 as a pair for the buggy, or else Players 3 & 4.  This might be something you could check with Altirra while the game is running, by turning on and off individual player objects using Altirra controls.

 

(sigh)  Ok, I've done this before with Altirra while working on the sounds for the Jaguar version of Moon Patrol:D   Need to look this up as apparently this is a key command and not in the drop down menus.



#97 Cafeman ONLINE  

Cafeman

    Quadrunner

  • 6,699 posts
  • Location:PA

Posted Today, 8:03 AM

Hey now that we have a bunch of programmers here, can we do something about the (ugly) edges of the screen ?


DMACTL register can set playfield width to either narrow, standard, or wide. What is it set in Moon Patrol?




1 user(s) are browsing this forum

1 members, 0 guests, 0 anonymous users