Jump to content
IGNORED

Pac-Man Plus 5200 (slight)hack


Breakpack

Recommended Posts

Hi.I was messing around with Pac-Man for 5200 and came up with this slight hack.Its really not much,but a start:) I can seem to find the ghost's body graphics while hacking,but I can't find their botton part(interesting that the ghosts are made up of 2 sprites put together.Notice when you eat the pellet,the lower part of the ghosts don't seem to 'fit'.Also,I couldnt find the fruit sprites ,or I woulda changed that.I'm still looking though.I lowered the ghost eyes slightly.If anyone can hack the colors (PacManPlus?),that'd be cool,too.Also wanna try to mod the intermission ghosts.I know the 5200 is capable of making a different color for the flag on top of the scared ghosts,but alas,thats beyond my expertise.I used Atari800Win emu to test it.Let me know what you think.Thanks :)

 

Oh,I can't upload pcx files(which Atari800Win uses),so I converted this pic to jpeg.Kinda crappy :(

post-4102-1067364464_thumb.jpg

pacmanplus5200.zip

Link to comment
Share on other sites

Crap! I had found the colors to the 5200 maze several months ago but have since thrown away that piece of paper :mad: It took a while to find too... Pretty much trial and error.

 

Unfortunately I haven't gotten any further on the 2600 PMP version; the assembly is just too difficult for me to follow (time to start reading the 'programming' forum) :ponder:

 

In the meantime, time to look at what looks like a cool job you did!... 8)

Link to comment
Share on other sites

Thanks PacManPlus :) I tried looking at the code for 2600 PMP,but it can't make heads or tails of it :( .Maybe I need to crack down and study,too :D .I did notice that the 5200 Pac-Man's ghost sprites are make up of 2 halves.The 'legs' of the ghosts are a seperate sprite,but I couldn't find it (it was all jumbled).I used TileLayerPro to hack into it.Hackomatic took way too long to load(and I never got it to..BSOD after trying Ctl/Alt/Del to stop it).Hopefully,I can find the fruit sprites,but since they have 2 colors(most of them)they may be scrambled and not easy to find....:( I'm curious as to how the 'intermission'ghost will turn out since it has 2 colors,too(blue and white).Oh well,I'll keep on it (until I get frustrated...arrrghh :) ).Right now,Im hungry :D

 

Waka waka :wink:

Link to comment
Share on other sites

The graphics for the "fruits" are redefined characters in Antic mode 4 (4 color text mode). In Ram, these are copied to the addresses $31D0 to $326F (cherry to key)...and each one uses 2 characters (left and right half...so the fruit can appear dead-center on the screen). For instance, the "fuji" logo is stored as :

 

$3230 : 22 22 22 22 22 a2 82 82 20 20 20 20 20 28 08 08

 

...which would produce:

 

00100010 00100000

00100010 00100000

00100010 00100000

00100010 00100000

00100010 00100000

10100010 00101000

10000010 00001000

10000010 00001000

 

See the Fuji? The first 8 bytes create the bitmap on the left, and the next 8 bytes create the bitmap on the right. Bit combinations of 01, 10, or 11 signify the colors of the pixels (the game select screen's text must use the same colors, since no provision is used to alter them when a fruit is displayed).

 

I didn't spend a whole lot of time looking through it, but if you search Atari800Win's F8 monitor you should be able to fine where the program grabs the data from to copy to these locations. As in LDA $????,X / STA $31D0,X (or something like that).

Link to comment
Share on other sites

Right, the 5200's Ram falls below $4000...so in there someplace the character data is copied from the Rom to the Ram locations listed above. Dunno why they chose to copy the character data to Ram rather than just point to a character set in Rom memory (?) Anyone know why they would do this?

Link to comment
Share on other sites

I noticed using TileLayerPro mentioned above,I saw two sets of pac-man characters/ghosts.I only hacked the first one's graphics.Dont know what the second copy is for :? @Nukey Shay:If I keep looking at the dissasembled rom thru dis6502,Ill come across the fruit sprites?Ill have to fiddle around with this program a little more... :)

Link to comment
Share on other sites

The cart is 32k..which means that bankswitching was used, right? I dunno how the 5200's bankswitching works, but I think it swaps out the entire cart area. Since player/missile graphics are handled by Antic like an interrupt, you would need the data in both banks so that the data can be found when Antic calls it. I guess :?

Link to comment
Share on other sites

I actually started with the 16K version of Pac-Man when I began this a few months ago

 

@NukeyShay: Thanks for the explanation; I follow things a little better now :)

 

@Breakpack:  I'll take a look at this also over the weekend....

 

Where did you get the 16K?I just got the 32K :(

Link to comment
Share on other sites

Where did you get the 16K?I just got the 32K

 

Look around on the various rom sites. The game is supposed to be 16K, but was padded with an extra 16K worth of garbage (usually just the rom copied twice) so it would work with the old emulators. It isn't needed anymore, but the old rom dumps remain out there.

 

Tempest

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