Jump to content

Editing which teams go where in the playoffs.


Carther

Recommended Posts

I am looking for anyone who has information on how to edit what slots teams go into for the playoffs. For instance, If I wanted only two teams to make the playoffs I would have the afc east division winner go into the slots for wildcard 1 and wild card 2 and division winner number 2 and the AFC West winner to go into slots for wild card 3 and division winner 3 and division winner 1. This way the teams would only play themselves until the AFC championship game making it really a two team playoff. I can't make much of the information that is on the siteat this time for editing the playoffs.

Any help would be appreciated and would help me be able to release roms from the time period 1966 to 1977 which I would like to do. Thanks.

Link to comment
Share on other sites

Here is the storage of the playoff tree in SRAM:


AFC: NFC:
$6786 $678A
$6787 $678B
$6776 $677A
$6777 $677B
$6796 $679A
$679E $679F
$6797 $679B
$677F $6783
$677E $6782
$678F $6792
$678E $6791

After week 17 is played it writes the teams into their slot for the playoffs (using their team number x00 = Buffalo and x1B = Atlanta). After each game is played then it writes the score into the location after the team numbers (the team with the higher score has their icon placed in the next playoff location) and writes the team number into the next playoff spot in SRAM.

Is that what you are wanting?

Link to comment
Share on other sites

Another jstout gem.

x22E47:
; Check for Divison Winner
$AE37:AD 58 67 LDA $6758
$AE3A:C9 09 CMP #$09 ; Week to start checking
$AE3C:90 1E BCC $AE5C
$AE3E:A9 00 LDA #$00 ; AFC EAST
$AE40:20 5D AE JSR $AE5D
$AE43:A9 01 LDA #$01 ; AFC CENTRAL
$AE45:20 5D AE JSR $AE5D
$AE48:A9 02 LDA #$02 ; AFC WEST (became NFC conference)
$AE4A:20 5D AE JSR $AE5D
$AE4D:A9 03 LDA #$03 ; NFC EAST
$AE4F:20 5D AE JSR $AE5D
$AE52:EA NOP ; REMOVED NFC CENTRAL
$AE53:EA NOP
$AE54:EA NOP
$AE55:EA NOP
$AE56:EA NOP
$AE57:EA NOP ; REMOVED NFC WEST
$AE58:EA NOP
$AE59:EA NOP
$AE5A:EA NOP
$AE5B:EA NOP
$AE5C:60 RTS

x231EA:
; Force Divison Champs
$B1DA:A9 00 LDA #$00 ; AFC EAST
$B1DC:20 A4 B2 JSR $B2A4
$B1DF:A9 01 LDA #$01 ; AFC CENTRAL
$B1E1:20 A4 B2 JSR $B2A4
$B1E4:A9 02 LDA #$02 ; AFC WEST (became NFC conference)
$B1E6:20 A4 B2 JSR $B2A4
$B1E9:A9 03 LDA #$03 ; NFC EAST
$B1EB:20 A4 B2 JSR $B2A4
$B1EE:EA NOP ; REMOVED NFC CENTRAL
$B1EF:EA NOP
$B1F0:EA NOP
$B1F1:EA NOP
$B1F2:EA NOP
$B1F3:EA NOP ; REMOVED NFC WEST
$B1F4:EA NOP
$B1F5:EA NOP
$B1F6:EA NOP
$B1F7:EA NOP
; Enable WRAM
$B1F8:A9 80 LDA #$80
$B1FA:8D 01 A0 STA $A001
; AFC Division Seeds
$B1FD:AD A2 67 LDA $67A2
$B200:85 97 STA $0097
$B202:20 0C B4 JSR $B40C
$B205:85 96 STA $0096
$B207:AD A3 67 LDA $67A3
$B20A:85 99 STA $0099
$B20C:20 0C B4 JSR $B40C
$B20F:85 98 STA $0098
$B211:AD A4 67 LDA $67A4 ; Forgotten if this is needed
; Sort AFC Divison Winners
$B214:A2 02 LDX #$02 ; Number of AFC conferences
$B216:20 0C B3 JSR $B30C
$B219:A5 97 LDA $0097
$B21B:8D 86 67 STA $6786
$B21E:A5 99 LDA $0099
$B220:8D 8E 67 STA $678E
; NFC Divison Seeds
$B223:AD A4 67 LDA $67A4
$B226:85 97 STA $0097
$B228:20 0C B4 JSR $B40C
$B22B:85 96 STA $0096
$B22D:AD A5 67 LDA $67A5
$B230:85 99 STA $0099
$B232:20 0C B4 JSR $B40C
$B235:85 98 STA $0098
$B237:AD A7 67 LDA $67A7 ; Forgotten if this is needed
; Sort NFC Division Winners
$B23A:A2 02 LDX #$02 ; Number of NFC conferences
$B23C:20 0C B3 JSR $B30C
$B23F:A5 97 LDA $0097
$B241:8D 8A 67 STA $678A
$B244:A5 99 LDA $0099
$B246:8D 92 67 STA $6792
; Move the AFC West and NFC Central to correct SRAM
$B249:20 E0 BF JSR $BFE0
; AFC Wildcard
$B24C:A9 00 LDA #$00 ; Number of First AFC Team
$B24E:20 DF B2 JSR $B2DF
$B251:A5 97 LDA $0097
$B253:8D 7E 67 STA $677E
$B256:8D A4 67 STA $67A4
$B259:A5 99 LDA $0099
$B25B:8D 76 67 STA $6776
$B25E:8D A8 67 STA $67A8
$B261:A5 9B LDA $009B
$B263:8D 77 67 STA $6777
$B266:8D A9 67 STA $67A9
$B269:A5 9D LDA $009D
$B26B:8D 7F 67 STA $677F
$B26E:8D AA 67 STA $67AA
; NFC Wildcard
$B271:A9 08 LDA #$08 ; Number of First NFC Team
$B273:20 DF B2 JSR $B2DF
$B276:A5 97 LDA $0097
$B278:8D 82 67 STA $6782
$B27B:8D A7 67 STA $67A7
$B27E:A5 99 LDA $0099
$B280:8D 7A 67 STA $677A
$B283:8D AB 67 STA $67AB
$B286:A5 9B LDA $009B
$B288:8D 7B 67 STA $677B
$B28B:8D AC 67 STA $67AC
$B28E:A5 9D LDA $009D
$B290:8D 83 67 STA $6783
$B293:8D AD 67 STA $67AD
$B296:20 B3 C4 JSR $C4B3
; Blank out extra bytes
$B299:EA NOP
$B29A:EA NOP
$B29B:EA NOP
$B29C:EA NOP
$B29D:EA NOP
; Disable WRAM
$B29E:A9 C0 LDA #$C0
$B2A0:8D 01 A0 STA $A001
; Exit
$B2A3:60 RTS

