I have an Amiga 1000 w/ a Parceiro device (8MB FAST RAM, RTC, SD card volume named "SD:"). I boot with a floppy that gets things loading, handing everything off to a script on the SD: drive (script = "StartupII"). It's been fine, but I wanted to load the FAST/CHIP/CLOCK prog "mclk" at boot (the orig, older version written for 1.3). A guy on FB is loading it in his S-S just fine and it works great. I hit a problem, though (and we are using the same version; he sent the file to me directly).
For me, the program loads and is visible, and WB loads, but the startup CLI does not close. It just sits there until I close mclk, then the CLI closes and it's to off to WB.
This is what it looks like, when it hold and just sits there:
I am posting a listing of both df0:s/Startup-Sequence and sd:s/StartupII below. I hope someone who'se more savvy w/ AmigaDOS than I can find the reason this little program is holding up the works on boot.
;;;;;;Filename: df0:s/Startup-Sequence
mount sd0: ;mounting SD card volume in Parceiro device
sd0:c/assign c: sd0:c
resident c:assign
assign sys: sd0:
assign libs: sd0:libs
assign devs: sd0:devs
assign fonts: sd0:fonts
assign l: sd0:l
assign s: sd0:s
Sys:System/FastMemFirst
RTC LOAD ;get datetime from Parceiro clock
Date
c:SetPatch >NIL: ;patch system functions
Addbuffers df0: 45
Addbuffers df1: 45
cd c:
echo "Amiga Workbench Disk. Release 1.3.3 version 34.34"
BindDrivers
FF >NIL: -0 ;speed up Text
resident CLI L:Shell-Seg SYSTEM pure add; activate Shell
resident c:Execute pure
mount newcon:
failat 11
run execute s:StartupII ;This lets resident be used for rest of script
wait >NIL: 5 mins ;wait for StartupII to complete (will signal when done)
path ram: c: sys:system s: sys:prefs add ;set path for Workbench
LoadWB delay ;wait for inhibit to end before continuing
endcli >NIL:
;;;;;;Filename: SD:s/StartupII
echo "StartupII - start"
resident c:Resident pure
resident c:List pure ;pre-load LIST and CD
resident c:CD pure
resident c:Mount pure ;the next 3 are loaded for speed during startup
resident c:Assign pure
resident c:Makedir pure
;make IF, ENDIF, ELSE, SKIP, ENDSKIP, and ECHO resident if
;you use scripts much, and can afford the ram.
;also make Failat, WAIT, and ENDCLI resident if you use IconX a lot
makedir ram:t
assign T: ram:t ;set up T: directory for scripts
makedir ram:env ; set up ENV: directory
assign ENV: ram:env
makedir ram:clipboards ;set up CLIPS: assign
assign CLIPS: ram:clipboards
mount speak: ;just mounting doesn't take much ram at all
mount aux:
mount pipe:
;resident Mount remove ;if you have enough ram, keep these resident
;resident Assign remove ;by removing these lines
;resident Makedir remove
;
run >NIL: mclk ; *** THIS is what's holding up boot CLI from ending
echo "StartupII - end"
break 1 C ;signal to other process its ok to finish
Now, note that the guy who set this up, David Dunklee who makes the Parceiro, is using LoadWB w/ "delay" attrib and is sending a "Break 1 C" in the script called from within the S-S. I tried removing these, simplifying. When I do, the same thing happens, but I noticed if I happen to hit CTRL-C while it's sitting there with mclk loaded and the boot CLI not closed, the system will GURU. Not so, as listed above -- for what that's worth.
The mclk program I am using is located here:
https://blakespot.com/files/orig_mclk.zipFor some reason, the guy on FB has it loading fine, but not me. These are his scripts, he showed me:
Any ideas would be greatly appreciated. OR, if there is an alternative to mclk that works on 1.3 and will show CHIP/FAST (clock not important), that might not have this issue, I'd be happy to hear what it is. I'm not married to mclk but can't find alternatives and I definitely want it auto-loading at boot.
Thanks!
bp