Home Page

apple2gs - ADB command 0xe1 unimplemented?

Posted By: billb

apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 02:24 AM

Argh... not sure if I'm doing something wrong so thought I'd finally ask. I Googled the error message but the only match was somebody asking me the same question on my own forums. crazy

I haven't built mess 0.140 yet so am using 0.139, but get basically the same result on earlier versions as well (though the options and rom files are obviously different when I go back as far as 0.124). As usual I'm running YDL 6.2 on PS3 (ppc32).

I try starting it like this:

mess apple2gs -flop3 /path/to/game.2mg

And it starts to load normally, I enter OK to continue, get a screen full of colors for second, then it shuts down with:

Ignoring MAME exception: ADB command 0xe1 unimplemented
ADB command 0xe1 unimplemented

Bad image? Bad user? Any ideas?
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 02:30 AM

What game? The driver itself works fine here on my usual test disks. (Err, actually, I don't know if it works big-endian, let me check).
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 02:40 AM

The latest one I tried was Roadwar 2000, but have tried several others (Arkanoid I & II, Pirates!). Specifically, "Roadwar 2000 (1987)(SSI).2mg"

Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 03:14 AM

Works fine on my G5 PowerMac too, so it's not a big-endian/PPC issue.

Some older IIgs games don't work on ROM 3 (although both Arkanoids are fine for me). Try the apple2g1 driver for Roadwar 2000.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 04:00 AM

Thanks for checking -- will look into it more tomorrow. smile
Posted By: Kaylee

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 05:52 AM

Works for me, Tested with 0.140 and latest svn on Windows XP pro SP3. Using Roadwar 2000 (1987)(SSI).2mg (Crc: e9a4484b)



Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 12:20 PM

Thank you for checking.

Same here:
E9A4484B Roadwar 2000 (1987)(SSI).2mg

From apple2gs.zip:
8D410067 341-0737
D4C50550 341-0748
E1C11FB0 341s0632-2.bin
91E53CD8 apple2gs.chr

Command line used to launch:
mess apple2gs -flop3 "Roadwar 2000 (1987)(SSI).2mg"

But still same issue as described before:
Ignoring MAME exception: ADB command 0xe1 unimplemented
ADB command 0xe1 unimplemented

Even just loading by itself without specifying a floppy it does the same thing. Tested the win32 version of mess 0.139 with the same apple2gs rom set and I get the blue screen with "Check startup device!" so it's working there.

Going all the way back to the old 0124 ppc build from the Dribble repo I get the same problem -- screen flashes colors for a second after I enter OK to proceed, then it shuts down with:

Ignoring MAME exception: ADB command 0xe1 unimplemented
ADB command 0xe1 unimplemented

Building 0.140 on the PS3 would take me a bit, but I have a feeling I'm going to see the same thing.

What to look at next?
Posted By: Duke

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 12:30 PM

My suggestion would be to build MESS from SVN yourself, that way you can be sure that no weird patches were included in your binary and it will be easier to debug.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 12:41 PM

OK -- checking it out now. Building on the PS3 will take at least 45 minutes or so.

EDIT: had to install SDL_ttf-devel, and am building with:

setarch ppc make TARGET=mess NOWERROR=1
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 03:18 PM

OK -- built from SVN as described above. Here's the output (same result):

./mess apple2gs -v
Code:
Parsing mess.ini
Parsing mess.ini
Build version:      0.140.1 (Nov 24 2010)
Build architecure:  SDLMAME_ARCH= 
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    DISTRO=generic SYNC_IMPLEMENTATION=tc 
SDL/OpenGL defines: SDL_COMPILEDVERSION=1213 USE_OPENGL=1 USE_DISPATCH_GL=1 
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=1 __GNUC_PATCHLEVEL__=2 __VERSION__="4.1.2 20080704 (Red Hat 4.1.2-44)" 
Compiler defines B: __unix__=1 
Compiler defines C: __USE_FORTIFY_LEVEL=0 
SDL Device Driver     : x11
SDL Monitor Dimensions: 1280 x 720
Enter sdlwindow_init
Using SDL single-window soft driver (SDL 1.2)
Leave sdlwindow_init
Keyboard: Start initialization
Input: Adding Kbd #1: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #1: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Input: Adding Joy #1: Sony Computer Entertainment Wireless Controller
Joystick: Sony Computer Entertainment Wireless Controller
Joystick:   ...  28 axes, 19 buttons 0 hats
Joystick:   ...  Physical id 0 mapped to logical id 0
Joystick: End initialization
Audio: Start initialization
Audio: Driver is dsp
Audio: frequency: 48000, channels: 2, samples: 512
sdl_create_buffers: creating stream buffer of 37888 bytes
Audio: End initialization
ouput: unable to open output notifier file /tmp/sdlmame_out
Input: Autoenabling mouse due to presence of a mouse
Input: Autoenabling mouse due to presence of a mouse
WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting G65C816 'maincpu'
Starting Video Screen 'screen'
Starting Speaker 'mono'
  (missing dependencies; rescheduling)
Starting Speaker 'a2speaker'
Starting Speaker 'lspeaker'
  (missing dependencies; rescheduling)
Starting Speaker 'rspeaker'
  (missing dependencies; rescheduling)
Starting AY-3-8913A 'ay8913.1'
Starting AY-3-8913A 'ay8913.2'
Starting ES5503 'es5503'
Starting Apple II Language Card 'langcard'
Starting Apple II Mockingboard 'mockingboard'
Starting Apple IWM (Integrated Woz Machine) 'fdc'
Starting Apple II Slot 'slot_0'
Starting Apple II Slot 'slot_4'
Starting Apple II Slot 'slot_6'
Starting Zilog 8530 SCC 'scc'
Starting Floppy Disk [Apple] 'floppy0'
Starting Floppy Disk [Apple] 'floppy1'
Starting Floppy Disk [Sony] 'floppy2'
Starting Floppy Disk [Sony] 'floppy3'
Starting Cassette 'cassette'
Starting MESS RAM 'messram'
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting Speaker 'mono'
Starting Speaker 'lspeaker'
Starting Speaker 'rspeaker'
Starting Driver Device 'root'
Ignoring MAME exception: ADB command 0xe1 unimplemented
ADB command 0xe1 unimplemented
sdl_kill: closing audio
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit


Posted By: Duke

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 03:23 PM

Did you install it into a fresh directory? Maybe it's confused by some older ini or cfg file and autoloads some disk.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/24/10 03:40 PM

I created a new mess.ini and deleted an old apple2gs.ini file, and am running it straight from the mess directory where it was built. There's no apple2gs.cfg in my cfg directory (nothing in sta or nvram either).

Here's some more output:

./mess -showconfig
Code:
<UNADORNED0>              

#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               1

#
# CORE SEARCH PATH OPTIONS
#
rompath                   $HOME/gamefiles/roms/mess
hashpath                  hash
samplepath                $HOME/.mess/samples
artpath                   $HOME/.mess/artwork
ctrlrpath                 $HOME/.mess/ctrlr
inipath                   $HOME/.mess;.;ini
fontpath                  .
cheatpath                 $HOME/.mess/cheat
crosshairpath             crosshair

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             $HOME/.mess/cfg
nvram_directory           $HOME/.mess/nvram
memcard_directory         $HOME/.mess/memcard
input_directory           $HOME/.mess/inp
state_directory           $HOME/.mess/sta
snapshot_directory        $HOME/.mess/snap
diff_directory            $HOME/.mess/diff
comment_directory         $HOME/.mess/comments

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                  
record                    
mngwrite                  
aviwrite                  
wavwrite                  
snapname                  %g/%i
snapsize                  auto
snapview                  internal
burnin                    0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             1
frameskip                 0
seconds_to_run            0
throttle                  1
sleep                     1
speed                     1.0
refreshspeed              1

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              0
use_backdrops             1
use_overlays              1
use_bezels                1

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65
effect                    none

#
# CORE VECTOR OPTIONS
#
antialias                 0
beam                      2.0
flicker                   0

#
# CORE SOUND OPTIONS
#
sound                     1
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     0
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85
natural                   0
uimodekey                 auto

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0
update_in_pause           0
debug                     0
debugscript               
debug_internal            0

#
# CORE MISC OPTIONS
#
bios                      
cheat                     0
skip_gameinfo             1
uifont                    default

#
# DEBUGGING OPTIONS
#
oslog                     0

#
# PERFORMANCE OPTIONS
#
multithreading            1
numprocessors             auto
sdlvideofps               0

#
# VIDEO OPTIONS
#
video                     soft
numscreens                1
window                    0
maximize                  1
keepaspect                1
unevenstretch             1
centerh                   1
centerv                   1
waitvsync                 0
scalemode                 none

#
# OpenGL-SPECIFIC OPTIONS
#
filter                    0
prescale                  1
gl_forcepow2texture       0
gl_notexturerect          0
gl_vbo                    1
gl_pbo                    1
gl_glsl                   0
gl_glsl_filter            1
glsl_shader_mame0         none
glsl_shader_mame1         none
glsl_shader_mame2         none
glsl_shader_mame3         none
glsl_shader_mame4         none
glsl_shader_mame5         none
glsl_shader_mame6         none
glsl_shader_mame7         none
glsl_shader_mame8         none
glsl_shader_mame9         none
glsl_shader_screen0       none
glsl_shader_screen1       none
glsl_shader_screen2       none
glsl_shader_screen3       none
glsl_shader_screen4       none
glsl_shader_screen5       none
glsl_shader_screen6       none
glsl_shader_screen7       none
glsl_shader_screen8       none
glsl_shader_screen9       none
gl_glsl_vid_attr          1

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    auto
resolution                auto
view                      Pixel
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
switchres                 0
useallheads               0

#
# SOUND OPTIONS
#
audio_latency             2

#
# SDL KEYBOARD MAPPING
#
keymap                    0
keymap_file               keymap.dat

#
# SDL JOYSTICK MAPPING
#
joy_idx1                  auto
joy_idx2                  auto
joy_idx3                  auto
joy_idx4                  auto
joy_idx5                  auto
joy_idx6                  auto
joy_idx7                  auto
joy_idx8                  auto
sixaxis                   1

#
# SDL LOWLEVEL DRIVER OPTIONS
#
videodriver               auto
audiodriver               auto
gl_lib                    auto

#
# MESS SPECIFIC OPTIONS
#
ramsize                   
newui                     0

#
# CORE COMMANDS
#

#
# CONFIGURATION COMMANDS
#

#
# FRONTEND COMMANDS
#


I see the verbose output is saying:

Quote:
Starting Driver Device 'root'
(missing dependencies; rescheduling)


That mean anything?

EDIT: some more info...

This one segfaults and my mouse stops working:

./mess apple2gsr0 -v
Code:
Parsing mess.ini
Parsing mess.ini
Build version:      0.140.1 (Nov 24 2010)
Build architecure:  SDLMAME_ARCH= 
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    DISTRO=generic SYNC_IMPLEMENTATION=tc 
SDL/OpenGL defines: SDL_COMPILEDVERSION=1213 USE_OPENGL=1 USE_DISPATCH_GL=1 
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=1 __GNUC_PATCHLEVEL__=2 __VERSION__="4.1.2 20080704 (Red Hat 4.1.2-44)" 
Compiler defines B: __unix__=1 
Compiler defines C: __USE_FORTIFY_LEVEL=0 
SDL Device Driver     : x11
SDL Monitor Dimensions: 1280 x 720
Enter sdlwindow_init
Using SDL single-window soft driver (SDL 1.2)
Leave sdlwindow_init
Keyboard: Start initialization
Input: Adding Kbd #1: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #1: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Input: Adding Joy #1: Sony PLAYSTATION(R)3 Controller
Joystick: Sony PLAYSTATION(R)3 Controller
Joystick:   ...  28 axes, 19 buttons 0 hats
Joystick:   ...  Physical id 0 mapped to logical id 0
Joystick: End initialization
Audio: Start initialization
Audio: Driver is dsp
Audio: frequency: 48000, channels: 2, samples: 512
sdl_create_buffers: creating stream buffer of 37888 bytes
Audio: End initialization
ouput: unable to open output notifier file /tmp/sdlmame_out
Input: Autoenabling mouse due to presence of a mouse
Input: Autoenabling mouse due to presence of a mouse
WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting G65C816 'maincpu'
Starting Video Screen 'screen'
Starting Speaker 'mono'
  (missing dependencies; rescheduling)
Starting Speaker 'a2speaker'
Starting Speaker 'lspeaker'
  (missing dependencies; rescheduling)
Starting Speaker 'rspeaker'
  (missing dependencies; rescheduling)
Starting AY-3-8913A 'ay8913.1'
Starting AY-3-8913A 'ay8913.2'
Starting ES5503 'es5503'
Starting Apple II Language Card 'langcard'
Starting Apple II Mockingboard 'mockingboard'
Starting Apple IWM (Integrated Woz Machine) 'fdc'
Starting Apple II Slot 'slot_0'
Starting Apple II Slot 'slot_4'
Starting Apple II Slot 'slot_6'
Starting Zilog 8530 SCC 'scc'
Starting Floppy Disk [Apple] 'floppy0'
Starting Floppy Disk [Apple] 'floppy1'
Starting Floppy Disk [Sony] 'floppy2'
Starting Floppy Disk [Sony] 'floppy3'
Starting Cassette 'cassette'
Starting MESS RAM 'messram'
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting Speaker 'mono'
Starting Speaker 'lspeaker'
Starting Speaker 'rspeaker'
Starting Driver Device 'root'


And this one almost launches OK -- it hangs at the screen with black background and blue border, and I don't get the error message in the output:


./mess apple2gsr1 -v
Code:
Parsing mess.ini
Parsing mess.ini
Build version:      0.140.1 (Nov 24 2010)
Build architecure:  SDLMAME_ARCH= 
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    DISTRO=generic SYNC_IMPLEMENTATION=tc 
SDL/OpenGL defines: SDL_COMPILEDVERSION=1213 USE_OPENGL=1 USE_DISPATCH_GL=1 
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=1 __GNUC_PATCHLEVEL__=2 __VERSION__="4.1.2 20080704 (Red Hat 4.1.2-44)" 
Compiler defines B: __unix__=1 
Compiler defines C: __USE_FORTIFY_LEVEL=0 
SDL Device Driver     : x11
SDL Monitor Dimensions: 1280 x 720
Enter sdlwindow_init
Using SDL single-window soft driver (SDL 1.2)
Leave sdlwindow_init
Keyboard: Start initialization
Input: Adding Kbd #1: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #1: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Input: Adding Joy #1: Sony PLAYSTATION(R)3 Controller
Joystick: Sony PLAYSTATION(R)3 Controller
Joystick:   ...  28 axes, 19 buttons 0 hats
Joystick:   ...  Physical id 0 mapped to logical id 0
Joystick: End initialization
Audio: Start initialization
Audio: Driver is dsp
Audio: frequency: 48000, channels: 2, samples: 512
sdl_create_buffers: creating stream buffer of 37888 bytes
Audio: End initialization
ouput: unable to open output notifier file /tmp/sdlmame_out
Input: Autoenabling mouse due to presence of a mouse
Input: Autoenabling mouse due to presence of a mouse
WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting G65C816 'maincpu'
Starting Video Screen 'screen'
Starting Speaker 'mono'
  (missing dependencies; rescheduling)
Starting Speaker 'a2speaker'
Starting Speaker 'lspeaker'
  (missing dependencies; rescheduling)
Starting Speaker 'rspeaker'
  (missing dependencies; rescheduling)
Starting AY-3-8913A 'ay8913.1'
Starting AY-3-8913A 'ay8913.2'
Starting ES5503 'es5503'
Starting Apple II Language Card 'langcard'
Starting Apple II Mockingboard 'mockingboard'
Starting Apple IWM (Integrated Woz Machine) 'fdc'
Starting Apple II Slot 'slot_0'
Starting Apple II Slot 'slot_4'
Starting Apple II Slot 'slot_6'
Starting Zilog 8530 SCC 'scc'
Starting Floppy Disk [Apple] 'floppy0'
Starting Floppy Disk [Apple] 'floppy1'
Starting Floppy Disk [Sony] 'floppy2'
Starting Floppy Disk [Sony] 'floppy3'
Starting Cassette 'cassette'
Starting MESS RAM 'messram'
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting Speaker 'mono'
Starting Speaker 'lspeaker'
Starting Speaker 'rspeaker'
Starting Driver Device 'root'
sdl_kill: closing audio
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/25/10 04:31 PM

I know this may be difficult to troubleshoot since I'm apparently the only one (on YDL 6.2 / OtherOS PS3 Linux) having this problem, but I'd still like to get apple2gs going. I've tried using kegs instead, but ... ugh. wink

Works OK for me using the windows version and the same rom set & games.

At this point I'm working from a clean svn build. Not sure what else to try at this point, or if I can provide any additional information that would help.

EDIT: just for "fun" I tried adding cases in apple2gs.c for 0xe1 so it doesn't give that error and, not surprisingly, it just hangs at this screen (where normally it would abort with fatal error):

http://pleasantfiction.ipower.com/ps3linux/apple2gs.png
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/26/10 06:13 PM

Here's the backtrace on messd apple2gsr0 -window since it gives me a segmentation fault:

EDIT: this is from unmodified svn revision 9667 compiled with:

(setarch ppc make TARGET=mess NOWERROR=1 2>&1) > messbuild.log

$ gdb ./messd
Code:
GNU gdb Fedora (6.8-27.ydl6.1)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ppc-yellowdog-linux-gnu"...
(gdb) run apple2gsr0 -window
Starting program: /home/zerogame/source/messdebug/mess/messd apple2gsr0 -window
[Thread debugging using libthread_db enabled]
[New Thread 0xf7fdf000 (LWP 10000)]
[New Thread 0xf7a944b0 (LWP 10005)]
[New Thread 0xf70234b0 (LWP 10006)]
WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default

Program received signal SIGSEGV, Segmentation fault.
0x1131411c in device_t::reset (this=0x0) at src/emu/devintrf.c:767
767             for (device_interface *intf = m_interface_list; intf != NULL; intf = intf->interface_next())
Current language:  auto; currently c++
(gdb) bt
#0  0x1131411c in device_t::reset (this=0x0) at src/emu/devintrf.c:767
#1  0x1008da40 in mockingboard_w (device=0x13e09c10, offset=0, data=0 '\0')
    at src/mess/machine/mockngbd.c:161
#2  0x1008afd4 in apple2_slot_w (device=0x13e09ef0, offset=0, data=0 '\0')
    at src/mess/machine/ap2_slot.c:130
#3  0x100a6da8 in apple2_c0xx_w (space=0x13f37410, offset=192, data=0 '\0')
    at src/mess/machine/apple2.c:434
#4  0x100ae7fc in apple2gs_c0xx_w (space=0x13f37410, offset=192, data=0 '\0')
    at src/mess/machine/apple2gs.c:1181
#5  0x100ae904 in apple2gs_xxCxxx_w (machine=0x13e071a8, address=49344, 
    data=0 '\0') at src/mess/machine/apple2gs.c:1536
