English Amiga Board


Go Back   English Amiga Board > Other Projects > project.CD32 Conversion

 
 
Thread Tools
Old 01 March 2016, 09:54   #41
patrik
Registered User
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 39
Posts: 574
In the repo
patrik is offline  
Old 01 March 2016, 17:44   #42
SyX
Registered User

 
Join Date: Sep 2004
Location: Brasil
Age: 45
Posts: 158
Quote:
Originally Posted by jotd View Post
BTW maybe you could host the CD32.TM/CDTV.TM python script from SysX in your github. I'm sure he'll be OK with that.
Of course, feel free of using/abusing any code that i have published.
SyX is offline  
Old 01 March 2016, 17:59   #43
patrik
Registered User
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 39
Posts: 574
Quote:
Originally Posted by SyX View Post
Of course, feel free of using/abusing any code that i have published.
Cheers!
patrik is offline  
Old 01 March 2016, 21:30   #44
patrik
Registered User
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 39
Posts: 574
@SyX:

Your script is now added to the cd32tools repo with the changes already discussed in the thread to get it working. Also made it use external trademark file so nobody complains.
patrik is offline  
Old 02 March 2016, 14:27   #45
SyX
Registered User

 
Join Date: Sep 2004
Location: Brasil
Age: 45
Posts: 158
Thanks patrick!
SyX is offline  
Old 02 March 2016, 14:51   #46
patrik
Registered User
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 39
Posts: 574
Quote:
Originally Posted by jotd View Post
Tell me when it's in the git repo and I'll adapt it. Now we have a full windows native toochain, not up to your standards in terms of boot speed, but still very convenient.
Actually, now with the fully working mkisofs-isos I retried the boot time. When I did the previous timing I was under the impression it created correct isos for me as it did boot and appeared to work fine.

However, it did not and this affected the boot time. We use ahx music in our menu and it looks in S:ahxWaves.location for the path to the precalc data and we have that data in S:ahx.waves. Our Startup-Sequence had uppercased first character in the name, with the result that the CD32 couldn't lock either of the ahx files leading to it precalculating it with the cpu, which normally should be slower than loading it from disc. However, with the mkisofs generated iso it apparently is slower reading from file :P.

We have also made one change to the CD, we now run "C:SetPatch QUIET" first in the Startup-Sequence. This makes the measurements a bit non-consistent with the previous. One insteresting thing with it is that it actually made the ISOCD-generated disc boot even faster than before. SetPatch says it patches a "cd CD_SEEK" function, maybe that is beneficial?

Also for fun tried a depth first sorting with the per-directory file sorting on upper case names manually removed and without prioritization list using generateLayout.py. Just guessing that that is something similar to the order of makeisofs.

Nevertheless, these are the current results.
Mkisofs: 17.88s
ISOCD with depth first, no per-dir filename uppercase-sorting: 17.34s
ISOCD with regular breadth first with our prioritization list: 11.64s
patrik is offline  
Old 02 March 2016, 15:45   #47
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,304
Ok, we can keep both solutions. The slow one will be for day to day builds to test on emulators, and the ISOCD one will be for releases.
jotd is offline  
Old 02 March 2016, 19:49   #48
patrik
Registered User
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 39
Posts: 574
Indeed, just wanted to update the numbers and was also a bit intrigued by the positive results by running setpatch. If anything, I expected it to get slower as it is one more command to execute. Did not expect it to go the other way.
patrik is offline  
Old 24 February 2019, 10:57   #49
alpine9000
Registered User

 
Join Date: Mar 2016
Location: Australia
Posts: 730
Reviving an old thread, I tried this and it worked great!

Only issue I have is if I use CDTV.TM then I get an error when running pathTableUtil.py uppercase

(Works fine with CD32.TM)

Code:
PathTable size: 200
Traceback (most recent call last):
  File "../tools/cd32tools/pathTableUtil.py", line 230, in <module>
    pathTableLSB = PathTable(isoFile.read(descriptor.pathTableSize), True)
  File "../tools/cd32tools/pathTableUtil.py", line 175, in __init__
    entry.parent = self.entries[entry.parentNum - 1]
IndexError: list index out of range
alpine9000 is offline  
Old 24 February 2019, 14:47   #50
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,304
ouch. It means that self.entries is empty. So long for the parent.... probably not trivial to fix.

Yes those tools are great to batch ISO production with mkisocdfs. Now StatMat ISOCDWin does a great job replicating ISOCD on Windows. Only the batch mode is missing.
jotd is offline  
Old 24 February 2019, 22:54   #51
alpine9000
Registered User

 
Join Date: Mar 2016
Location: Australia
Posts: 730
I am guessing the problem is that the CDTV.TM is ~22kb whereas CD32.TM is exactly the block size (2048), which probably means that when make_cd32_iso.py patches it in it’s not quite right.
alpine9000 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for some basic IP tools en SDK tools Roland007 support.WinUAE 0 28 November 2012 23:34
Tools alexh support.Hardware 15 06 August 2010 00:27
Need a few tools Phantomz request.Apps 6 22 November 2008 04:15
Tools? Kada project.Amiga Game Factory 1 05 February 2008 10:58
CD32 / Daemon tools lockup? Mclane support.WinUAE 0 01 April 2003 19:20

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.07529 seconds with 15 queries