x232EF:
; Figure out Wild Cards
$B2DF:85 8E STA $008E
$B2E1:A9 0E LDA #$08 ; Number of teams in division
$B2E3:85 8F STA $008F
$B2E5:A9 00 LDA #$00
$B2E7:85 91 STA $0091
$B2E9:A5 8E LDA $008E
$B2EB:A2 06 LDX #$07 ; Changed but don't remember why
$B2ED:DD A1 67 CMP $67A1,X
$B2F0:F0 12 BEQ $B304
$B2F2:CA DEX
$B2F3:D0 F8 BNE $B2ED
$B2F5:20 0C B4 JSR $B40C
$B2F8:A6 91 LDX $0091
$B2FA:95 96 STA $96,X
$B2FC:A5 8E LDA $008E
$B2FE:95 97 STA $97,X
$B300:E6 91 INC $0091
$B302:E6 91 INC $0091
$B304:E6 8E INC $008E
$B306:C6 8F DEC $008F
$B308:D0 DF BNE $B2E9
$B30A:A2 06 LDX #$06 ; Changed but don't remember why
$B30C:CA DEX
$B30D:86 8F STX $008F
$B30F:A5 8F LDA $008F
$B311:85 8E STA $008E
$B313:A2 00 LDX #$00
$B315:B5 96 LDA $96,X
$B317:D5 98 CMP $98,X
$B319:90 23 BCC $B33E
$B31B:D0 24 BNE $B341
$B31D:20 52 B1 JSR $B152
$B320:D0 1A BNE $B33C
$B322:A0 B5 LDY #$B5
$B324:B1 40 LDA ($40),Y
$B326:D1 3E CMP ($3E),Y
$B328:85 44 STA $0044
$B32A:C8 INY
$B32B:B1 40 LDA ($40),Y
$B32D:F1 3E SBC ($3E),Y
$B32F:05 44 ORA $0044
$B331:D0 09 BNE $B33C
$B333:A5 3D LDA $003D
$B335:29 04 AND #$04
$B337:F0 08 BEQ $B341
$B339:4C 3E B3 JMP $B33E
$B33C:B0 03 BCS $B341
$B33E:20 B8 B1 JSR $B1B8
$B341:E8 INX
$B342:E8 INX
$B343:C6 8E DEC $008E
$B345:D0 CE BNE $B315
$B347:C6 8F DEC $008F
$B349:D0 C4 BNE $B30F
$B34B:60 RTS

x23FF0:
; Move AFC West and NFC East Division Winners
$BFE0:AD A5 67 LDA $67A5
$BFE3:8D A6 67 STA $67A6
$BFE6:AD A4 67 LDA $67A4
$BFE9:8D A5 67 STA $67A5
$BFEC:60 RTS

Link to comment
Share on other sites

  • 1 month later...

No. That shows what the slots look like but does not show nor explain how it is determined which team is put where.

Do you have the documentation on how you were able to determine which teams go where from your 67-69 roms?

Would it be easy to translate to the 32 team rom?

Link to comment
Share on other sites

  • 1 month later...

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.

×
×
  • Create New...