Latest firmware stops PAK/30 from booting.

Other boosters or variants.
User avatar
exxos
Site Admin
Site Admin
Posts: 23492
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Latest firmware stops PAK/30 from booting.

Post by exxos »

stephen_usher wrote: Wed Mar 03, 2021 10:12 am 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.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
stephen_usher
Posts: 5578
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Latest firmware stops PAK/30 from booting.

Post 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.
Attachments
tftools.zip
(24 KiB) Downloaded 148 times
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
DoG
Posts: 1125
Joined: Sat Apr 07, 2018 12:26 pm

Re: Latest firmware stops PAK/30 from booting.

Post by DoG »

stephen_usher wrote: Wed Mar 03, 2021 2:50 pm...I can now access the floppy with MAPROM installed and the cache on...
Nice work. I will check it out later.
czietz
Posts: 548
Joined: Sun Jan 14, 2018 1:02 pm

Re: Latest firmware stops PAK/30 from booting.

Post by czietz »

stephen_usher wrote: Wed Mar 03, 2021 2:50 pm 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.
User avatar
stephen_usher
Posts: 5578
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Latest firmware stops PAK/30 from booting.

Post by stephen_usher »

czietz wrote: Wed Mar 03, 2021 3:36 pm
stephen_usher wrote: Wed Mar 03, 2021 2:50 pm 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
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
czietz
Posts: 548
Joined: Sun Jan 14, 2018 1:02 pm

Re: Latest firmware stops PAK/30 from booting.

Post by czietz »

stephen_usher wrote: Wed Mar 03, 2021 3:40 pm 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
maprom_nodifference.png (219.47 KiB) Viewed 3837 times
(His version is on the left, yours on the right.)
User avatar
stephen_usher
Posts: 5578
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Latest firmware stops PAK/30 from booting.

Post by stephen_usher »

I've no idea then. One binary works on my machine and the other doesn't.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
TheNameOfTheGame
Posts: 159
Joined: Tue Dec 05, 2017 5:49 pm
Location: Almost Heaven, West Virginia

Re: Latest firmware stops PAK/30 from booting.

Post by TheNameOfTheGame »

Can you do a diff on the two binaries to see what part of the code is different between the two?
User avatar
stephen_usher
Posts: 5578
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Latest firmware stops PAK/30 from booting.

Post 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)
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Post Reply

Return to “EVERYTHING ELSE”