#6  0x100aeb00 in apple2gs_00Cxxx_w (space=0x13f37410, offset=192, data=0 '\0')
    at src/mess/machine/apple2gs.c:1591
#7  0x113a89b4 in handler_entry_write::write_stub_legacy (this=0x13f557f8, 
    space=@0x13f37410, offset=192, data=0 '\0', mask=255 '&#65533;')
    at src/emu/memory.c:5054
#8  0x113c09bc in delegate_4param<void, address_space&, unsigned int, unsigned char, unsigned char>::operator() (this=0x13f55828, p1=@0x13f37410, p2=192, 
    p3=0 '\0', p4=255 '&#65533;') at src/emu/delegate.h:1193
#9  0x113c0a34 in handler_entry_write::write8 (this=0x13f557f8, 
    space=@0x13f37410, offset=192, data=0 '\0', mask=255 '&#65533;')
    at src/emu/memory.c:617
#10 0x113e8e78 in address_space_specific<unsigned char, (endianness_t)0, true>::---Type <return> to continue, or q <return> to quit---
write_native (this=0x13f37410, offset=192, data=0 '\0')
    at src/emu/memory.c:1183
#11 0x113e8ed8 in address_space_specific<unsigned char, (endianness_t)0, true>::write_byte (this=0x13f37410, address=49344, data=0 '\0')
    at src/emu/memory.c:1455
#12 0x10bac4a4 in g65816i_write_8_normal (cpustate=0x13e0f568, address=49344, 
    value=0) at src/emu/cpu/g65816/g65816op.h:93
#13 0x10bac8dc in g65816i_push_8 (cpustate=0x13e0f568, value=0)
    at src/emu/cpu/g65816/g65816op.h:172
#14 0x10bac9a0 in g65816i_push_16 (cpustate=0x13e0f568, value=18)
    at src/emu/cpu/g65816/g65816op.h:192
#15 0x10bad058 in g65816i_interrupt_software (cpustate=0x13e0f568, 
    vector=65510) at src/emu/cpu/g65816/g65816op.h:413
#16 0x10badb50 in g65816i_00_M1X1 (cpustate=0x13e0f568)
    at src/emu/cpu/g65816/g65816op.h:1933
#17 0x10bbd860 in g65816i_execute_M1X1 (cpustate=0x13e0f568, clocks=181)
    at src/emu/cpu/g65816/g65816op.h:2380
#18 0x10b73bd0 in cpu_execute_g65816 (device=0x13e07be0)
    at src/emu/cpu/g65816/g65816.c:252
#19 0x11309dcc in legacy_cpu_device::execute_run (this=0x13e07be0)
    at src/emu/devcpu.c:329
#20 0x11435a5c in device_scheduler::timeslice (this=0x13e07ab8)
    at src/emu/schedule.c:192
---Type <return> to continue, or q <return> to quit---
#21 0x113a3f3c in running_machine::run (this=0x13e071a8, firstrun=true)
    at src/emu/machine.c:398
#22 0x1139e8e4 in mame_execute (osd=@0xffe8d490, options=0x13deb910)
    at src/emu/mame.c:201
#23 0x113024a8 in cli_execute (argc=3, argv=0xffe8d7f4, osd=@0xffe8d490, 
    osd_options=0x11ac0938) at src/emu/clifront.c:175
#24 0x10a27e4c in main (argc=3, argv=0xffe8d7f4) at src/osd/sdl/sdlmain.c:328


And complete verbose build log:

http://pleasantfiction.ipower.com/ps3linux/messbuildlog.zip
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/28/10 08:16 PM

I have no idea if this info is of any use, but here goes anyway... unmodified svn revision 9667 of mess (only thing I changed was enabling debug and symbols in the makefile) trying to run apple2gs:

gdb messd
Code:
GNU gdb Fedora (6.8-27.ydl6.1)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ppc-yellowdog-linux-gnu"...
(gdb) run apple2gs -window -nomaximize
Starting program: /home/zerogame/source/messdebug/mess/messd apple2gs -window -nomaximize
[Thread debugging using libthread_db enabled]
[New Thread 0xf7fdf000 (LWP 17936)]
[New Thread 0xf7a944b0 (LWP 17941)]
[New Thread 0xf71294b0 (LWP 17943)]
WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default
MAME exception: ADB command 0xe1 unimplemented
Attempting to fall into debugger

