Welcome, Guest. Please login or register.

Author Topic: AFA Setup help - morelibspace  (Read 10532 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show only replies by Coolit
AFA Setup help - morelibspace
« on: May 23, 2007, 10:54:28 PM »
Hi All,

I've been updating my A1200 over the last few days and decided to remove powericons and replace it with AFA. I've successfully removed powericons and installed the latest AFA following the instructions to the letter as far as I can tell (did a manual install).

I have been partially successful, as far as I can tell everything works except the 32bit icons, the fonts look lovely btw! Now I've narrowed the problem down using snoopdos, it shows the following error continually in a cycle:-

ramlib load LIBS:icon_lib.exe error c/morelibspace not start Fail

From this I guess this means morelibspace hasent been started or has fallen over through a conflict with something during boot up, I've tried disabling a few things in startup-sequence but with no success (spent most of the day on this!)

Has anyone had the same problem? or can suggest what to try next?

Here s my startup-sequence:-

;PsdLoadModule DEVS:input.device QUIET ;Added by Poseidon-Installer - not used loaded by blitzkick
C:ATA3.driver QUIET
C:stack 8192
; $VER: Startup-Sequence_HardDrive 45.1 (25.11.00)
; Startup-Sequence for hard drive systems

If Exists C:IDEFix
  C:IDEFix
EndIf

;Sets sync on HDD
Run > NIL: myunitcontrol unit 0 device 1230scsi.device period 10 reselect

;Sets SFS cache on HDDs
Run > NIL: SetCache QDH0 Lines=40 ReadAhead=32768
Run > NIL: SetCache QDH1 Lines=40 ReadAhead=32768
Run > NIL: SetCache QDH2 Lines=20 ReadAhead=16384
Run > NIL: SetCache QDH3 Lines=20 ReadAhead=16384
Run > NIL: SetCache QDH4 Lines=20 ReadAhead=16384
Run > NIL: SetCache demos Lines=20 ReadAhead=16384
Run > NIL: SetCache games Lines=40 ReadAhead=32768
Run > NIL: SetCache backup Lines=20 ReadAhead=16384

C:morelibspace

;ADDED NOROMUPDATE FOR BLIZKICK
C:SetPatch NOROMUPDATE QUIET

;Blizkick
BlizKick KICKFILE=DEVS:rom_v45.57 EXTRESBUF=150000 HOGWAITBLIT SPEEDROM LOCALFAST MODULE DEVS:input.device FastFileSystem FileSystem.resource SCSI.device ram-handler console.device NoClick BBlank SpeedyIDE RemCards QUIET

C:Version >NIL:
C:AddBuffers >NIL: DF0: 15
FailAt 21

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

BindDrivers
C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

C:LoadMonDrvs

;IF EXISTS DEVS:Monitors
;  IF EXISTS DEVS:Monitors/VGAOnly
;    DEVS:Monitors/VGAOnly
;  EndIF

;  C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
;  Execute T:M
;  C:Delete >NIL: T:M
;EndIF

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:AddDataTypes REFRESH QUIET
C:AFA_OS_loader
Run > NIL: "Applications:VisualPrefs/VisualPrefs"
C:IPrefs
C:ConClip


Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

SYS:System/REXXMast >NIL:

IF EXISTS S:User-Startup
  Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

run >NIL: birdie c:window_enabled.jpg c:window_disabled.jpg activepattern PUBSCREENS REDRAWBITMAPS
Run >NIL: Applications:FreeWheel/FreeWheel QUIET
;Run >NIL: PowerIcons
;Run >NIL: Workbench:Internet/Genesis/GenesisRA QUIET
C:LoadWB
EndCLI >NIL:
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline klesterjr

  • Full Member
  • ***
  • Join Date: Jul 2002
  • Posts: 196
    • Show only replies by klesterjr
Re: AFA Setup help - morelibspace
« Reply #1 on: May 23, 2007, 10:57:47 PM »
I don't see 'morelibspace' in your Startup.sequence -- it needs to be the very first thing.
 

Offline Ancalimon

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 523
  • Country: 00
    • Show only replies by Ancalimon
    • http://www.myspace.com/orhunmusic
Re: AFA Setup help - morelibspace
« Reply #2 on: May 23, 2007, 10:59:49 PM »
just a guess and an advice. use stackattack.
A4000T, 604e@400&060@66, 128MB+16MB+Zorram256, CVisionPPC, VLabMotion, Toccata, XSurf100&RapidRoad, Prisma Megamix

A1200, Blizzard060@50, 256MB, Blizzard IV SCSI, FastATA mk4
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show only replies by Coolit
Re: AFA Setup help - morelibspace
« Reply #3 on: May 23, 2007, 11:04:30 PM »
Ahh, I took it out last boot, edited it and put it back where I had it:)
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show only replies by Coolit
Re: AFA Setup help - morelibspace
« Reply #4 on: May 23, 2007, 11:48:07 PM »
Thanks for the advice FaLLeNOnE, StackAttack seems like a wise move so I've installed it but theres still no change in my problem :-(
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline CannonFodder

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 1115
    • Show only replies by CannonFodder
