Welcome, Guest. Please login or register.

Author Topic: LoadModule vs LoadResident  (Read 9877 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Pat the Cat

Re: LoadModule vs LoadResident
« Reply #44 from previous page: January 21, 2017, 06:47:27 PM »
This could partially explain why CBM or anybody else really were not in a hurry to release new versions. It's only one byte, you can't go higher than V255. But, what could be done maybe, with the LOADMODLUE issue, is for the command to scan the file name it is loading, and maybe add a query with a toggle off you had to set, to prompt the user. That's a lot more complex and less elegant really.

I think the way it is implemented is OK. It does the job, AND it really does make you, the end user, take responsibility for what you are doing.
« Last Edit: January 21, 2017, 06:56:19 PM by Pat the Cat »
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline Georg

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 90
    • Show only replies by Georg
Re: LoadModule vs LoadResident
« Reply #45 on: January 22, 2017, 02:37:47 PM »
Quote from: Thomas Richter;820295
I haven't designed "struct Resident" and the resident system of exec. That's the way it is. There is no "revision" information in the resident structure, only a version information:


In most residents there is revision information in rt_IdString. So you could extract it from there if the string contains (tostr(rt_Version) + "."), otherwise assume revision = 0 (unknown).
 

Offline Oldsmobile_MikeTopic starter

Re: LoadModule vs LoadResident
« Reply #46 on: February 24, 2017, 12:00:45 AM »
Just thought I would follow up on this old thread to say I finally got LoadModule working with the "DOWNGRADE" option.

I had to use a combination of DOWNGRADE + AUTO + a manually specified directory ("SYS:ResidentMods") where I packed in all the extra stuff that LoadModule wasn't able to detect automatically.

But here's some additional info, if anyone is interested (screenshots attached).  Still a hair on the kludgy side, still not as good as burning a custom ROM, but it's able to successfully load all my modules without the super-long strings of commands I was having to use before.  And that's all I was really trying to do, LOL.  :banana:
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline trixster

Re: LoadModule vs LoadResident
« Reply #47 on: March 14, 2017, 07:50:17 AM »
Could you use Setpatch NOROMUPDATE rather than SKIPROMUPDATES? This would save you having to list all the updates in your setpatch line that you don't want setpatch to load. Or does "romupdate" do more than just load those various libraries/devices?
[SIGPIC][/SIGPIC]A1200 + 80Mhz B1260 + Indi AGA2 + Ide-fix Express | A500 | A3000 + 50Mhz A3660 + CV64 + Deneb + 486SLC + ZorRam
A4000/040 + 66Mhz  Cyberstorm Mk2 + Indi AGA + Voodoo 3 + Sonnet G3 + Deneb + Prisma | SNES | C64 | CPC6128 | MD | 3DO
Acorn A3020 | A3000 | A420/1 | Atom | Master Turbo | BBC B | Atari Falcon + 100Mhz CT60e | PS1 | PS2 | Saturn | Atari Jaguar
 

Offline Damion

Re: LoadModule vs LoadResident
« Reply #48 on: March 14, 2017, 08:35:13 AM »
Quote
still not as good as burning a custom ROM


It's a fun proof-of-concept, otherwise you're not missing out on anything. It's really annoying when some piece of software is inevitably broken due to a change in the ROM, and now you're stuck without some further hassle.

I've gone back to standard ROMs and tools like LoadModule and BlizKick. (Or some sort of flashrom is handy, like the DENEB or new A500Flash...). As Kolla mentioned, softkicking your modified ROM (if possible) is the way to go.
 

Offline dschallock

Re: LoadModule vs LoadResident
« Reply #49 on: March 14, 2017, 02:40:48 PM »
Just wanted to applaud your constant effort @oldsmobilemike to improve and tweak your system by means of the latest and greatest libraries and in the cleanest most streamlined method possible.  As is often the case with our miggies, once you dig into a problem it can take numerous hours of head banging to get it working right (if at all).  The efforts and frustrations you make permanent on the forum make the process a little less daunting for the next Joe.  Personally this process is still above my pay-grade... I'm finally (in 2017) using "versionWB" to check libraries and just update them with the latest versions while maintaining a backup of the version before just in case. hahaha.  But maybe I'll get the guts to try what you did here at some point.
Anyway... good on ya!
 

Offline trixster

Re: LoadModule vs LoadResident
« Reply #50 on: March 14, 2017, 02:48:07 PM »
Seconded
[SIGPIC][/SIGPIC]A1200 + 80Mhz B1260 + Indi AGA2 + Ide-fix Express | A500 | A3000 + 50Mhz A3660 + CV64 + Deneb + 486SLC + ZorRam
A4000/040 + 66Mhz  Cyberstorm Mk2 + Indi AGA + Voodoo 3 + Sonnet G3 + Deneb + Prisma | SNES | C64 | CPC6128 | MD | 3DO
Acorn A3020 | A3000 | A420/1 | Atom | Master Turbo | BBC B | Atari Falcon + 100Mhz CT60e | PS1 | PS2 | Saturn | Atari Jaguar
 

Offline kolla

Re: LoadModule vs LoadResident
« Reply #51 on: March 14, 2017, 03:45:53 PM »
I have at least two systems where I have not found ways to softkick, CD32/SX32Pro and Apollo 630. On the CD32/SX32Pro, it seems problematic to load modules to FastRAM even, so lots of chipram vanishes to update ROM modules. I suspect it may be possible to work around that though.
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 Oldsmobile_MikeTopic starter

Re: LoadModule vs LoadResident
« Reply #52 on: March 14, 2017, 06:02:50 PM »
Quote from: dschallock;823374
Just wanted to applaud your constant effort @oldsmobilemike to improve and tweak your system by means of the latest and greatest libraries and in the cleanest most streamlined method possible.  As is often the case with our miggies, once you dig into a problem it can take numerous hours of head banging to get it working right (if at all).  The efforts and frustrations you make permanent on the forum make the process a little less daunting for the next Joe.  Personally this process is still above my pay-grade... I'm finally (in 2017) using "versionWB" to check libraries and just update them with the latest versions while maintaining a backup of the version before just in case. hahaha.  But maybe I'll get the guts to try what you did here at some point.
Anyway... good on ya!

Thank you, sir!  My fame will live forever in the hallowed halls of amiga.org website.  That is unless, of course, it goes down like amigaworld.net.  :lol:
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline giZmo350

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 2056
  • Country: 00
  • Thanked: 29 times
  • Gulfport, Miss
    • Show only replies by giZmo350
Re: LoadModule vs LoadResident
« Reply #53 on: March 14, 2017, 06:51:12 PM »
Grumpy Cat and I are very pleased with your legacy of accomplishments Mike! Ummm, just take my word for it! :lol:

A500: 2MB Chip, 8MB Fast, IndiECS, MiniMegi, IDE4ZorroII on Z-500, KS1.3/KS3.1, WB3.1&BWB
 
A2000HD: 2MB Chip, 128MB Fast, P5:Blizz 2060@50MHz, PCD-50B/4GBCF, XSurf100, RapidRoad, IndiECS, Matze RTG, MiniMegi, CD-RW, SunRize AD516, WB3.9
 
A1200: 2MB Chip, 64MB Fast, 4GBCF, GVP Typhoon 030 @40MHz w/FPU, Subway USB, EasyNet Ethernet, Indi AGA MKI, FastATA MK-IV, Internal Slim CD/DVD-RW, WB3.5

Surfing The Web With AMIGA Is Fun Again!
 

Offline Oldsmobile_MikeTopic starter

Re: LoadModule vs LoadResident
« Reply #54 on: January 13, 2018, 12:59:24 AM »
Hi!  Since somebody just asked me about this, and for the benefit of anyone who comes after me.  I was just setting up a CF a few days ago that has 3.1 + BetterWB + some of the custom LoadModule stuff on it (like I have on my A2000 but without the additional LoadModule items for the graphics card).  Here's a few photos.

The LoadModule statement itself (in Startup-Sequence) scans and replaces various system modules with AUTO.  I also created a separate folder of stuff for it to load (SYS:ResidentMods) that it is not able to find automatically.  In the case of this one I also took out the NOREBOOT option, since it's 3.1 (as opposed to 3.9).

TL;DR.  Some quick photos off my camera phone attached.  :)

Edit: This is still a WIP. :lol:
« Last Edit: January 13, 2018, 01:38:16 AM by Oldsmobile_Mike »
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

guest11527

  • Guest
Re: LoadModule vs LoadResident
« Reply #55 on: January 13, 2018, 05:56:25 PM »
Don't make it too complicated. All ROM-based components can go into their canonical location, and LoadModule will pick them up, with the AUTO option only.

battmem.resource, FileSystem.resource misc and potgo and card.resource goes, like every resource, into LIBS:resources. However, none of these resources, probably with the exception of card.resource, do have any defects I am aware about. battmem is just a very tiny wrapper around battclock.

ramlib goes to LIBS:modules.

utility.library goes to LIBS: (where else?)

The datatypes.library is likely not ROM-able and should stay on disk.

Kingkong goes to SYS:Trashcan.
 

Offline dannyp1

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 664
  • Country: us
  • Gender: Male
    • Show only replies by dannyp1
Re: LoadModule vs LoadResident
« Reply #56 on: January 13, 2018, 06:16:21 PM »
TR, I think the reason for the updates of the resources you mentioned was just to make them smaller to free up room for fitting more on roms that are being made. Someone with your knowledge would have to be the judge if they are actually more efficient.
 

Offline kolla

Re: LoadModule vs LoadResident
« Reply #57 on: January 13, 2018, 09:19:08 PM »
Quote from: Thomas Richter;834984
LIBS:resources


Personally, I actually think DEVS:resources wold be more fitting :)
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
 

guest11527

  • Guest
Re: LoadModule vs LoadResident
« Reply #58 on: January 13, 2018, 10:59:53 PM »
Quote from: kolla;834993
Personally, I actually think DEVS:resources wold be more fitting :)

Yes, I see what you mean. Though it depends a bit on the resource. FileSystem.resource works well in LIBS: It's too late to change at this time, though.
 

Offline kolla

Re: LoadModule vs LoadResident
« Reply #59 on: March 19, 2018, 09:04:43 AM »
Another thread resurrection... :)

@Thomas
The LoadModule readme shows a few examples, one of them being...
Code: [Select]
LoadModule LIBS:icon.library LIBS:workbench.library +
  DEVS:console.device L:Ram-Handler L:FastFileSystem +
  reverse noreboot
(http://aminet.net/package/util/boot/LoadModule)

Is that meant to be taken literally? Because I never got LoadModule to work with "+" like that - I wish though, sometimes the LoadModule line can become really long. Is there any practical difference between using multiple LoadModule lines with "NOREBOOT" and using one LoadModule line that has everything?

Cheers!
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