Jump to content
IGNORED

Finished! Hangly-Man for 5200 v0.4 Complete w/ 2nd maze


PacManPlus

Recommended Posts

Thanks Steve :)

 

Well, I believe I fixed that issue, (just by adding zeros to the bottom line). But now, I noticed another bug: The game is not speeding up the players after completion of each level. (the Peach -> Apple flow is where it's most noticable; the apple starts of the same speed as the Peach). Only when you die does the speed correct itself. :( If you start the game on the Apple, however, the players are the correct speed (which is why I didn't notice it before)

 

I've already been looking at this one for hours, and I am giving up for today. I'm thinking about starting from scratch again.

Link to comment
Share on other sites

This is unbelievable.

 

I just spent almost two days on this bug (the speed bug), pulling my hair out because I couldn't figure out what it was that I did to cause it... And then I thought, "let me just try the original one and see what happens". Guess what? the bug is in the original game. I even tried the original *cartridge* and it's there too.

 

:x :x

 

Anyway, I'll be posting the fixed (the screen garbage) binary tomorrow. I would like to try and clean it up a little first.

 

Bob

Link to comment
Share on other sites

The difference? 16K. :P

 

J/K - Some people have issues getting the 16K version to run... For instance, to put it on a cart it's just easier to work with the 32K version. But working with (hacking) the game, the 16K version is less confusing. This is because the image is not just doubled. The first 8K is doubled, and then the last 8K is doubled. :)

Link to comment
Share on other sites

Still getting garbage at the bottom of the screen. I hacked in a ram-clear routine at startup that clears it, give it a try.

 

Also the ram clear routine is printed below, I put it at $4000.

 

Steve

--

4000 LDA #$00 ; 2cyc ; A9 00

4002 STA $20 ;ICHIDZ ; 3cyc ; 85 20

4004 LDA #$03 ; 2cyc ; A9 03

4006 STA $21 ;ICDNOZ ; 3cyc ; 85 21

4008 LDA #$00 ; 2cyc ; A9 00

400A TAY ; 2cyc ; A8

400B STA ($20),Y ;ICHIDZ ; 6cyc ; 91 20

400D INY ; 2cyc ; C8

400E BNE $400B ; 2cyc ; D0 FB

4010 INC $21 ;ICDNOZ ; 5cyc ; E6 21

4012 LDA $21 ;ICDNOZ ; 3cyc ; A5 21

4014 CMP #$40 ; 2cyc ; C9 40

4016 BNE $4008 ; 2cyc ; D0 F0

4018 JMP $8386 ; 3cyc ; 4C 86 83

hang3.zip

Link to comment
Share on other sites

Sorry to sound dense, but is that code you inserted for the 8-bit or the 5200?

 

I was looking where to insert it, and I noticed that $4000 is out of the range of the cart. Also, it looks like location $20 and $21 might be different:

 

;Reserved 5200 locations:

;00 POKMSK ;Mask for Pokey IRQ enable

;01 RTCLOK ;60 hz. clock

;03 CRITIC ;Critical section

;04 ATRACT ;Attract Mode

;05 SDLSTL ;DLISTL Shadow

;06 SDLSTH ;DLISTH Shadow

;07 SDMCTL ;DMACTL Shadow

;08 PCOLR0 ;COLPM0 Shadow

;09 PCOLR1 ;COLPM1 Shadow

;0A PCOLR2 ;COLPM2 Shadow

;0B PCOLR3 ;COLPM3 Shadow

;0C COLOR0 ;COLPF0 Shadow

;0D COLOR1 ;COLPF1 Shadow

;0E COLOR2 ;COLPF2 Shadow

;0F COLOR3 ;COLPF3 Shadow

;10 COLOR4 ;COLBK Shadow

;11 PADDL0 ;POT0 Shadow (Stick 1X)

;12 PADDL1 ;POT1 Shadow (Stick 1Y)

;13 PADDL2 ;POT2 Shadow (Stick 2X)

;14 PADDL3 ;POT3 Shadow (Stick 2Y)

;15 PADDL4 ;POT4 Shadow

;16 PADDL5 ;POT5 Shadow

;17 PADDL6 ;POT6 Shadow

;18 PADDL7 ;POT7 Shadow

 

;Program Space

 

;20 Used by DLI code

;21 Game Phase

;22 Selected number of players

;23 Selected level

;24 Causes READY to display

;25 Set to FF - as above

;26 Some sort of timer (872A)

...

 

 

I'm just asking because I don't quite understand... Is the memory map I have wrong?

Link to comment
Share on other sites

Well $4000 is in range for a 32k cartridge image, but for 16k you should move it to somewhere in the $8000-$BFFF range.

 

The use of the $20 location is done before the game starts, so it doesnt interfere with anything later. I just set the cartridge start address to $4000.

 

You should be able to move that code anywhere in memory and it will still work as long as you update the cartridge start address pointer @ $BFFE

 

Steve

Link to comment
Share on other sites

  • 6 months later...

Hello Everyone:

 

As requested by Hepcat, here is Hangly-Man version .7 I have made the same three changes / bugfixes as I have to Atari's standard 'Pac-Man' and one addition:

 

1) The flashing monsters now match the arcade.

2) The 'Infinite blue time' now does not turn the monsters blue at all

3) The speed now ramps up correctly, like the arcade.

4) As in original Hangly-Man, the mazes which are not empty sometimes turn invisible when you eat an energizer.

 

Enjoy!

hang5200.zip

Link to comment
Share on other sites

Hello Everyone:

 

As requested by Hepcat, here is Hangly-Man version .7  I have made the same three changes / bugfixes as I have to Atari's standard 'Pac-Man' and one addition:

 

1) The flashing monsters now match the arcade.

2) The 'Infinite blue time' now does not turn the monsters blue at all

3) The speed now ramps up correctly, like the arcade.

4) As in original Hangly-Man, the mazes which are not empty sometimes turn invisible when you eat an energizer.

 

Enjoy!

844875[/snapback]

 

Heh,I got the original *rare* version :D

Link to comment
Share on other sites

  • 15 years later...

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