Re: AFA Setup help - morelibspace
« Reply #5 on: May 23, 2007, 11:55:33 PM »
Quote

FaLLeNOnE wrote:
just a guess and an advice. use stackattack.



Nooooooooooooo! Use Stack Attack 2 instead.
People are hostile to what they do not understand - Imam Ali ibn Abi Talib(AS)
 

Offline CannonFodder

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 1115
    • Show only replies by CannonFodder
Re: AFA Setup help - morelibspace
« Reply #6 on: May 24, 2007, 12:08:30 AM »
Once you've got your libspace problem sorted, try adding these patches for a nice speed boost. :-)

FBlit
FText
Executive
Key file for Executive
FScreen
SystemPatch
BlazeWCP

There is a patch that forces everything to run in FastRAM but I forget its name and I've sold all my classic hardware now.
People are hostile to what they do not understand - Imam Ali ibn Abi Talib(AS)
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show only replies by Coolit
Re: AFA Setup help - morelibspace
« Reply #7 on: May 24, 2007, 12:14:14 AM »
Woow nice post CannonFodder, I'll look into all these once I get this problem sorted, thanks :) It was StackAttack 2.9 that I installed btw :)

Hmm, think I may join the AFA forums and post there too (or maybe not as they arnt taking registrations to the forums).
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline AmiKit

Re: AFA Setup help - morelibspace
« Reply #8 on: May 24, 2007, 12:20:25 AM »
@Coolit

Like klesterjr said, morelibsapce needs to be the very first thing in your startup-sequence. Then cold reboot and try again.

I don't see AfA_OS_Loader right after C:AddDataTypes REFRESH QUIET line.

Also try to reduce BlizKick's arguments to load the ROM only. If it helps, add the arguments back one by one to see which one is problematic.

Btw. the VisualPrefs should be run before IPrefs.

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show only replies by Coolit
Re: AFA Setup help - morelibspace
« Reply #9 on: May 24, 2007, 12:37:13 AM »
Again forgot to add C:AFA_OS_loader back in after playing about with it earlier, I've added it where I have it.

The author suggests to put C:morelibspace before the setpatch line, tried it as the very first line and it didn't make any difference.

Thanks for pointing out about VisualPrefs, Ive made the change, ta :)

Tried removing all the Blizkick arguments earlier, except the ROM one, that didn't do it :(
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline AmiKit

Re: AFA Setup help - morelibspace
« Reply #10 on: May 24, 2007, 01:15:16 AM »
Remember to always switch your computer off and on when manipulating with morelibspace as simple reboot is not enough.

Do you use AFA_OS_Libs: assign? I have the following command right after the AfA_OS_Loader line:
Assign >NIL: AfA_OS_Libs: SYS:Utilities/EXPANSION/AfA_OS/AfA_OS_Libs

If it doesn't help, wait till weekend when the new version of AfA_OS appears. I'll tell the author about your problem meanwhile.


Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: AFA Setup help - morelibspace
« Reply #11 on: May 24, 2007, 09:17:15 AM »
A user report me that before 3-4 days blitzkick dont work with blitzkick.

I hear that blitzkick can add resident Programs.Not sure if this is release for public or not.
If this can do in your blitzkick try add the residnet module morelibspace or morelibspace V45.See in scout resident modules (when
you have deactivate blitzkick)

I give the User the suggestion to ask the blitzkick coder or remus coder to add morelibspace feature to blitzkick or remus.
morelibspace is 100% compatible and is ndependent from AFA OS, it only allow more room in some libraries for more functions and data
by change the AOS command MakeLibrary.the source in asm is in the AFA OS archive.

That morelibspace increase not all libraries it detect with the positive lib space if a librarary must increase or not.
So it do that only with 5 libraries  


begin
MOVEM.l a0-a6/d0-d7,-(a7)
MOVE.l $4,a6
MOVE.l a6,a1
LEA newfunc(pc),a0
MOVE.l a0,d0
MOVE.l #-84,a0     ;makelibrary
JSR -420(a6)
LEA oldfunc(pc),a0
MOVE.l d0,(a0)
MOVEM.l (a7)+,a0-a6/d0-d7
RTS



newfunc
MOVEM.l d1/a1/a2/a3,-(a7)
CMP.l #1492,d0            ;diskfont
BEQ 'ok
CMP.l #134,d0             ;diskfont
BEQ 'ok
CMP.l #3150,d0            ;intuition library
BEQ 'ok
CMP.l #544,d0            ;graphics library
BEQ 'ok
CMP.l #46,d0            ;layers library
BEQ 'ok
CMP.l #348,d0           ;icon.library
BEQ 'ok
BRA 'skip
'ok
MOVEQ #0,d0
CMP.w #-1,(a0)
BNE 'dolong
MOVE.l a0,a2
ADDQ.w #2,a0
LEA funcs(pc),a1
'g1 CMP.w #-1,(a0)
BEQ 'em1
MOVE.w (a0)+,d1
EXT.l d1
ADD.l a2,d1
MOVE.l d1,(a1)+
ADDQ.l #1,d0
BRA 'g1
'em1 ADDQ.l #1,d0
LEA dummy(pc),a0
MOVE.l a0,(a1)+
CMP.l #350,d0
BNE 'em1
MOVE.l #-1,(a1)+
LEA funcs(pc),a0
BRA 'doit
'dolong


LEA funcs(pc),a1
'g2 CMP.l #-1,(a0)
BEQ 'em1
MOVE.l (a0)+,(a1)+
ADDQ.l #1,d0
BRA 'g2

'doit MOVE.l #10000,d0
'skip MOVEM.l (a7)+,a1/a2/d1/a3
MOVE.l oldfunc(pc),-(a7)
RTS
dummy: TRAP #0
       RTS
funcs: Ds.l 410
oldfunc: Dc.l 0
name: Dc.b "morelibspace",0
name2: Dc.b "morelibspace V45",0
Even
endresi
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show only replies by Coolit
Re: AFA Setup help - morelibspace
« Reply #12 on: May 24, 2007, 09:56:55 AM »
@ AmiKit

Tried that didn't work, thanks again anyway:)

@ bernd_afa

So from what you've said, AFA morelibspace currently doesn't work if your using Blizkick? But it will work if the Blizkick author patches it to handle a morelibspace module? can you confirm this

My problem is that if I disable Blizkick and remove the NOROMUPDATE added to the setpach line, startup gets stuck after the setpatch reboot, so I'm not really sure where to go from here although I guess this is because of my limited knowledge in reversing the patch. Any help with this would be greatly appreciated.

Thanks for the help
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: AFA Setup help - morelibspace
« Reply #13 on: May 24, 2007, 10:07:30 AM »
@bernd_afa

Quote
A user report me that before 3-4 days blitzkick dont work with blitzkick.

...

Quote
I hear that blitzkick can add resident Programs.Not sure if this is release for public or not.

 BlizKick.lha

Quote
I give the User the suggestion to ask the blitzkick coder or remus coder to add morelibspace feature to blitzkick or remus.

Just make your resident module such that once loaded by LoadSeg it will appear as full-blown resident tag. Then it can be used as BlizKick and remus as-is.

[code...]

Eeek, what a hack.

Frankly I don't know why it would only break with BlizKick, but I surely hope rest of AFA isn't that bad.

Some bugs in it:

- It's non re-entrant: Two simultanous (matching) callers and the thing will explode and crash the system.

- If some matching library should already have more than 350 functions, the routine will overwrite the whole system memory and crash the system. Separately: If there are at least 411 functions, the old MakeLibrary funcptr is trashed and system will crash aswell.

- KickTags should be placed to MEMF_KICK memory.

- The routine patching the kicktag to system doesn't look correct (it doesn't maintain the linked list properly).

- The KickTagPtr memory is allocated using AllocAbs, which means that the first 8 bytes can be trashed. If that'd happen, it would nuke the kicktag linkage.

- It will patch unrelated libraries which happen to match the 6 possizes compared. Nukes the system if the library in question has more than 350 functions (see above).

- If any library possize is different from the hardcoded values used to catch the specific libraries, the library will not be patched. I can see this causing problems with some diskfont.library versions for example (though assuming patching is not critical for other parts, this might not be fatal).

- Weird: Why is every patched library negsize expanded to include fixed number of 350 slots? That sounds rather excessive for certain libraries.

- Weird: Why is the every patched library possize expanded to 10KB? I can't possibly see any reason for that (surely AFA isn't doing any dirty tricks with library possize area?).
 

Offline jmbattle

  • Sr. Member
  • ****
  • Join Date: May 2005
  • Posts: 324
    • Show only replies by jmbattle
    • http://www.amigainabox.co.uk
Re: AFA Setup help - morelibspace
« Reply #14 on: May 24, 2007, 12:42:43 PM »
Piru and Bernd, working together - the next AfA_OS is going to be bloody terrific! ;)

Keep up the good work chaps,
James
x