Program received signal SIGTRAP, Trace/breakpoint trap.
0x0fe75efc in kill () from /lib/libc.so.6
(gdb) bt
#0  0x0fe75efc in kill () from /lib/libc.so.6
#1  0x117b8c28 in osd_break_into_debugger (
    message=0x140aaa04 "ADB command 0xe1 unimplemented")
    at src/osd/sdl/sdlmisc_unix.c:62
#2  0x100390e4 in emu_fatalerror (this=0x140aaa00, 
    format=0x117eebf0 "ADB command 0x%02x unimplemented", ap=0xffdcfd88)
    at src/emu/emucore.h:299
#3  0x100391c8 in fatalerror (
    format=0x117eebf0 "ADB command 0x%02x unimplemented")
    at src/emu/emucore.h:674
#4  0x100ae0c4 in adb_write_datareg (machine=0x13e071a8, data=225 '&#65533;')
    at src/mess/machine/apple2gs.c:604
#5  0x100ae34c in apple2gs_c0xx_w (space=0x13f31408, offset=38, data=225 '&#65533;')
    at src/mess/machine/apple2gs.c:1087
#6  0x100ae904 in apple2gs_xxCxxx_w (machine=0x13e071a8, address=49190, 
    data=225 '&#65533;') at src/mess/machine/apple2gs.c:1536
#7  0x100aeb00 in apple2gs_00Cxxx_w (space=0x13f31408, offset=38, data=225 '&#65533;')
    at src/mess/machine/apple2gs.c:1591
#8  0x113a89b4 in handler_entry_write::write_stub_legacy (this=0x13f517d0, 
    space=@0x13f31408, offset=38, data=225 '&#65533;', mask=255 '&#65533;')
    at src/emu/memory.c:5054
#9  0x113c09bc in delegate_4param<void, address_space&, unsigned int, unsigned char, unsigned char>::operator() (this=0x13f51800, p1=@0x13f31408, p2=38, 
    p3=225 '&#65533;', p4=255 '&#65533;') at src/emu/delegate.h:1193
#10 0x113c0a34 in handler_entry_write::write8 (this=0x13f517d0, 
    space=@0x13f31408, offset=38, data=225 '&#65533;', mask=255 '&#65533;')
    at src/emu/memory.c:617
#11 0x113e8e78 in address_space_specific<unsigned char, (endianness_t)0, true>::write_native (this=0x13f31408, offset=38, data=225 '&#65533;')
    at src/emu/memory.c:1183
#12 0x113e8ed8 in address_space_specific<unsigned char, (endianness_t)0, true>::write_byte (this=0x13f31408, address=49190, data=225 '&#65533;')
    at src/emu/memory.c:1455
