Welcome, Guest. Please login or register.

Author Topic: MuTools and more updated to V46  (Read 4560 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kolla

Re: MuTools and more updated to V46
« on: December 15, 2016, 03:32:28 PM »
I like the description of new LoadModule - great, thanks! MuFastROM for CD32 also sounds good, I suppose the SX32 Pro with full MMU 030 is the only system where it can be useful? Well, I just happen to have one :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #1 on: December 17, 2016, 04:15:42 PM »
Quote from: Thomas Richter;817780
Well, the 68060 requires the MMU anyhow


How is that? And how about the 68040? Of course I ask this in the context of Apollo Core :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #2 on: December 19, 2016, 11:27:19 AM »
@AmiDude
And you are a big ass.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #3 on: December 19, 2016, 12:06:17 PM »
Quote from: AmiDude;817895
And why do you come to this conclusion? Did I say something wrong to you?
You also follow the big mass and are therefore also a brainless *sshole!


I just looked at your avatar, dumbass :laughing:
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #4 on: December 19, 2016, 05:11:47 PM »
@AmiDude
You're clearly the bigger moron here, jumping in here just to... what exactly? Your Amiga setup is very... simple, like its owner, obviously.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #5 on: December 20, 2016, 09:23:00 AM »
@eliyahu
Ahm, ok mommy.

@ThoR
So I spent last night playing with the new LoadMdule (and a little MuTools) on my SX32, since it is one of the few systems I haven't managed to find a working softkicker for.

Things mostly work fine, except with some quirks that I haven't really figured out yet - sometimes on reboot, the modules are no longer resident, yet the system will try to boot up as if they were. To get around this I must to a "long reset" (press ctrl-a-a really long), or power cycle. I will investigate this a bit more so I can reproduce the problem consistently.

A small, but really annoying thing is that LoadModule (at least with AUTO) doesn't want to load modules of same major revision as already resident. For example, kickstart 3.1 comes with trackdisk.device 40.1, while I have DEVS:trackdisk.device that is 40.2 - LoadModule will complain that trackdisk.device version 40 is already resident, so I guess I must specify such modules specifically (I just now read the line in the readme saying "This will augment the list of modules provided through the MODULE argument.")
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #6 on: December 20, 2016, 05:23:55 PM »
Quote from: Thomas Richter;817971
Depending on the avaialble RAM, MuMapRom *might* be worth a try. This said, it is also very much a hack, and yes, if you want to map a 1MB ROM for it, you need plenty of local motherboard RAM the machine does likely not provide.


Right, should not be a problem, I currently have 8MB of fast RAM, but can add up to 64MB iirc.

Quote

How do you reset the machine? There are two "must-work" methods, namely the keyboard reset, and exec/ColdReboot(). If one of them does not work, let me know.


Well, I have this habit of typing "reboot", so it is the reboot command from... I think the OS 3.1 Installer floppy, but it also happens with ctrl-a-a. The SX32 Pro is a hack in so many ways (which is why Linux and *BSD never really worked well on it), the CD32 also has a reset button, and who knows what it does :)

Quote
LoadModule will, by default, place its modules in MEMF_KICK memory (except exec, which must potentially go into MEMF_LOCAL). In worst case, modules also need to go to MEMF_LOCAL, or even MEMF_CHIP, even though this *should* not required if the memory is announced correctly. Details would be interesting. If the standard arguments do not work, I can probably compile a version for you that puts the modules into MEMF_CHIP just for testing.


I am happy to do tests. I am going on holidays vacation, but might bring the system with me to tinker with. Ah yes, I had to use the EXECTOCHIP flag, or I would get a yellow screen and rapidly blinking power LED, followed by a reset.

Quote

BTW, it is rather important that LoadModule comes into the system before MuFastZero. Once the latter is installed, Execbase may exist "twice": Once in its original position in Chip RAM, and this is the location where it is required for the reset. And once in the mirrored position in fast RAM. The CPU can, once the tool is run, only see the latter mirror. Thus, if you install LoadModule on top of MuFastZero, you only modify the active version of exec, but not the version that comes in play after a reset.


Aha, yes, I understand.

Quote

Not only with AUTO, but in general. It is a fairly general limitation of exec. If you place two modules on the resident list, exec will grab the one with the highest version number.


And by "version number" you mean major version number.

Quote

There might be a way around this, but in general, there are system limitations like this for a reason. Libraries and devices have dependencies between them, and it is typically not a good idea to insert a lower-release into a system that was compiled for a higher release.


Maybe I was unclear - I am not inserting a lower-release, I am inserting a higher release, but with same major revision. For example, I try to replace trackdisk.device 40.1 with 40.2, but LoadModule protests. I suspect if I just edit the revision inside the binary to say 41.2 it will magically work, but that would be cheating ;)

Quote

This doesn't help. It is only later that the code checks the release dates, AUTO only compiles the command line (so to say) for the rest of the code.


