On 16/05/2024 14:51, Andrew Randrianasulu wrote:
> and openfirmware starts ....
>
> bash-5.1$ build/qemu-system-ppc -M mac99 -smp 2 -nographic
>
>>> =============================================================
>>> OpenBIOS 1.1 [Mar 7 2023 22:21]
>>> Configuration device id QEMU version 1 machine id 1
>>> CPUs: 2
>>> Memory: 128M
>>> UUID: 00000000-0000-0000-0000-000000000000
>>> CPU type PowerPC,G4
> milliseconds isn't unique.
> Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:21
> Trying hd:,\\:tbxi...
> Trying hd:,\ppc\bootinfo.txt...
> Trying hd:,%BOOT...
> No valid state has been set by load or init-program
>
> 0 >
You can check the device tree in OpenBIOS by using show-devs to see how many
CPUs are present, and confirm that the properties are set correctly.
The reason that SMP hasn't been enabled for the Mac machines is mainly
because no-one has been inclined to work on it yet ;)
>
>
>
> but boooting finnix fails:
>
> bash-5.1$ build/qemu-system-ppc -M mac99 -smp 2 -nographic -cdrom
> ~/finnix-ppc-110.iso -boot d
>
>>> =============================================================
>>> OpenBIOS 1.1 [Mar 7 2023 22:21]
>>> Configuration device id QEMU version 1 machine id 1
>>> CPUs: 2
>>> Memory: 128M
>>> UUID: 00000000-0000-0000-0000-000000000000
>>> CPU type PowerPC,G4
> milliseconds isn't unique.
> Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:21
> Trying cd:,\\:tbxi...
>>> switching to new context:
>
> я:interpret: exception -13 caught
There's a comment in openbios/forth/system/ciface.fs that says it might
not be an error and also a line:
\ ." INTERPRETE: --- " 2dup type
where you could remove the \ to get it print the Forth code that causes
the error. (By the way is INTERPRETE a typo with extra E at the end?)
I tried this and get:
bash-5.1$ build/qemu-system-ppc -M mac99 -smp 4 -nographic -cdrom
~/finnix-ppc-110.iso -boot d -bios /dev/shm/openbios-qemu.elf
>> =============================================================
>> OpenBIOS 1.1 [May 16 2024 12:44]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 4
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
Welcome to OpenBIOS v1.1 built on May 16 2024 12:44
Trying cd:,\\:tbxi...
>> switching to new context:
я:interpret: exception -13 caughte-int nip nip ;