#13 0x10b76104 in g65816i_write_8_normal (cpustate=0x13e0f568, address=49190, 
    value=225) at src/emu/cpu/g65816/g65816op.h:93
#14 0x10b7661c in g65816i_push_8 (cpustate=0x13e0f568, value=225)
    at src/emu/cpu/g65816/g65816op.h:172
#15 0x10b766e0 in g65816i_push_16 (cpustate=0x13e0f568, value=57604)
    at src/emu/cpu/g65816/g65816op.h:192
#16 0x10b76e28 in g65816i_interrupt_software (cpustate=0x13e0f568, 
    vector=65510) at src/emu/cpu/g65816/g65816op.h:413
#17 0x10b77920 in g65816i_00_M0X0 (cpustate=0x13e0f568)
    at src/emu/cpu/g65816/g65816op.h:1933
#18 0x10b88318 in g65816i_execute_M0X0 (cpustate=0x13e0f568, clocks=108)
    at src/emu/cpu/g65816/g65816op.h:2380
#19 0x10b73bd0 in cpu_execute_g65816 (device=0x13e07be0)
    at src/emu/cpu/g65816/g65816.c:252
#20 0x11309dcc in legacy_cpu_device::execute_run (this=0x13e07be0)
    at src/emu/devcpu.c:329
#21 0x11435a5c in device_scheduler::timeslice (this=0x13e07ab8)
    at src/emu/schedule.c:192
#22 0x113a3f3c in running_machine::run (this=0x13e071a8, firstrun=true)
    at src/emu/machine.c:398
#23 0x1139e8e4 in mame_execute (osd=@0xffdd0480, options=0x13deb910)
    at src/emu/mame.c:201
#24 0x113024a8 in cli_execute (argc=4, argv=0xffdd07e4, osd=@0xffdd0480, 
    osd_options=0x11ac0938) at src/emu/clifront.c:175
#25 0x10a27e4c in main (argc=4, argv=0xffdd07e4) at src/osd/sdl/sdlmain.c:328


./messd -showconfig
Code:
<UNADORNED0>              

#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               0

#
# CORE SEARCH PATH OPTIONS
#
rompath                   $HOME/messroms
hashpath                  hash
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   $HOME/.mess;.;ini
fontpath                  .
cheatpath                 cheat
crosshairpath             crosshair

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
memcard_directory         memcard
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                  
record                    
mngwrite                  
aviwrite                  
wavwrite                  
snapname                  %g/%i
snapsize                  auto
snapview                  internal
burnin                    0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  0
sleep                     1
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              0
use_backdrops             0
use_overlays              0
use_bezels                0

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65
effect                    none

#
# CORE VECTOR OPTIONS
#
antialias                 0
beam                      1.0
flicker                   0

#
# CORE SOUND OPTIONS
#
sound                     0
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              0
ctrlr                     
mouse                     0
joystick                  0
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85
natural                   0
uimodekey                 auto

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0
update_in_pause           0
debug                     0
debugscript               
debug_internal            0

#
# CORE MISC OPTIONS
#
bios                      
cheat                     0
skip_gameinfo             0
uifont                    default

#
# DEBUGGING OPTIONS
#
oslog                     0

#
# PERFORMANCE OPTIONS
#
multithreading            0
numprocessors             auto
sdlvideofps               0

#
# VIDEO OPTIONS
#
video                     soft
numscreens                1
window                    0
maximize                  1
keepaspect                1
unevenstretch             1
centerh                   1
centerv                   1
waitvsync                 0
scalemode                 none

#
# OpenGL-SPECIFIC OPTIONS
#
filter                    1
prescale                  1
gl_forcepow2texture       0
gl_notexturerect          0
gl_vbo                    1
gl_pbo                    1
gl_glsl                   0
gl_glsl_filter            1
glsl_shader_mame0         none
glsl_shader_mame1         none
glsl_shader_mame2         none
glsl_shader_mame3         none
glsl_shader_mame4         none
glsl_shader_mame5         none
glsl_shader_mame6         none
glsl_shader_mame7         none
glsl_shader_mame8         none
glsl_shader_mame9         none
glsl_shader_screen0       none
glsl_shader_screen1       none
glsl_shader_screen2       none
glsl_shader_screen3       none
glsl_shader_screen4       none
glsl_shader_screen5       none
glsl_shader_screen6       none
glsl_shader_screen7       none
glsl_shader_screen8       none
glsl_shader_screen9       none
gl_glsl_vid_attr          1

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    auto
resolution                auto
view                      auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
switchres                 0
useallheads               0

#
# SOUND OPTIONS
#
audio_latency             3

#
# SDL KEYBOARD MAPPING
#
keymap                    0
keymap_file               keymap.dat

#
# SDL JOYSTICK MAPPING
#
joy_idx1                  auto
joy_idx2                  auto
joy_idx3                  auto
joy_idx4                  auto
joy_idx5                  auto
joy_idx6                  auto
joy_idx7                  auto
joy_idx8                  auto
sixaxis                   1

#
# SDL LOWLEVEL DRIVER OPTIONS
#
videodriver               auto
audiodriver               auto
gl_lib                    auto

#
# MESS SPECIFIC OPTIONS
#
ramsize                   
newui                     0

#
# CORE COMMANDS
#

#
# CONFIGURATION COMMANDS
#

