Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I don't think it exists. I ended up using one of Adam's/Onecircuits Coinups on mine. Works great and does the job for me.
I'd really like to see this feature with a high score save as well though.
here's the entire disassembly for rally-x in one big text file.
https://drive.google.com/file/d/0BxQMpcsrCd4UZTRLWjBVUkdCNzA/view?usp=sharing
.
Sweet thanks that works and should help the tweaking trial and error (didnt get to spend any time on it yet though)
Ugh... leave the opcodes in... use a monospaced font.
ROM:14C5 sub_14C5:
ROM:14C5 nop
ROM:14C6 push hl
ROM:14C7 push de
ROM:14C8 push bc
ROM:14C9 push af
ROM:14CA ld a, (byte_82AA) ;checks coin dip switch
ROM:14CD and a
ROM:14CE jr nz, loc_14D7 ;if zero
ROM:14D0 ld hl, 8024h ;then free play is on
ROM:14D3 ld (hl), 0FFh ;so set credit counter to FF
ROM:14D5 jr loc_1513 ;and skip credit button check
ROM:14D7 ;else check for credit button inputs
ROM:14D7 loc_14D7:
ROM:14D7 ld hl, 82ACh
ROM:14DA ld a, (byte_A000) ;poll the 1p input byte
ROM:14DD ld b, a
ROM:14DE rra ;? rotate right accumulator
ROM:14DF rl (hl) ;? rotate left value in 82AC
ROM:14E1 inc hl
ROM:14E2 rl b
ROM:14E4 rl (hl)
ROM:14E6 inc hl
ROM:14E7 ld a, (byte_A080) ;poll the 2p input byte
ROM:14EA rla
ROM:14EB rl (hl)
ROM:14ED ld a, (hl)
ROM:14EE and 0Fh ;? somehow this is checking
ROM:14F0 cp 0Ch ;? for 1p coin switch
ROM:14F2 call z, sub_1518 ;? (7F instead of FF in A000)
ROM:14F5 dec hl
ROM:14F6 ld a, (hl)
ROM:14F7 and 0Fh ;"
ROM:14F9 cp 0Ch ;"
ROM:14FB call z, sub_1518
ROM:14FE dec hl
ROM:14FF ld a, (hl)
ROM:1500 and 0Fh
ROM:1502 ld b, 1
ROM:1504 cp 0Ch
ROM:1506 jr nz, loc_1513
ROM:1508 ld a, (byte_89F6)
ROM:150B set 6, a
ROM:150D ld (byte_89F6), a
ROM:1510 call sub_152A
ROM:1513
ROM:1513 loc_1513:
ROM:1513 pop af
ROM:1514 pop bc
ROM:1515 pop de
ROM:1516 pop hl
ROM:1517 ret
ROM:1517 ; End of function sub_14C5
yeah i believe you're right, and i think its the 14D7 section i mentioned, but i have to make sense of the bitwise stuff to make it check for start instead of coin input, which change the entire bytes like so:
1p start changes A000 from FF to BF
1p coin changes A000 from FF to 7F
Code:ROM:14C5 sub_14C5: ROM:14C5 nop ROM:14C6 push hl ROM:14C7 push de ROM:14C8 push bc ROM:14C9 push af ROM:14CA ld a, (byte_82AA) ;checks coin dip switch ROM:14CD and a ROM:14CE jr nz, loc_14D7 ;if zero ROM:14D0 ld hl, 8024h ;then free play is on ROM:14D3 ld (hl), 0FFh ;so set credit counter to FF ROM:14D5 jr loc_1513 ;and skip credit button check ROM:14D7 ;else check for credit button inputs ROM:14D7 loc_14D7: ROM:14D7 ld hl, 82ACh ROM:14DA ld a, (byte_A000) ;poll the 1p input byte ROM:14DD ld b, a ROM:14DE rra ;? rotate right accumulator ROM:14DF rl (hl) ;? rotate left value in 82AC ROM:14E1 inc hl ROM:14E2 rl b ROM:14E4 rl (hl) ROM:14E6 inc hl ROM:14E7 ld a, (byte_A080) ;poll the 2p input byte ROM:14EA rla ROM:14EB rl (hl) ROM:14ED ld a, (hl) ROM:14EE and 0Fh ;? somehow this is checking ROM:14F0 cp 0Ch ;? for 1p coin switch ROM:14F2 call z, sub_1518 ;? (7F instead of FF in A000) ROM:14F5 dec hl ROM:14F6 ld a, (hl) ROM:14F7 and 0Fh ;" ROM:14F9 cp 0Ch ;" ROM:14FB call z, sub_1518 ROM:14FE dec hl ROM:14FF ld a, (hl) ROM:1500 and 0Fh ROM:1502 ld b, 1 ROM:1504 cp 0Ch ROM:1506 jr nz, loc_1513 ROM:1508 ld a, (byte_89F6) ROM:150B set 6, a ROM:150D ld (byte_89F6), a ROM:1510 call sub_152A ROM:1513 ROM:1513 loc_1513: ROM:1513 pop af ROM:1514 pop bc ROM:1515 pop de ROM:1516 pop hl ROM:1517 ret ROM:1517 ; End of function sub_14C5