% ./ppc-softmmu/qemu-system-ppc -bios /home/amade/workdir/openbios-devel+/obj-ppc/openbios-qemu.elf -cdrom /home/amade/emu/Mac\ OS\ 10.4.img -g 800x600x32 -m 512 -nographic >> ============================================================= >> OpenBIOS 1.0 [Dec 18 2012 10:41] >> Configuration device id QEMU version 1 machine id 2 >> CPUs: 1 >> Memory: 512M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,750 Welcome to OpenBIOS v1.0 built on Dec 18 2012 10:41 Trying hd:,\\:tbxi... Trying hd:,\ppc\bootinfo.txt... No valid state has been set by load or init-program 0 > boot cd:,\\:tbxi >> finddevice("/openprom") = 0xfff42f40 >> getprop(0xfff42f40, "model", 0x05663bb8, 255) = 15 >> 0x05663bb8 4f 70 65 6e 46 69 72 6d 77 61 72 65 20 33 00 __ OpenFirmware 3. >> peer(0x00000000) = 0xfff42d80 >> getprop(0xfff42d80, "#address-cells", 0x0565becc, 4) = 4 >> 0x0565becc 00 00 00 01 __ __ __ __ __ __ __ __ __ __ __ __ .... >> peer(0x00000000) = 0xfff42d80 >> getprop(0xfff42d80, "#size-cells", 0x0565bed0, 4) = 4 >> 0x0565bed0 00 00 00 01 __ __ __ __ __ __ __ __ __ __ __ __ .... >> of_client_interface: interpret 0561656c >> interpret hex unselect-dev " /packages" find-device new-device " sl_words" device-name : open true ; : close ; 0 value outputLevel : slw_set_output_level dup 0= if 0 stdout ! then to outputLevel ; : slw_emit 2 outputLevel <= if emit else drop then ; : slw_cr 2 outputLevel <= if cr then ; 0 value keyboardIH 20 buffer: keyMap : slw_init_keymap to keyboardIH keyMap dup 20 0 fill ; : slw_update_keymap { ; dpth } depth -> dpth keyboardIH if " get-key-map" keyboardIH $call-method depth dpth - 1 = if 20 then 4 / 0 do dup i 4 * + l@ keyMap i 4 * + tuck l@ or swap l! loop drop then ; 0 value screenIH 0 value cursorAddr 0 value cursorX 0 value cursorY 0 value cursorW 0 value cursorH 0 value cursorFrames 0 value cursorPixelSize 0 value cursorStage 0 value cursorTime 0 value cursorDelay : slw_spin screenIH 0<> cursorAddr 0<> and if get-msecs dup cursorTime - cursorDelay >= if to cursorTime slw_update_keymap cursorStage 1+ cursorFrames mod dup to cursorStage handle_calls return: 00000000 1fc5b098 >> finddevice("/options") = 0xfff430e8 >> finddevice("/chosen") = 0xfff43160 >> of_client_interface: interpret 05612bcc >> interpret dev /chosen new-device " memory-map" device-name active-package device-end ([1] -- [2]) >> handle_calls return: 00000000 fff50a88 >> getprop(0xfff43160, "mmu", 0x0565bee8, 4) = 4 >> 0x0565bee8 1f c5 a8 2c __ __ __ __ __ __ __ __ __ __ __ __ .Ũ, >> getprop(0xfff43160, "memory", 0x0565beec, 4) = 4 >> 0x0565beec 1f c5 ae 58 __ __ __ __ __ __ __ __ __ __ __ __ .ŮX >> peer(0x00000000) = 0xfff42d80 >> of_client_interface: interpret 05616cb0 fff42d80 0000000a 0561295c >> interpret get-package-property if 0 0 then ([4] -- [3]) >> handle_calls return: 00000000 00000019 fff4fcfc >> getprop(0xfff43160, "stdout", 0x0565bef0, 4) = 4 >> 0x0565bef0 1f c5 af 5c __ __ __ __ __ __ __ __ __ __ __ __ .ů\ >> instance-to-package(0x1fc5af5c) = 0xfff4f79c >> getprop(0xfff43160, "stdin", 0x0565bef4, 4) = 4 >> 0x0565bef4 1f c5 b0 64 __ __ __ __ __ __ __ __ __ __ __ __ .Űd >> instance-to-package(0x1fc5b064) = 0xfff4f79c >> getprop(0xfff4f79c, "name", 0x05663d08, 31) = 5 >> 0x05663d08 63 68 2d 62 00 __ __ __ __ __ __ __ __ __ __ __ ch-b. >> open("keyboard") = 0x1fc5b49c >> of_client_interface: call-method 05616c70 1fc5b098 1fc5b49c >> call-method slw_init_keymap ([3] -- [2]) >> handle_calls return: 00000000 fff50550 >> of_client_interface: call-method 05616c80 1fc5b098 >> call-method slw_update_keymap ([2] -- [1]) call-method slw_update_keymap: exception -21 >> call-method 'slw_update_keymap': possible argument error (0--1) got 0 >> handle_calls return: ffffffdf >> getprop(0xfff430e8, "security-mode", 0x05663d28, 32) = -1 >> of_client_interface: call-method 05616c58 1fc5b098 00000000 >> call-method slw_set_output_level ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b68 1fc5b098 >> call-method slw_cr ([2] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b68 1fc5b098 >> call-method slw_cr ([2] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 0000004d >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000061 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000063 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000020 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 0000004f >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000053 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000020 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000058 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000020 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 0000004c >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 0000006f >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000061 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000064 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000065 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b70 1fc5b098 00000072 >> call-method slw_emit ([3] -- [1]) >> handle_calls return: 00000000 >> of_client_interface: call-method 05613b68 1fc5b098 >> call-method slw_cr ([2] -- [1]) >> handle_calls return: 00000000 >> getprop(0xfff430e8, "boot-image", 0x0565acc8, 255) = -1 >> claim(0x05000000, 4194304, 0) = 0x05000000 >> claim(0x05400000, 2097152, 0) = 0x05400000 >> claim(0x04000000, 16777216, 0) = 0x04000000 >> claim(0x00004000, 67092480, 0) = 0x00004000