Jump to content
Sign in to follow this  
StanJr

Hacking Color?

Recommended Posts

Can Hack-oMatic be used to hack color? And if so, how would one go about doing that?

Share this post


Link to post
Share on other sites

Nope. Not unless you get exteremely lucky and happen to change the part of the program that load values into the color registers.

Share this post


Link to post
Share on other sites

It's true you can't easily use Hackomatic to change color, but it's not that hard to do it with the regular code if you want to give it a shot.

 

My last effort was dragrace, a hack of dragster I did about 4 or 5 months ago (the cars were changed to look like stock cars, and all the colors were changed). In the Dragster code, if you modify the LDA line immediately preceding the STA COLUBK line (well, really I checked any line that started with "COLU"), it will change the color on *something*. I spent a little time figuring out exactly what line changed which part of the screen. I attached a copy of the commented code from where I changed dragster, with the lines that change the color noted. The bin file is also included.

 

Here's a snippet of my commented code:

 

      BPL    LF0FD  ;2

      STX    WSYNC  ;3

      LDA    $66    ;3; Strip of color below the car..

      STA    COLUBK ;3

      LDX    #$09   ;2 

LF10E: STA    WSYNC  ;3

      LDA    #$F7   ;2

      STA    $90,X  ;4

      DEX           ;2

      DEX           ;2

      BPL    LF10E  ;2

      LDA    $22    ;3; Color behind tachometer. 

      STA    COLUBK ;3

      LDA    #$02   ;2

      STA    CTRLPF ;3

      LDA    $19   ;3; Changed 8A to 87 Color.  First part of tachometer.

      STA    COLUP0 ;3

      LDA    $37    ;3; Changed 8A to 78 Color.  Red part of Tachometer.

      STA    COLUP1 ;3

      LDX    $AA    ;3

      LDY    #$07   ;2

 

Here's a link to my original post about Drag Race in the Hacks forum:

 

http://www.atariage.com/forums/viewtopic.php?t=24190

 

AM

dragrace1.zip

Share this post


Link to post
Share on other sites

Hey Stan, I just saw your post in the Hacks forum about "Undersea Adventure". I can help you change the colors on Adventure pretty easily, especially after all that work I put into Adventure Plus. :) Let me know if you want any assistance.

 

AM

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...