Page 3 of 3

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 10:16
by exxos
stephen_usher wrote: 03 Mar 2021 10:12 Without MAPROM installed then the floppy works, if it is then it doesn't. I'm still puzzled as it did work previously with MAPROM.
oh I had that problem, I've never got MAPROM working.. somewhere in my TF536 build thread I mentioned this.

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 14:50
by stephen_usher
OK. I think I've fixed MAPROM by changing the mmu030.s file to use proper MMU assembler mnemonics rather than dc.l binary op codes. It needs Devpac3 to assemble but that did show that he used the wrong version of pmove for at least one of them.

I can now access the floppy with MAPROM installed and the cache on.

I've attached my modified version.

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 15:14
by DoG
stephen_usher wrote: 03 Mar 2021 14:50...I can now access the floppy with MAPROM installed and the cache on...
Nice work. I will check it out later.

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 15:36
by czietz
stephen_usher wrote: 03 Mar 2021 14:50 OK. I think I've fixed MAPROM by changing the mmu030.s file to use proper MMU assembler mnemonics rather than dc.l binary op codes. It needs Devpac3 to assemble but that did show that he used the wrong version of pmove for at least one of them.
Please let @agranlund know which line exactly you fixed.

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 15:40
by stephen_usher
czietz wrote: 03 Mar 2021 15:36
stephen_usher wrote: 03 Mar 2021 14:50 OK. I think I've fixed MAPROM by changing the mmu030.s file to use proper MMU assembler mnemonics rather than dc.l binary op codes. It needs Devpac3 to assemble but that did show that he used the wrong version of pmove for at least one of them.
Please let @agranlund know which line exactly you fixed.
I would love to but he's not logged into here or Atari Forum since 23rd December.

This is the section I changed (commented out the original lines and typed in the replacements:

Code: Select all

*	dc.l	$f0394c00,gMMU030_CRP		; pmove addr,crp
*	dc.l	$f0394000,gMMU030_TC		; pmove addr,tc
*	dc.l	$f0390800,gMMU030_TTR0		; pmove addr,ttr0
*	dc.l	$f0390c00,gMMU030_TTR1		; pmove addr,ttr1
*	dc.l	$f0002400			; pflusha

	pmove.d gMMU030_CRP,CRP
	pmove.l gMMU030_TC,TC
	pmove.l gMMU030_TTR0,TT0
	pmove.l gMMU030_TTR1,TT1
	pflusha

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 15:54
by czietz
stephen_usher wrote: 03 Mar 2021 15:40 This is the section I changed (commented out the original lines and typed in the replacements:

Code: Select all

*	dc.l	$f0394c00,gMMU030_CRP		; pmove addr,crp
*	dc.l	$f0394000,gMMU030_TC		; pmove addr,tc
*	dc.l	$f0390800,gMMU030_TTR0		; pmove addr,ttr0
*	dc.l	$f0390c00,gMMU030_TTR1		; pmove addr,ttr1
*	dc.l	$f0002400			; pflusha

	pmove.d gMMU030_CRP,CRP
	pmove.l gMMU030_TC,TC
	pmove.l gMMU030_TTR0,TT0
	pmove.l gMMU030_TTR1,TT1
	pflusha
I'm not sure how this makes a difference, though. Anders's version (downloaded from his GitHub repo) and your version (attached to the forum thread) are 100% identical in this section of code:
maprom_nodifference.png
(His version is on the left, yours on the right.)

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 15:57
by stephen_usher
I've no idea then. One binary works on my machine and the other doesn't.

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 20:25
by TheNameOfTheGame
Can you do a diff on the two binaries to see what part of the code is different between the two?

Re: Latest firmware stops PAK/30 from booting.

Posted: 03 Mar 2021 23:27
by stephen_usher
I'll have a look at the tomorrow. However, for some reason the new version has stopped working with the floppy too, so it may not be the binary and just "one of those random things"(tm)