#
# FRONTEND COMMANDS
#


./messd -verbose apple2gs -window -nomaximize
Code:
Parsing mess.ini
Parsing mess.ini
Build version:      0.140.1 (Nov 26 2010)
Build architecure:  SDLMAME_ARCH= 
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    MAME_DEBUG=1 DISTRO=generic SYNC_IMPLEMENTATION=tc 
SDL/OpenGL defines: SDL_COMPILEDVERSION=1213 USE_OPENGL=1 USE_DISPATCH_GL=1 
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=1 __GNUC_PATCHLEVEL__=2 __VERSION__="4.1.2 20080704 (Red Hat 4.1.2-44)" 
Compiler defines B: __unix__=1 
Compiler defines C: __USE_FORTIFY_LEVEL=0 
SDL Device Driver     : x11
SDL Monitor Dimensions: 1280 x 720
Enter sdlwindow_init
Using SDL single-window soft driver (SDL 1.2)
Leave sdlwindow_init
Keyboard: Start initialization
Input: Adding Kbd #1: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #1: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Input: Adding Joy #1: Sony PLAYSTATION(R)3 Controller
Joystick: Sony PLAYSTATION(R)3 Controller
Joystick:   ...  28 axes, 19 buttons 0 hats
Joystick:   ...  Physical id 0 mapped to logical id 0
Joystick: End initialization
Audio: Start initialization
Audio: Driver is dsp
Audio: frequency: 48000, channels: 2, samples: 512
sdl_create_buffers: creating stream buffer of 57344 bytes
Audio: End initialization
ouput: unable to open output notifier file /tmp/sdlmame_out
Input: Autoenabling mouse due to presence of a mouse
Input: Autoenabling mouse due to presence of a mouse
WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting G65C816 'maincpu'
Starting Video Screen 'screen'
Starting Speaker 'mono'
  (missing dependencies; rescheduling)
Starting Speaker 'a2speaker'
Starting Speaker 'lspeaker'
  (missing dependencies; rescheduling)
Starting Speaker 'rspeaker'
  (missing dependencies; rescheduling)
Starting AY-3-8913A 'ay8913.1'
Starting AY-3-8913A 'ay8913.2'
Starting ES5503 'es5503'
Starting Apple II Language Card 'langcard'
Starting Apple II Mockingboard 'mockingboard'
Starting Apple IWM (Integrated Woz Machine) 'fdc'
Starting Apple II Slot 'slot_0'
Starting Apple II Slot 'slot_4'
Starting Apple II Slot 'slot_6'
Starting Zilog 8530 SCC 'scc'
Starting Floppy Disk [Apple] 'floppy0'
Starting Floppy Disk [Apple] 'floppy1'
Starting Floppy Disk [Sony] 'floppy2'
Starting Floppy Disk [Sony] 'floppy3'
Starting Cassette 'cassette'
Starting MESS RAM 'messram'
Starting Driver Device 'root'
  (missing dependencies; rescheduling)
Starting Speaker 'mono'
Starting Speaker 'lspeaker'
Starting Speaker 'rspeaker'
Starting Driver Device 'root'
MAME exception: ADB command 0xe1 unimplemented
Attempting to fall into debugger
Trace/breakpoint trap

Posted By: Duke

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/28/10 08:47 PM

I still think you are somehow loading a disk image which triggers the ADB command 0xe1. Maybe try putting empty disk images into all drives.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/28/10 11:26 PM

Thanks -- I've tried running it with no disk images available anywhere in the file system, or with blank.nib images in flop1 and flop2, but keep getting the same result (ADB 0xe1 not implemented). The blank disk (.dsk) images I have for flop3 and flop4 are apparently not valid so I wasn't able to try having blanks in those drives.

Also, I'm not getting the error in testing the win32 version with the exact same rom set and disk image (Roadwar 2000 mentioned earlier).
Posted By: Duke

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/29/10 12:38 AM

Well it must be a GCC bug then.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/29/10 12:47 AM

I have a spare HDD I can swap to and try with a fairly recent version of Fedora PPC -- will see what happens there.
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/29/10 05:36 AM

Just to clarify - if you are getting this error without any beep and "Apple IIgs - ROM Version xx - Copyright 198x Apple Computer Inc" screen first then your compiler is mangling the driver and/or 65c816 core.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/29/10 06:01 AM

That must be the case, then -- all I get is this screen for a moment before it shuts down:

http://pleasantfiction.ipower.com/ps3linux/apple2gs.png

On mess 0.139 win32 and today's svn on an x86 ubuntu notebook it works as expected with the blue screen and "Check startup device!"

My Fedora 12 install on the PS3 is almost done so I can check it there in a bit.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 11/29/10 02:04 PM

OK, I installed Fedora 12 PPC on my spare hard drive and ...

... [drum roll] ...

Same result! sick

This time I'm just using the mess 0.139 build from rpmfusion:

rpm -q mess
mess-0.139-1.fc12.ppc