OK, that is what I suspected :)

What I can say, is that the previous version (40.13?) did manage to load all these "minor" upgrades just fine, so it is a bit odd that this new version doesn't.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #7 on: December 20, 2016, 08:51:30 PM »
Btw - on installing 680?0.library files, the installer is eager to patch c:SetPatch - there is no patch for the 44.38 from 3.9BB2, does that mean that 44.38 does not need patching and will work as is, also with 68030.library?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #8 on: December 20, 2016, 09:27:26 PM »
Quote from: Thomas Richter;818000
Yes, you are right. The Os 3.9 versions also check for the 68030.library. No need to patch.


OK, and no need to 680x0.library I take it :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #9 on: December 21, 2016, 11:48:32 AM »
After some more playing around...

LoadModule AUTO does not want to replace some libs in ROM, such as lowlevel.library and nonvolatile.library, because same major revision is already resident. However, SetPatch, it seems, "removes" them, so I have moved them to a SYS:Libs2 for now, which is then added to the LIBS: assign, and presto... sadly, this type of work-around does not work for other "modules", such as trackdisk.device - I simply see _no way_ to replace trackdisk.device 40.1 with 40.2 - which kinda sucks.
« Last Edit: December 21, 2016, 01:46:51 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #10 on: December 21, 2016, 11:57:59 AM »
Quote from: Thomas Richter;818002

The output of ShowConfig would be a good start. It means that MEMF_KICK is probably not announced correctly. Don't worry about exec in chip, MuProtectModules will move it away from there.


Here follows:


10.Minne:> showconfig debug
PROCESSOR:      CPU 68030/68030mmu
CUSTOM CHIPS:   AA PAL Alice (id=$0023), AA Lisa (id=$00F8)
VERS:   Kickstart version 45.65535, Exec version 45.20, Disk version 45.5
RAM:    Node type $A, Attributes $105 (FAST), at $17800010-$17FFFFFF (~8.0 meg)
        Node type $A, Attributes $703 (CHIP), at $8000-$1FFFFF (~2.0 meg)
        Node type $A, Attributes $2 (CHIP), at $4000-$7FFF (64 K)
BOARDS:
=======================================================================
 Board + ROM (HD?) (Masoboshi GmbH):   Prod=2157/0($86D/$0) (@$E90000 64K)
 ConfigDev structure found at location $4858
==== Board ID (ExpansionRom) information:
er_Manufacturer         =2157=$86D=(~$F792)
er_Product              =0=$0=(~$FF)
er_Type                 =$D1
  (type 3, size 64K, not for free list, ROM diag vec valid, not chained)
er_Flags                =$40
  (no space preference, can not be shut up)
er_InitDiagVec          =$80
==== Configuration (ConfigDev) information:
cd_BoardAddr            =$E90000
cd_BoardSize            =$10000 (64K)
cd_Flags                =$2  (CONFIGME bit still set)
=======================================================================

B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #11 on: December 21, 2016, 09:23:17 PM »
Quote from: Thomas Richter;818038
Thanks. May I ask where the  8MB is located? This looks like 8MB 32-bit RAM on the Masoboshi, is this correct?

It is, a 72 pin SIMM slot on the SX32 Pro, yes. DCE really messed up with vendor and product IDs.

Quote
However, this is not autoconfig RAM, and expansion surely does not add it to the system. Thus, the reason why it fails is *likely* that the ram *does* go away during a reset, unlike announced. At least exec cannot allocate resident tags there.

I should probably also set MEMF_KICK here. It's not set for this memory type and would exclude the problem.

I'm happy to experiment.

Ideally I wish there was a softkicker that would work, or I should just get an EPROM writer again. Every time I update my kickstarts I also assemble one for CD32, but can only use those with FS-UAE :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #12 on: December 24, 2016, 12:49:17 PM »
I also still need LoadResident for trackdisk.device (not that I really _need_ trackdisk.device, but for the sake of "argument", upgrading from 40.1 to 40.2). I didn't bring the CD32/SX32 with my on vacation, but have been playing with a disk image on FS-UAE to see what works.



FailAt 21 - because LoadResident fails RC 20 when attempting to load trackdisk.device 40.2 when it is already present, and LoadModule >NIL: because it complains about trackdisk.device 40 already being present. DOWNGRADE for no good reason, other than without it, LoadModule will fail on the trackdisk.device issue and not reboot the system. I had hoped DOWNGRADE would allow me to drop LoadResident alltogether :)
« Last Edit: December 24, 2016, 12:51:20 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: MuTools and more updated to V46
« Reply #13 on: April 06, 2017, 10:48:30 PM »
With the LoadModule 45.8, my SX32Pro no longer needs EXECTOCHIP flag, I suppose that is intentional? :)

Btw - when using LoadModule, what's with the funky kickstart version? :p

Thanks!
« Last Edit: April 06, 2017, 10:57:23 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS