15 September 2011, 17:07 | #1 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
What's needed in the startup-sequence for PRELOAD to work?
That's about it.
Let's say my Amiga doesn't have a startup-sequence at all and even if I have my registered whdload and it works, preload option is ALWAYS ignored. I have 2MB Chip + 4MB Fast, recognized by the system of course. IF I load Workbench, the PRELOAD option is used and I get preload in games, BUT if I don't load WB, I don't get PRELOAD. It just doesn't work. I have tried small startup-sequences like: Code:
setpatch quiet assign ENV: RAM: assign T: RAM: whdload gamedir/gamename.slave preload regards |
15 September 2011, 17:55 | #2 | |
PSPUAE DEV
|
Quote:
WHDLoad drive:gamedir/gameslave.slave PRELOAD Should work fine, I never had any problems. |
|
15 September 2011, 20:52 | #3 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 874
|
if the files to preload are not in the current directory you have also to specify from where to load them, e.g.
Code:
whdload gamedir/gamename.slave data=gamedatadir preload |
15 September 2011, 22:10 | #4 |
BlizzardPPC'less
|
What I would do is to CD to the directory of the game and then run it.
|
15 September 2011, 22:44 | #5 | |
PSPUAE DEV
|
Quote:
As I also assign gamename: drive:gamedir/ then cd gamename: then do the whdload stuff. |
|
16 September 2011, 15:34 | #6 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
My startup-sequence looks like this, following your advices:
Code:
setpatch quiet assign ENV: RAM: assign T: RAM: whdload games:games/TheLostVikings.slave data=games:games/data preload Hahaha! Crazy! If I run avail before running the whdload, the game DOES preload: Code:
setpatch quiet assign ENV: RAM: assign T: RAM: avail whdload games:games/TheLostVikings.slave data=games:games/data preload I believe the preload wasn't happening because the OS hadn't configured the fastram when the startup-sequence ran whdload... something like that. It works now but I'm not sure this explanation makes sense Last edited by TCD; 16 September 2011 at 16:15. |
16 September 2011, 18:16 | #7 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 874
|
it doesn't make sense to me.
I never heard the avail will change anything regarding the memory setup (besides 'avail flush'). whdload itself tries to flush the memory but because memory fragmentation it may make a difference to do it before whdload the assigns and setpatch are not required by whdload (they will eat a small amount of memory) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ed s:startup-sequence | Astrofra | Member Introductions | 2 | 24 February 2013 22:09 |
startup-sequence file help | sb1987 | New to Emulation or Amiga scene | 3 | 04 January 2012 06:56 |
startup-sequence | mai | support.Other | 10 | 01 June 2010 21:39 |
Startup-Sequence | blade002 | support.Apps | 8 | 04 April 2008 19:06 |
Need help with startup-sequence | lopos2000 | support.Apps | 5 | 01 August 2005 11:54 |
|
|