PowerSDL 12.1 and E-UAE
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    With PowerSDL 12.0 and a few previous versions (I do not remember exactly when the problem occurred) I started to have black screens when I run E-UAE (SDL version). Previously it worked very well in 1280x1024 screen mode.

    So after installation of PowerSDL 12.1 I soon run E-UAE just to see if something was changed.

    The result is better :-x :-? because E-UAE still opens a black screen, but now I can see UAE virtual LEDs and can follow hard disk activity signalled by the blue LED during boot time. Unfortunately, when HD activity ends, the screen flashes and becomes totally black since even the LEDs disappear... MorphOS and all the other programs are still working in their screens, and Scout signals that e-uae.sdl is running fine.

    My E-UAE installation starts from a directory where Workbench 3.9 is installed. I tried both E-UAE 0.8.28-2 and 0.8.29-WIP4. LED activity and black screen are the same, but for unknown reasons E-UAE 0.8.29-WIP4 gives no output in the shell screen where it is run; E-UAE 0.8.28-2 gives this output:


    E-UAE 0.8.28
    Build date: Sep 30 2005 01:17:48
    SDLGFX: Initialized.
    SDLGFX: Using SDL version 1.2.11.
    SDLGFX: Display is 32 bits deep.
    SDLGFX: Found screenmode: 320x240.
    SDLGFX: Found screenmode: 640x480.
    SDLGFX: Found screenmode: 800x600.
    SDLGFX: Found screenmode: 1024x768.
    SDLGFX: Found screenmode: 1280x1024.
    SDLGFX: Found screenmode: 1600x1200.
    SDLGFX: HW surfaces are profitable for P96 emulation.
    Found 1 joystick(s)
    Found amiga raw keyboard mapping
    Using raw keymap
    Opening cfgfile '.uaerc'...okay.
    Timebase frequency: 33.333333 MHz
    Testing system sleep function......
    Average duration of a 1ms sleep: 5 ms
    Found amiga raw keyboard mapping
    Using raw keymap
    Rexx port "UAE" installed.
    Failed to initialize the GUI
    Kickstart KickShifted @0246
    Kickstart KickShifted @0252
    SDLGFX: Added P96 mode: 320x200x32
    SDLGFX: Added P96 mode: 320x200x8
    SDLGFX: Added P96 mode: 320x240x32
    SDLGFX: Added P96 mode: 320x240x8
    SDLGFX: Added P96 mode: 320x256x32
    SDLGFX: Added P96 mode: 320x256x8
    SDLGFX: Added P96 mode: 320x400x32
    SDLGFX: Added P96 mode: 320x400x8
    SDLGFX: Added P96 mode: 640x350x32
    SDLGFX: Added P96 mode: 640x350x8
    SDLGFX: Added P96 mode: 640x480x32
    SDLGFX: Added P96 mode: 640x480x8
    SDLGFX: Added P96 mode: 640x512x32
    SDLGFX: Added P96 mode: 640x512x8
    SDLGFX: Added P96 mode: 800x600x32
    SDLGFX: Added P96 mode: 800x600x8
    SDLGFX: Added P96 mode: 1024x768x32
    SDLGFX: Added P96 mode: 1024x768x8
    SDLGFX: Added P96 mode: 1152x864x32
    SDLGFX: Added P96 mode: 1152x864x8
    SDLGFX: Added P96 mode: 1280x1024x32
    SDLGFX: Added P96 mode: 1280x1024x8
    SDLGFX: Added P96 mode: 1600x1200x32
    SDLGFX: Added P96 mode: 1600x1200x8
    No disk in drive 0.
    Resetting frame rate hack
    Building CPU table for configuration: 68040
    1866 CPU functions
    Building CPU function table, 46416 opcodes (4 0 0).
    SDL sound driver found and configured for 16 bits at 44100 Hz, buffer is 1024 samples
    Resetting frame rate hack
    ide.device 1: 'ATA-HD ' 'Maxtor 6L250R0 ' ' '
    ide.device 3: 'HL-DT-ST' 'DVD-ROM GDR-H30N' '1.00' CD-ROM
    ide.device 2: 'PIONEER ' 'DVD-RW DVR-109 ' '1.58' CD-ROM
    ide.device 0: 'ATA-HD ' 'Maxtor 6L250R0 ' ' '
    SCSIDEV: 2 device(s) found
    support_scsi = 1 support_ioctl = 0
    ide.device:3 = uaescsi.device:0
    ide.device:2 = uaescsi.device:1
    reset at 0
    PAL mode, 50Hz (h=227 v=312)
    SERIAL: period=372, baud=9600, hsyncs=16 PC=f8012e
    Byte put to custom register DE0000 PC=00F80148
    Byte put to custom register DE0001 PC=00F8014E
    Byte put to custom register DE0002 PC=00F80174
    Fastmem (32bit): mapped @$10000000: 128 MB Zorro III fast memory
    Card 1 (ZorroIII) done.
    UAEGFX-card: mapped @$18000000
    Card 2 (ZorroIII) done.
    Filesystem: mapped memory @$e90000.
    Card 3 (ZorroII) done.
    Byte put to custom register DE0000 PC=00FCA024
    Byte put to custom register DFF110 PC=00FAAA02
    Byte put to custom register DFF111 PC=00FAAA02
    Byte put to custom register DFF112 PC=00FAAA02
    Byte put to custom register DFF113 PC=00FAAA02
    Byte put to custom register DFF114 PC=00FAAA02
    Byte put to custom register DFF115 PC=00FAAA02
    Mounting uaehf.device 0 (0):
    FS: mounted virtual unit DH0 (Work:Emulators/E-UAE/Harddisks/Workbench3.9_Picasso)
    Mounting uaehf.device 1 (0):
    FS: mounted virtual unit DH1 (Work:)
    PAL mode, 52Hz (h=227 v=295)
    PAL mode, 50Hz (h=227 v=312)
    PAL mode, 54Hz (h=227 v=284)
    PAL mode, 50Hz (h=227 v=312)
    PAL mode, 54Hz (h=227 v=284)
    PAL mode, 50Hz (h=227 v=312)
    PAL mode, 52Hz (h=227 v=298)
    PAL mode, 50Hz (h=227 v=312)
    warning: 1B88 written to BEAMCON0
    PAL mode, 59Hz (h=114 v=525)


    Is the problem related to the warning in the penultimate line?

    When I press CTRL-C in the shell window, E-UAE closes and I get the following further lines of output:


    DMACON: 23f0 INTENA: 602c INTREQ: 60 VPOS: 0 HPOS: 0
    COP1LC: 00003020, COP2LC: 0000c620 COPPTR: 0000c628
    DIWSTRT: 0181 DIWSTOP: 0281 DDFSTRT: 0018 DDFSTOP: 0020
    BPLCON 0: 0303 1: 0000 2: 0024 3: 0cc1 4: 0011
    Average frame time: 18.844566 ms [frames: 3101 time: 58437]


    (Well, this output is not always the same because some values depend on the time E-UAE was active...)

    Any suggestions? Any comments or help by itix and Fab?

    Thank you.

    [ Edited by DoctorMorbius_FP on 2008/5/25 22:37 ]
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »25.05.08 - 21:34
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    First i would suggest using latest e-uae version (0.8.29 WIP3 or 4).

    Regarding the sdl version (which i don't use much since it's quite slower and only useful if you need p96), i often noticed that black screen issue with powersdl. I guess itix should know better how to fix it (again :)).

    [ Edited by Fab on 2008/5/26 16:59 ]
  • »26.05.08 - 16:58
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Daff
    Posts: 243 from 2003/4/5
    Try to launch E-UAE with a 16 bit screen.
    Obligement - L'Amiga au maximum
    http://obligement.free.fr
  • »26.05.08 - 19:03
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    @ Fab

    Indeed the problem affects only the SDL version, but I'm forced to use this version whenever I need to run FinalData on a large Picasso screen. FinalData is incompatible with MorphOS and I still use plenty of simple but useful databases in its format.

    @ itix

    :-D :-D :-D

    @ Daff

    OK. I will try as soon as I find the time, and of course will report the result. Thank you.
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »26.05.08 - 20:27
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    EUAE probably does not obey SDL rules and does not update screen properly. I have not looked into EUAE code but I dont think it is a bug in PSDL.

    Does it work in window mode?

    I can try looking into EUAE but at least this week I am busy with other projects...
    1 + 1 = 3 with very large values of 1
  • »26.05.08 - 21:21
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    @ itix

    > Does it work in window mode?

    No. Even the window stays black (except for UAE virtual LEDs during the boot phase).
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »27.05.08 - 18:37
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    @ Daff

    > Try to launch E-UAE with a 16 bit screen.

    I took a screenmode.prefs file where a Picasso-16bit screen was set on a working WinUAE installation (same Amiga system software as on the Pegasos E-UAE installation) and put it in Workbench:Prefs/Env-Archive/Sys.

    Now the Workbench under E-UAE starts in Pal mode (640x512x4) and I can see everything in the boot phase. I can work after the boot phase is finished... or it is better to say that I can do what is possible in such a small screen, but I am primarily interested in a 1280x1024 resolution (that once worked fine). If I launch ScreenMode and try to change screen, I do not find any 16bit Picasso modes :-?, but only 32bitGRA and 8bit ones :-x. Selecting any of these Picasso screens, the Pal screen closes, and I presume that the Picasso screen opens, but it is black... :-(

    Any suggestions?

    [ Edited by DoctorMorbius_FP on 2008/5/29 21:12 ]
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »29.05.08 - 20:01
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    I wonder why it is not adding 16 bit modes. EUAE must filter them out somehow.
    1 + 1 = 3 with very large values of 1
  • »29.05.08 - 20:53
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    @ itix

    Eureka! :-) :-) :-)

    I found PowerSDL V11.1 in my backups, and E-UAE-SDL works fine with it. I confirm that E-UAE-SDL filters out Picasso 16bit modes, but this versions of PowerSDL opens a 1280x1024 Picasso 32bitGRA screen without problems.

    Can this be useful for fixing V12.x versions of PowerSDL? :-D :-D :-D

    [ Edited by DoctorMorbius_FP on 2008/5/29 23:15 ]
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »29.05.08 - 21:39
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    @ Fab

    Further details:

    E-UAE-0.8.29-WIP3 and E-UAE-0.8.29-WIP4 (SDL versions) do not work with PowerSDL V11.1. They open a SDL screen and display the virtual LEDs of E-UAE, but the HD activity LED stays off (Scout reports that E-UAE-SDL is in waiting state...).

    Only E-UAE_0.8.28-2 (SDL version) works fine with PowerSDL V11.1.
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »29.05.08 - 22:59
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Daff
    Posts: 243 from 2003/4/5
    With SDL 11.x, you can't use certain recent SDL programs. So it's better to use the last version.

    For the moment, I use SDL 12.1 with last E-UAE in 16 bit mode (fullscreen) and Ambient in 16 bit. In this setup, E-UAE can't see 24/32 bit modes so your AmigaOS in 24/32 bit will be unlaunchable and a PAL AGA 8 bit mode will be displayed. So, go to ScreenMode and select a 16 bit mode.

    With Ambient in 24/32 bits and last SDL/E-UAE it's possible to use AmigaOS in 24/32 bit but only in window mode in E-UAE (swap mode with Ctrl-Alt-S).



    [ Edited by Daff on 2008/5/30 21:51 ]
    Obligement - L'Amiga au maximum
    http://obligement.free.fr
  • »30.05.08 - 20:47
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Where you got WIP4? There is only WIP3 at Aminet.

    Oh, found it from Drummonds homepage. Now, how to run this thing? I have used UAE but it was more like three years ago :)

    [ Edited by itix on 2008/5/31 0:54 ]
    1 + 1 = 3 with very large values of 1
  • »30.05.08 - 22:18
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    @ itix

    WIP4 is available on Fab's web site: http://fabportnawak.free.fr/uae/

    These are the contents of my .uaerc file, maybe you can find it useful:

    # General options
    #amiga.rom_path=Work:Emulators/E-UAE/Kickstarts/
    #amiga.floppy_path=Work:Emulators/E-UAE/ADFs/
    #amiga.hardfile_path=Work:Emulators/E-UAE/Hardfiles/
    #use_gui=false
    #use_debugger=false

    # CPU options
    cpu_type=68040
    cpu_speed=max
    # finegrain_cpu_speed=
    cpu_compatible=false
    cpu_cycle_exact=false

    # JIT options
    # cachesize=<n> (default=0)

    # Chipset options
    chipset=aga
    ntsc=false
    immediate_blits=true
    # fast_copper=true [obsolete!]
    collision_level=none

    # ROM options
    kickstart_rom_file=Work:Emulators/E-UAE/Kickstarts/kick40068_3.1__A4000_patched.rom
    #kickstart_key_file=
    #kickstart_ext_rom_file=
    #cart_file=
    kickshifter=true

    # RAM options
    chipmem_size=4
    bogomem_size=0
    fastmem_size=0
    z3mem_size=128
    gfxcard_size=32

    # Floppy drive options
    #floppy0=<path>
    floppy0type=0
    #floppy1=<path>
    floppy1type=0
    #floppy2=<path>
    floppy2type=-1
    #floppy3=<path>
    floppy3type=-1
    #floppy_speed=800

    # Hard disk options
    #filesystem2=rw,DH0:Workbench:Work:Emulators/E-UAE_SDL/Harddisks/Workbench,1
    filesystem=rw,Workbench:Work:Emulators/E-UAE/Harddisks/Workbench3.9_Picasso
    filesystem=rw,Work:Work:
    # hardfile2=<access>,<device>:<path>,<sectors>,<surfaces>,<reserved>,<blocksize>,<bootpri>,<handler>
    # hardfile2=rw,Workbench:Work:Emulators/E-UAE/Hardfiles/Workbench.HDF,32,1,2,512,0

    # Display options
    gfx_framerate=1
    gfx_width=800
    gfx_height=600
    gfx_width_windowed=800
    gfx_height_windowed=600
    gfx_width_fullscreen=1280
    gfx_height_fullscreen=1024
    gfx_fullscreen_amiga=true
    gfx_fullscreen_picasso=yes
    gfx_lores=false
    gfx_linemode=double
    gfx_correct_aspect=false
    gfx_center_horizontal=smart
    gfx_center_vertical=smart
    show_leds=true

    # Sound options
    sound_output=normal
    sound_bits=16
    sound_frequency=44100
    sound_channels=stereo
    sound_max_buff=4096
    sound_interpol=none

    # Input device options
    joyport0=mouse
    joyport1=joy0
    # kbd_lang=en

    # SCSI emulation options
    scsi=true
    # scsi_device=<config>

    # Network emulation
    bsdsocket_emu=false

    # X11-specific options
    # x11.low_bandwidth=<bool> (default=false)
    # x11.use_mitshm=<bool> (default=true)
    # x11.hide_cursor=<bool> (default=true)

    # SDL-specific options
    # sdl.map_raw_keys=<bool> (default=false)

    # AmigaOS-specific options
    # amiga.screen_type=public
    # amiga.publicscreen=DOPUS.1
    # amiga.use_dither=false
    # amiga.use_grey=false
    # amiga.use_overlay=yes



    @ Daff

    I will try to follow your suggestions. In the meanwhile I have written a CLI script that flushes away powersdl.library 12.1 if it is loaded in RAM, substitutes the file with powersdl.library 11.1 in LIBS:, and then runs E-UAE. When I close E-UAE the same script flushes away powersdl.library 11.1 from RAM: and restores powersdl.library 12.1 in LIBS:.

    Of course flushing works only if no program is using powersdl.library. Only this file must be changed, the other libraries of PowerSDL 12.1 need not to be substituted.

    [ Edited by DoctorMorbius_FP on 2008/5/31 0:30 ]
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »30.05.08 - 23:21
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ausPPC
    Posts: 543 from 2007/8/6
    From: Pending...
    Has anyone successfully run e-uae on MorphOS 2? I've been trying on an Efika and only get a black window that won't close.

    Wish I had more time for this - I'd like to try the OS4 version under OS4Emu.
    PPC assembly ain't so bad... ;)
  • »22.07.08 - 00:42
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Still the missing audio driver issue:

    add sound_output=none to your config file and then it will run "correctly". Also, for speed reasons, better make sure you only use the non-sdl version (both versions are included in archive, at least if you use my port: http://fabportnawak.free.fr/uae/E-UAE_0.8.29-WIP4.lha ).

    Just for your information, OS4 version wouldn't help in anything and besides, MorphOS non-sdl version is also faster with overlay output mode.

    I tried slamtilt on efika a few days ago, and it was not ridiculous, but it certainly didn't reach 100% speed (rather 70% i'd say).
  • »22.07.08 - 00:53
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Painkiller
    Posts: 128 from 2007/11/19
    From: Nokia, Funland
    BTW, is possible to install Amiga games on E-UAE, so that when I would click on the executables at MorphOS it would automaticly open in E-UAE? This shouldn't be too hard to accomplish, should it? For exsample one folder would be assigned to Amiga programs that require E-UAE once inside that folder you click on an Amiga executable it would automaticly laucnh E-UAE and the run a shell command to startup that program. If it see that E-UAE is already running then it could just run the shell command.

    [ Edited by Painkiller on 2008/7/22 8:19 ]
  • »22.07.08 - 06:11
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dIGIMAN
    Posts: 273 from 2005/11/7
    Quote:


    Painkiller wrote:
    BTW, is possible to install Amiga games on E-UAE, so that when I would click on the executables at MorphOS it would automaticly open in E-UAE? This shouldn't be too hard to accomplish, should it? For exsample one folder would be assigned to Amiga programs that require E-UAE once inside that folder you click on an Amiga executable it would automaticly laucnh E-UAE and the run a shell command to startup that program. If it see that E-UAE is already running then it could just run the shell command.

    [ Edited by Painkiller on 2008/7/22 8:19 ]


    Its not to hard to do.
    Setup a partiton in your uaeconfig and us a assign as drive, for example uaerun:

    In your UAE Startup Sequence use WBRUN Gamestart

    Now simply rename the game you want to run to gamestart and make a iconx script with
    assign uaerun: ""
    uae

    There the game will start from ambient
  • »22.07.08 - 10:52
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Actually, i included a script and filetype able to do that in my latest UAE archive in Bonus/. I also included a readme to tell how to use/install them.

    With filetype + script installed, you can:
    - double click an adf and make uae boot on it.
    - use "run in UAE" entry from context menu and run/reuse an instance of uae to execute the selected icon/binary (called by wbrun inside emulation).
  • »22.07.08 - 12:23
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 423 from 2005/4/9
    From: magyarorszag/h...
    @fab: this means i could start slamtilt from ambient with a single doubleclick?
    DEAD pegII/G4@1000.1gb ram.radeon 9200pro
    240 gigz hd.nec dvdrw.MorphOS 2.4 DEAD
    -=-=-=-
    amiga1200T.blizzardppc@180/040@25.96megz ram
    -=-=-=-=-
    zx.spectrum@3.5
  • »22.07.08 - 13:42
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    saddam,

    that's what i usually do yes, both from adf (but then you need to insert other disks manually) or hd-installed version.
  • »22.07.08 - 14:08
    Profile Visit Website