mess -verbose apple2gs
Code:
Parsing mess.ini
Parsing mess.ini
Build version:      0.139 (Aug  1 2010)
Build architecure:  SDLMAME_ARCH= 
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    DISTRO=generic SYNC_IMPLEMENTATION=tc 
SDL/OpenGL defines: SDL_COMPILEDVERSION=1213 USE_OPENGL=1 USE_DISPATCH_GL=1 
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=4 __GNUC_PATCHLEVEL__=4 __VERSION__="4.4.4 20100630 (Red Hat 4.4.4-10)" 
Compiler defines B: __unix__=1 
Compiler defines C: _FORTIFY_SOURCE=2 __USE_FORTIFY_LEVEL=2 
SDL Device Driver     : x11
SDL Monitor Dimensions: 1280 x 720
Enter sdlwindow_init
Using SDL single-window soft driver (SDL 1.2)
Leave sdlwindow_init
Keyboard: Start initialization
Input: Adding Kbd #1: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #1: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Joystick: End initialization
Audio: Start initialization
Audio: Driver is pulse
Audio: frequency: 48000, channels: 2, samples: 256
sdl_create_buffers: creating stream buffer of 57344 bytes
Audio: End initialization
ouput: unable to open output notifier file /tmp/sdlmame_out
Input: Autoenabling mouse due to presence of a mouse
Input: Autoenabling mouse due to presence of a mouse
Ignoring MAME exception: ADB command 0xe1 unimplemented
ADB command 0xe1 unimplemented
sdl_kill: closing audio
Sound buffer: overflows=0 underflows=185
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit


There are definitely no disk images involved.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 12/05/10 02:25 PM

Am I right in thinking that all PPC Linux machines would have this problem with apple2gs and snes emulation on mess? Unfortunately I only have the PS3 for testing on PPC, though I'm keeping an eye out for a cheap PPC Mac.
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 12/05/10 03:46 PM

Yes, this should happen on any PPC running the same distro(s).
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 12/27/10 04:16 PM

Checked the SVN changelog but didn't see anything that appeared to be related to this issue (to me, anyway :P) ... just curious to see if anyone is working on it or if PPC Linux is too small of a user base to worry with it. wink Thanks!
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 12/27/10 04:21 PM

Well, as far as I can tell the population of devs that even *can* look at this is me, and I'm on vacation at the moment smile
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/02/11 02:01 PM

I understand if you don't bother given the small number of users affected (uh... one? :p), but if you do have a chance please have a look at this. smile
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/02/11 03:23 PM

Yes, I haven't forgotten. I thought I'd asked before, but do SNES games work on that build? That'd help narrow things down a little in advance.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/03/11 02:14 AM

I remember you asking about that and testing it -- no, SNES games don't work on it either. If I recall correctly you had narrowed it down to the 65c816 core and/or the compiler hosing something.

Thanks
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/06/11 10:25 PM

I am trying very hard to look at this for you, but my first build attempt took 4 hours and resulted in -debug crashing inside GTK+. I'm kicking off a 32-bit build now instead and we'll see if that helps at all.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 12:55 AM

Thanks -- I've always done 32-bit on PPC since it's my understanding that there's no real advantage running 64-bit for PowerPC. At least not for MAME/MESS.

Also on YDL/PS3 I have to disable ps3vram as swap when building any large apps or it will crash at some random point during the build.
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 12:58 AM

32-bit works with -debug and I've found what's going wrong with the 65816 core, but not quite why yet smile
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 01:03 AM

...and fixed.

In src/emu/cpu/g65816/g65816cm.h, line 43, change it to

#define int8 signed char

(add "signed") and recompile.

That got me the "Apple IIgs ROM Version 03" screen, albeit extremely slowly (I was running remote X over the PS3's WiFi, which is probably a bad idea ;-)
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 01:07 AM

shocked Damn you're fast! I'll give that a try tonight or tomorrow at the latest. Thanks! smile
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 01:10 AM

It's fixed in SVN now too smile

Lemme try to crank up local X on the PS3 and see how it runs.

ETA: no luck with local X, but on remote I verified that Music Construction Set GS boots, so it looks like it's all working.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 01:53 AM

Building on my PS3 now -- will let you know how it goes.
Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 02:26 AM

Helpful tip: nothing in MESS uses the TMS57002, so comment it out in src/mess/mess.mak (put a # in front of "CPUS=TMS57002") for much easier building.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 02:33 AM

Ah -- thanks again -- this time around I just added a patch with your fix and am rebuilding my rpm, but will do that next time.
Posted By: mahlemiut

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 05:26 AM

Building MAME on an X68030 running NetBSD/x68k would be an interesting project... since it's limited to a maximum of 12MB RAM... smile I wonder if anyone's attempted it before.
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 03:53 PM

So far it seems to be working well after that fix. Just played some Gauntlet, Battlechess and Arkanoid II. smile Speed is good -- I get a little frameskipping when playing Arkanoid II with mess handling the scaling @ fullscreen 720p, but only 2-3.

I did get an error trying to load Pirates!(1988)(Microprose):

Ignoring MAME exception: ADB command 0x0b unimplemented
ADB command 0x0b unimplemented

But I haven't had a chance to compare results on an x86 machine...

Posted By: R. Belmont

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/07/11 04:32 PM

Pirates! may require a ROM 01 machine (the apple2gsr1 driver or whatever we call it this week).
Posted By: billb

Re: apple2gs - ADB command 0xe1 unimplemented? - 02/08/11 04:48 AM

I've tried apple2gsr0 and apple2gsr1 but still get the same error on Pirates! ... will compare results on x86 and see if the same thing happens.

Anyway, I'm just happy it's mostly working! wink
© 2020 Forums