Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
79 user(s) are online (69 user(s) are browsing Forums)

Members: 0
Guests: 79

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3) 4 »
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@Capehill
Quote:

Branch updated.


Checked, on SDK 53.30 fail to compiles because:

src/video/amigaos4/SDL_os4video.c:284:18error‘MAX_DOS_PATH’ undeclared (first use in this function); did you mean ‘DOS_PATH_H’?
  
char pathBuffer[MAX_DOS_PATH];
                  ^~~~~~~~~~~~
                  
DOS_PATH_H
src
/video/amigaos4/SDL_os4video.c:284:18noteeach undeclared identifier is reported only once for each function it appears in
src
/video/amigaos4/SDL_os4video.c:285:18error‘MAX_DOS_FILENAME’ undeclared (first use in this function); did you mean ‘MAX_VP_FILENAME’?
  
char nameBuffer[MAX_DOS_FILENAME];
                  ^~~~~~~~~~~~~~~~
                  
MAX_VP_FILENAME
src
/video/amigaos4/SDL_os4video.c:285:7warningunused variable ‘nameBuffer’ [-Wunused-variable]
  
char nameBuffer[MAX_DOS_FILENAME];
       ^~~~~~~~~~
src/video/amigaos4/SDL_os4video.c:284:7warningunused variable ‘pathBuffer’ [-Wunused-variable]
  
char pathBuffer[MAX_DOS_PATH];
       ^~~~~~~~~~
src/video/amigaos4/SDL_os4video.cIn function ‘os4video_OpenScreen’:
src/video/amigaos4/SDL_os4video.c:633:17warningvariable ‘screenHeight’ set but not used [-Wunused-but-set-variable]
  
uint32         screenHeight;
                 ^~~~~~~~~~~~


Quote:

By the way, is scaling in those images done by CPU or OpenGL?

You mean inside of EUAE window ? As far as i can tell pure CPU. In euae docs i found that:

Quote:

sdl.use_gl=<bool> (default=false)

If true, the SDL driver uses OpenGL for display output. Depending on your
OpenGL driver this may increase or decrease the speed of emulation.
Note: This setting does not enable a OpenGL emulation for Amiga (e.g. Warp3D)
but simply uses an OpenGL texture for the 2D Amiga and Picasso96 display.


And sdlgfx.c source have all around "ifdef opengl". But as far as i understand its anyway all for "just render to", not about scaling or something.. There is that file if you in interest to check:
http://kas1e.mikendezign.com/aos4/uae/sdlgfx.c

edit: And i found in that file, that kind of comment:

Quote:

// TODO: introduce a virtual resolution with scaling
uiSDLVidModFlags = SDL_OPENGL;
if (fullscreen) {
uiSDLVidModFlags |= SDL_FULLSCREEN;
}


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@capehill
I build euae with GL support enabled, and add in config sdl.use_gl=true, but all what it give me, it just black window. I.e. sound works, just nothing renders in.

In the debug output from sdlgfx.c i have:

Quote:

E-UAE 1.0.0
Build date: Nov 25 2018 14:42:22
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.15.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1920x1200.
SDLGFX: Found screenmode: 1600x1200.
SDLGFX: Found screenmode: 1440x900.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 1280x720.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 640x512.
SDLGFX: Found screenmode: 640x480.
SDL video driver: OS4
Found 0 joystick(s)
Found amiga raw keyboard mapping
Using raw keymap
Opening cfgfile '.uaerc'...failed
Opening cfgfile 'tdeath.rc'...okay.
Timebase frequency: 24.937500 MHz
Found amiga raw keyboard mapping
Using raw keymap
Function: DX_FillResolutions
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: 1920x1200x32
SDLGFX: Added P96 mode: 1920x1200x8
SDLGFX: Added P96 mode: 1600x1200x32
SDLGFX: Added P96 mode: 1600x1200x8
SDLGFX: Added P96 mode: 1440x900x32
SDLGFX: Added P96 mode: 1440x900x8
SDLGFX: Added P96 mode: 1280x720x32
SDLGFX: Added P96 mode: 1280x720x8
Enabling argb32 byte-swapping for P96.
Function: gfx_set_picasso_state: 0
Building CPU table for configuration: 68020 prefetch
1866 CPU functions
Building CPU function table, 45674 opcodes (2 1 0).
JIT: Building compiler function table.
JIT: Allocation of translation cache...
JIT: Translation cache size in prefs: 0
JIT: translation cache is 0 in prefs, leaving.
Function: graphics_init
Function: find_best_mode(640,512,32)
Function: graphics_subinit_gl
Resolution: 640 x 512
P96 screen? : 0
Fullscreen? : 0
Mouse grabbed? : 0
HW surface? : 0
Must lock? : 0
Bytes per Pixel: 4
Bytes per Line : 0
SDLGFX: Using single-buffered output.
Function: init_colors
SDLGFX: bitdepth = 32
SDL sound driver found and configured at 44100 Hz, buffer is 100 ms (17640 bytes).
Driveclick init...
reset at 0
JIT: Compiling reset
PAL mode, 50Hz (h=227 v=312)
Function: gfx_set_picasso_state: 0
chipmem cleared


Then emulation starts, sound goint on, all seems to works, just nothing renders to the window. It is with minigl, didn't tried with gl4es at moment.

Strange that it show all zeros , and for p96 screen, and for others.

edit: but all that if i didn't use gfx_vsync=true. If i use it, then at least in window mode it works. But in fullscreen it didn't, even without usage of GL, so there seems bug in euae which sounds like "When config has gfx_vsync=true , and euae running in fullscreen via gfx_fullscreen_amiga=true, or , when user just switch from window mode to full screen one, then everything black, and nothing happens. And euae seems to freeze."


Edited by kas1e on 2018/11/25 12:19:49
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@kas1e

Mmm perhaps like this --> E-UAE 1.0.0 SDL (25.11.2018)

And eventually in case of the amigfx binary just -->

E-UAE 1.0.0 (25.11.2018)

Imho it will be better, without the hours that may be added only into the version window eventually

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Just can't stay away
Just can't stay away


See User information
Hi Samo79,
is there a new version of uae? what's the latest one available for the download?

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@nubechecorre

All latest versions are on OS4Depot, there are one based to SDL, and another one called amigfx (that is faster on low end machines like our sam440)

There are also another version with an integrated GUI but unfortunely based on an old source of UAE that doesn't include JIT

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@Capehill
To build latest sdl1 sources with sdk53.30, there need to be added that to the SDL_os4video.h for example
#ifndef MAX_DOS_PATH
#define MAX_DOS_PATH 4000
#endif

#ifndef MAX_DOS_FILENAME
#define MAX_DOS_FILENAME 255
#endif


So i compile it, and test : icon takes fine only when i run it from exactly that place where i in. For example, if i go to the shell, icon grabs fine only when i inside of directory where binary placed. But if i for example go to RAM: , and do something like:

Quote:

RAM:> work:uae/uae -f work:demos/demo/demo.rc


Then instead of real icon i have some default os4-app icon.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Just can't stay away
Just can't stay away


See User information
@kas1e

Maybe using, or soomething alike:
IDOS->NameFromLock( IDOS->GetProgramDir(), pathBuffer2, MAX_DOS_PATH - 1 );
IDOS->GetCliProgramName( pathBuffer, MAX_DOS_PATH - 1 );
IDOS->AddPart( pathBuffer, pathBuffer2, MAX_DOS_PATH - 1 );

instead of (line 287; src/video/amigaos4/SDL_os4video.c)
if (SDL_IDos->GetCliProgramName(pathBuffer, MAX_DOS_PATH - 1)) {...

solves the path icon issue.

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Quite a regular
Quite a regular


See User information
Thank you for this version of UAE that is being realized
at the moment ALT + RETURN works very well and also the JIT
Even if I use winuae with amigaos4.1 update1, so I can not test on real machine.
I wanted to ask if the update also involves improving the execution speed in terms of the UAE emulator's speed in the future.

Thank you for your work!

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Just can't stay away
Just can't stay away


See User information
@kas1e

Strange, I have missed the latest SDK release. I think I have 53.29. Branch is updated again, let me know how it works.

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@Capehill
Quote:

Strange, I have missed the latest SDK release. I think I have 53.29.


Probably you have 53.24 (if i remember right it was 53.24, and then next one 53.30). But not so matter, all compiles fine now with latest branch update.

Quote:

Branch is updated again, let me know how it works.


Yeah! Now icon there and if i run it from home directory , and when run it from any other directory. Thanks ! Time for readme and release ?:)

I also checked SDL2 iconification in that terms, it also didn't show icon when running not from home directory as sdl1 before, so probabaly that change need to be applied on sdl2 as well ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@kas1e

Before replace on os4depot you new UAE have you talked with salass about his better support for hardfiles, if working as is it will be usefull to have it

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@samo
No, i didnt talk with salass about, you may talk yourself with him and bring the result of discussion here :) As if he didn't answer here at moment, then probabaly he have no interest to answer at all.

Alternatively i can build version with his change, and you can test if hardfiles more than 2gb is working with his changes, and if hardfiles more than 2gb didn't works without his change.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@kas1e

I don't think he doesn't care.
It's a matter of spare time and @salass00 has as much of it as any of us, give or take a few hours

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Just can't stay away
Just can't stay away


See User information
@kas1e

We need to run SDL1 test cases before release. Maybe some weekend..

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Just can't stay away
Just can't stay away


See User information
And there should also be an X1000 version since Kas1e's release is damn slow on this architecture

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@K-L
Yeah, it needs to be builded with some flag which will say to skip some ppc instruction which make in x1000's cpu things being emulated in software. If you want to test it, i can build it so you can compare if it all at least not worse :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Just can't stay away
Just can't stay away


See User information
@kas1e

I missed your answer but yes, I'd be glad to give a try to an X1000 compiled version.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@K-L
http://kas1e.mikendezign.com/aos4/uae/uae_no_mcrxr.zip

That one i build with -D_ARCH_PWR4 to avoid usage of mcrxr instruction, which on x1000 seems done in software (only on x1000?). In theory (and if i not forgot something important) should be about the same by speed as one on os4depot (maybe only a little bit faster), and just will have a plus as alt+enter for switch to window/fullscreen.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Not too shy to talk
Not too shy to talk


See User information
@kas1e

E-UAE for X1000 with OS4Depot, gives under Sysinfo 54Mips. Your compilation reaches 17Mips.

Go to top
Re: e-uaes from os4depot, fresh recompile (post #10)
Home away from home
Home away from home


See User information
@mufa
What version you test ? For x1000 you need to test that one:
http://kas1e.mikendezign.com/aos4/uae/uae_no_mcrxr.zip

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 2 (3) 4 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project