Login  •  Register


The time is now: Sun May 19, 2013 6:35 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 7 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Fri Nov 27, 2009 5:23 am 
Offline
Inquisitive Elf

Joined: Fri Nov 27, 2009 5:11 am
Posts: 34
Hi! I'm using an iMac9,1 with the compact Apple keyboard -- my config file seems to work OK, but when I get to the PROM Boot loader prompt, my keypresses do nothing.

F12 won't release my mouse, opt-enter won't go fullscreen, and the numbers 0-2 won't select my partition. Esc won't even abort!

The one key that DOES work is pressing "s". This seems to abort, and leaves me with the error:

"[IO/PROM] <Warning> Can't boot a partition.
Try bootmethod 'force' and specify a 'prom_loadfile' in your config-file...
cannot find boot file."

This is done with the verbose flag enabled.

One thing I DO get after this is a bootfile.dump file, that starts with:

<CHRP-BOOT>
<COMPATIBLE>
iMac,1 PowerMac1,1 PowerBook1,1 PowerMac2,1 PowerMac3,1 PowerBook2,1 PowerBook3,1 PowerMac3,2
</COMPATIBLE>
<DESCRIPTION>
MacROM for NewWorld.
</DESCRIPTION>
<ICON SIZE=64,64 COLOR-SPACE=3,3,2 >
<BITMAP>(etc....)


Any ideas:?:


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Nov 28, 2009 4:26 am 
Offline
Inquisitive Elf

Joined: Fri Nov 27, 2009 5:11 am
Posts: 34
Well, I don't know why the keyboard mapping is so off, but I've discovered that 8 is the return key and f is 2, and s is escape. Anyone know how to change pearpc keybindings?

[edit]
So far I've figured out the following equivalencies, based on the keybinding source:

Code:
a  s  d f h g z x c v 0x0 b q w  e   r  y t 1 2 3 4 6 5 = 9 7 -  8   0  ] o u [ i p ret l  \  k ; unk , / n m . tab spc `
  esc 1 2 3 4 5 6 7 8  9  0 - = del tab q w e r t y u i o p [ ] ret ctr a s d f g h  j  k shf ' ` unk \ z x c v  b   n  m


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun Nov 29, 2009 5:22 pm 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
Strange.

Don't know what to say. What is your host system?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Nov 30, 2009 6:36 am 
Offline
Inquisitive Elf

Joined: Fri Nov 27, 2009 5:11 am
Posts: 34
iMac9,1 - Snow Leopard 10.6.2. The issue seems to lie more with the keyboard however, as the keymap seems to be based on SDL keymappings assuming an extended keyboard, and I've got the Apple Compact keyboard (same as on macbooks).

Based on the source code for the keymapping, I'm going to attempt to modify the mappings in-binary when I get a moment (hopefully sometime this week), but I found it odd that nobody else had mentioned this "glitch". My keyboard appears to map keys to the bindings in-order as they appear on the keyboard, as opposed to the default mapping in the current build, which has the codes scattered all over the place.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Nov 30, 2009 6:50 am 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
Well... I think that you are one of the very few people who have used the OS X "port" of PearPC. It is very rough and not well known. You are breaking new ground here!

Based on your description, I suppose this bug might be predominately experienced by users of the OS X version.

Please let us know what you discover.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Nov 30, 2009 2:26 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 3603
Location: Amsterdam, Netherlands
The key mapping is probably for Windows and you are on a Mac. A comparison of keycodes in BasiliskII keycodes file for Quartz and Windows matches your findings.
http://www.xs4all.nl/~ronaldpr/sheepsha ... ycodes.zip


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Dec 01, 2009 5:47 am 
Offline
Inquisitive Elf

Joined: Fri Nov 27, 2009 5:11 am
Posts: 34
Excellent! So I can just use the Mac SDL keycodes file settings, and all should be fine :)

I figured that someone else who had used the OS X compile would have noticed something by now, but I guess they've all just checked to see if it works without typing anything....

[edit]
Argh. Editing the binary is trickier than I thought. Maybe I'll have to dig in and do my own custom build. Anyone have the modified source for OS X kicking around? Maybe I'll even get JIT debugged (before 2020)....


Top
 Profile  
Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 7 posts ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group