<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I got it booting with SheepShaver, but I’m still getting:<div class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">### Set - Too many parameters were specified.</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Usage - Set [name [value]]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">### MPW Shell - Execution of Easybuild terminated.</span></div><div class=""><br class=""></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Something is wrong with the Set command, I think SetFileTypes.sh isn’t correctly making characters.</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">Set Parent "`Files -f "{0}" | StreamEdit -d -e '/((�:)*)�1([�:]*)/ Print �1'`"</pre><div class="">becomes</div><div class=""><br class=""></div><div class="">Set Parent "`Files -f "{0}" | StreamEdit -d -e '/((≈:)*)®1([¬:]*)/ Print ®1’`"</div><div class=""><br class=""></div><div class="">I think that’s the trouble, but I don’t know how to fix it?</div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> </span></font> <br class=""><div><blockquote type="cite" class=""><div class="">On Feb 24, 2019, at 11:00 AM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Seem to be hopelessly stuck, Basilisk II just never booted.<br class=""><br class="">I replaced it with the version I use, but it boots and doesn’t attach the SRC disk.<br class=""><br class="">If I just add both disks and ChangeDir to src I’m still getting the too many arguments error in WPM.<br class=""><blockquote type="cite" class="">On Feb 24, 2019, at 9:49 AM, Elliot Nunn <<a href="mailto:elliotnunn@fastmail.com" class="">elliotnunn@fastmail.com</a>> wrote:<br class=""><br class="">Yeah, my reversed sources are a bit average there. This is a better<br class="">reversal of an earlier version of the same code:<br class=""><br class=""><a href="https://github.com/elliotnunn/NanoKernel/blob/master/ProcessorInfo.s#L601" class="">https://github.com/elliotnunn/NanoKernel/blob/master/ProcessorInfo.s#L601</a><br class=""><br class="">In this much nicer version, are no macros to obscure the purpose of<br class="">those bytes: they are a lookup table, to decide which HID0 bit to set<br class="">when the upper OS makes a "power" call. They don't affect HID1. In fact,<br class="">it's been a while, but I'm pretty sure no version of the NanoKernel ever<br class="">touched HID1. You know the history better, but it seems to be a very<br class="">late-G4 thing.<br class=""><br class="">I suspect that you want to slip this into the init code somewhere:<br class=""><br class=""> mfspr r31, 1009 ; HID1<br class=""> oris r31, r31, 0x0400 ; bit 9<br class=""> mtspr 1009, r31<br class=""><br class="">I am seeing a similar error with empw quite frequently. Try trashing<br class="">your SourceForEmulator *and* your MPW-VM.dmg, and then running `empw -b`<br class="">with no other arguments. If the second disk is mounted in the emulator,<br class="">just run `:EasyBuild` (you need to type command-return) from the MPW<br class="">window.<br class=""><br class="">I'm sorry, that repo is a mess. I am progressively reversing every known<br class="">NK version in a separate repo that builds much more reliably, but<br class="">process is slow.<br class=""><br class=""><blockquote type="cite" class="">On 24 Feb 2019, at 10:27 pm, Jd Lyons <lyons_dj@yahoo.com> wrote:<br class=""><br class="">Thanks Elliot, still getting some errors trying to get the build going:<br class=""><br class="">+ NanoKernel/NanoKernel.s<br class="">### Set - Too many parameters were specified.<br class=""># Usage - Set [name [value]]<br class="">### MPW Shell - Execution of EasyBuild terminated.<br class="">### MPW Shell - Execution of MPW-VM:AutoGenInner terminated.<br class=""><br class="">Please explain what this bit of code does?<br class=""><br class="">It looks like 0x23 is setting bit 10(sleep) bit 14(XAEN) and bit 15(NHR), then something is done with the L2CR.<br class=""><br class="">PflgTblEnt 0x23, HID0_NHR_and_sleep, 1<< hasL2CR | 1<< hasPLRUL1 | 1<< hasTAU | 1<< hasVMX | 1<< hasMSSregs ; 8**3 like 7450 but better<br class=""><br class="">If I wanted to set bit 9 of the HID1 my code would need to be something like:<br class=""><br class="">PflgTblEnt 0x04, HID1_DFS_only, 0 <br class=""><br class="">???<br class=""><blockquote type="cite" class="">On Feb 23, 2019, at 9:08 PM, Elliot Nunn <elliotnunn@fastmail.com> wrote:<br class=""><br class="">git show 4f95ec6<br class=""></blockquote><br class=""></blockquote><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>