From mouse at Rodents-Montreal.ORG Sun Mar 2 22:30:46 2025 From: mouse at Rodents-Montreal.ORG (Mouse) Date: Sun, 2 Mar 2025 22:30:46 -0500 (EST) Subject: [geeks] SPARC OBP: how to execute machine code? Message-ID: <202503030330.WAA23244@Stone.Rodents-Montreal.ORG> I'm addressing the original desire a different way, now, but it did prompt me to wonder: from Sun OBP, what do I need to do to jump to some machine code sitting in RAM? Surely there's _some_ way to do it, since loading bootblocks off disk does it after loading, but I haven't found my way through the twisty little maze of FORTH words, all different, to figure out how that does it. Anyone happen to know the incantation? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML mouse at rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From ehawk at ember.systems Mon Mar 3 00:58:06 2025 From: ehawk at ember.systems (Ethan Hawke) Date: Mon, 03 Mar 2025 16:58:06 +1100 Subject: [geeks] SPARC OBP: how to execute machine code? In-Reply-To: <202503030330.WAA23244@Stone.Rodents-Montreal.ORG> References: <202503030330.WAA23244@Stone.Rodents-Montreal.ORG> Message-ID: You could use the call word, or init-program, set-pc and then go. On 3 March 2025 2:30:46?pm AEDT, Mouse via geeks wrote: >I'm addressing the original desire a different way, now, but it did >prompt me to wonder: from Sun OBP, what do I need to do to jump to some >machine code sitting in RAM? Surely there's _some_ way to do it, since >loading bootblocks off disk does it after loading, but I haven't found >my way through the twisty little maze of FORTH words, all different, to >figure out how that does it. > >Anyone happen to know the incantation? > >/~\ The ASCII Mouse >\ / Ribbon Campaign > X Against HTML mouse at rodents-montreal.org >/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B > >_______________________________________________ >GEEKS: http://sunhelp.org/mailman/listinfo/geeks_sunhelp.org -------------- next part -------------- An HTML attachment was scrubbed... URL: