![]() |
![]() |
#41 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 472
|
|
![]() |
![]() |
#42 |
Registered User
|
Hi jbl007!
Seems to be caused by not passing the amount of RAM properly to emulation. Have the same problem with the winuae4200 branch, too. Also adding Zorro III RAM results in a very similar error (zero bytes added as well). EDIT: Added log files for Frode. Last edited by BastyCDGS; 16 May 2019 at 18:48. Reason: Forgot, to add log files for Frode |
![]() |
![]() |
#43 |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Zorro III memory seemed to work fine, but I can confirm that there is a problem with the initialization of uaegfx. Start address is not configured, which causes allocation to fail (you should see ""mapped_malloc(*) without start address!" in the log). Will look into the expansion initialization code...
|
![]() |
![]() |
#44 |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
I've pushed a fix for the allocation problem (InitPicasso96(0) needed to be added to graphics_setup). I've not actually tested Picasso96 (usage) yet. EDIT: Just did, FS-UAE crashes - I didn't really expect it to work without modifications.
|
![]() |
![]() |
#45 |
Registered User
|
Thank you Frode!
Still crashes in ROM. New log attached after git pull. Last edited by BastyCDGS; 17 May 2019 at 09:13. Reason: Moved bug report for compressed ROZ/ADZ files in separate thread |
![]() |
![]() |
#46 |
Registered User
|
FYI, Toni just released final WinUAE 4.2.1 version! Maybe time to merge it, as well.
Any progress regarding uaegfx crashing? Can I be of any help regarding this? |
![]() |
![]() |
#47 | ||
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
![]() Quote:
![]() Last edited by FrodeSolheim; 18 May 2019 at 13:03. |
||
![]() |
![]() |
#48 | |
Registered User
|
Hi again!
Quote:
The crash at boot seems to be related with clipboard sharing. See post below! Last edited by BastyCDGS; 18 May 2019 at 14:04. Reason: Add info about clipboard sharing crash |
|
![]() |
![]() |
#49 |
Registered User
|
Some test results with disabling certain stuff:
Works: JIT compiler with 68040-NOMMU (others not tested)! Toccata (tested with OctaMED Soundstudio, plays fine) Cyberstorm PPC (tested with ADoom PPC WOS, but PPC emulation is extremely slow, so init DOOM refresh daemon seems to hang) Doesn't work: uaegfx (gives complete white screen with its bottom and right it flickering between white/black) bsdsocket.library (AWeb doesn't find TCP/IP stack) Clipboard sharing (crashes at boot) NOTE: Just realized I didn't configure build with --enable-clipboard. Will retry that and report ASAP. Build fails with --enable-clipboard: Code:
src/od-fs/clipboard.cpp: In function ‘uae_u32 to_amiga_start_cb(TrapContext*, void*)’: src/od-fs/clipboard.cpp:58:69: warning: invalid conversion from ‘uaecptr {aka unsigned int}’ to ‘uae_u8* {aka unsigned char*}’ [-fpermissive] debugwrite(ctx, _T("clipboard_p2a"), clipboard_data, to_amiga_size); ^ src/od-fs/clipboard.cpp:48:13: note: initializing argument 3 of ‘void debugwrite(TrapContext*, const TCHAR*, uae_u8*, int)’ static void debugwrite(TrapContext *ctx, const TCHAR *name, uae_u8 *p, int size) ^~~~~~~~~~ src/od-fs/clipboard.cpp: In function ‘void from_iff(TrapContext*, uaecptr, uae_u32)’: src/od-fs/clipboard.cpp:682:55: warning: invalid conversion from ‘uaecptr {aka unsigned int}’ to ‘uae_u8* {aka unsigned char*}’ [-fpermissive] debugwrite(ctx, _T("clipboard_a2p"), data, len); ^ src/od-fs/clipboard.cpp:48:13: note: initializing argument 3 of ‘void debugwrite(TrapContext*, const TCHAR*, uae_u8*, int)’ static void debugwrite(TrapContext *ctx, const TCHAR *name, uae_u8 *p, int size) ^~~~~~~~~~ src/od-fs/clipboard.cpp:685:40: warning: invalid conversion from ‘TrapContext*’ to ‘uaecptr {aka unsigned int}’ [-fpermissive] from_iff_text(ctx, buf, len); ^ src/od-fs/clipboard.cpp:685:40: warning: invalid conversion from ‘uae_u8* {aka unsigned char*}’ to ‘uae_u32 {aka unsigned int}’ [-fpermissive] src/od-fs/clipboard.cpp:685:40: error: too many arguments to function ‘void from_iff_text(uaecptr, uae_u32)’ src/od-fs/clipboard.cpp:185:13: note: declared here static void from_iff_text (uaecptr ftxt, uae_u32 len) ^~~~~~~~~~~~~ src/od-fs/clipboard.cpp: In function ‘void amiga_clipboard_init(TrapContext*)’: src/od-fs/clipboard.cpp:836:23: error: too few arguments to function ‘void clipboard_read(TrapContext*, bool)’ clipboard_read(ctx); ^ src/od-fs/clipboard.cpp:699:13: note: declared here static void clipboard_read(TrapContext *ctx, bool keyboardinject) ^~~~~~~~~~~~~~ src/od-fs/clipboard.cpp: In function ‘void target_paste_to_keyboard()’: src/od-fs/clipboard.cpp:962:6: warning: no previous declaration for ‘void target_paste_to_keyboard()’ [-Wmissing-declarations] void target_paste_to_keyboard(void) ^~~~~~~~~~~~~~~~~~~~~~~~ src/od-fs/clipboard.cpp: In function ‘void uae_clipboard_update()’: src/od-fs/clipboard.cpp:969:20: error: too few arguments to function ‘void clipboard_read(TrapContext*, bool)’ clipboard_read(); ^ src/od-fs/clipboard.cpp:699:13: note: declared here static void clipboard_read(TrapContext *ctx, bool keyboardinject) ^~~~~~~~~~~~~~ src/od-fs/clipboard.cpp: In function ‘void clipboard_unsafeperiod()’: src/od-fs/clipboard.cpp:985:2: error: ‘vdelay2’ was not declared in this scope vdelay2 = 100; ^~~~~~~ src/od-fs/clipboard.cpp:985:2: note: suggested alternative: ‘vdelay’ vdelay2 = 100; ^~~~~~~ vdelay Makefile:5616: recipe for target 'src/od-fs/libuae_a-clipboard.o' failed make[2]: *** [src/od-fs/libuae_a-clipboard.o] Error 1 make[2]: *** Attente des tâches non terminées.... mv -f src/od-fs/.deps/libuae_a-clock.Tpo src/od-fs/.deps/libuae_a-clock.Po mv -f src/od-fs/.deps/libuae_a-driveclick.Tpo src/od-fs/.deps/libuae_a-driveclick.Po mv -f src/od-fs/.deps/libuae_a-filesys_host.Tpo src/od-fs/.deps/libuae_a-filesys_host.Po mv -f src/od-fs/.deps/libuae_a-gui.Tpo src/od-fs/.deps/libuae_a-gui.Po src/od-fs/hardfile_host.cpp: In function ‘TCHAR* hdf_getnameharddrive(int, int, int*, int*)’: src/od-fs/hardfile_host.cpp:746:8: warning: no previous declaration for ‘TCHAR* hdf_getnameharddrive(int, int, int*, int*)’ [-Wmissing-declarations] TCHAR *hdf_getnameharddrive (int index, int flags, int *sectorsize, int *dangerousdrive) ^~~~~~~~~~~~~~~~~~~~ src/inputdevice.cpp: In function ‘bool inputdevice_devicechange(uae_prefs*)’: src/inputdevice.cpp:7460:6: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] bool inputdevice_devicechange (struct uae_prefs *prefs) ^~~~~~~~~~~~~~~~~~~~~~~~ src/inputdevice.cpp:7460:6: note: directive argument in the range [1, 2147483647] In file included from /usr/include/stdio.h:862:0, from ./src/od-fs/defines.h:44, from ./src/od-fs/sysconfig.h:283, from src/inputdevice.cpp:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: ‘__builtin___sprintf_chk’ output between 5 and 14 bytes into a destination of size 10 __bos (__s), __fmt, __va_arg_pack ()); Last edited by BastyCDGS; 18 May 2019 at 14:36. Reason: Added log for uaegfx white flickering issue |
![]() |
![]() |
#50 |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Btw, clipboard and bsdsocket features are disabled on purpose because I know they do not work (or compile for that matter) without additional work
![]() |
![]() |
![]() |
#51 |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Pushed commit which makes uaegfx partially working (32-bit mode, <= 960x540 resolution).
|
![]() |
![]() |
#52 | |
Registered User
|
Quote:
I now have tested Cyberstorm PPC OS4.1FE mode. Booting only works with no graphics card enabled. PPC speed is normal here instead of the previous test with OS3.9. However, the new boot ROM mode making UAE expansions compatible with OS4.x also doesn't work, i.e. directory HD's aren't working in OS4.x mode. Do I have to enable some uae_ setting in config file to enable this? EDIT: Had missing uae_uaeboard = full+indirect config entry. Directory harddrives work now! Last edited by BastyCDGS; 18 May 2019 at 16:08. |
|
![]() |
![]() |
#53 | |
Registered User
|
Quote:
Note that I have a graphics_card_memory = 16 in the config file. Might be the issue for you! EDIT: Tested uaegfx now with OS4.1FE, too. Works also in 1080p now! Excellent work! Last edited by BastyCDGS; 18 May 2019 at 16:16. Reason: Added uaegfx test for OS4.1FE |
|
![]() |
![]() |
#54 | ||
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 472
|
Quote:
Quote:
|
||
![]() |
![]() |
#55 | ||||
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
Quote:
![]() Quote:
![]() Quote:
Mostly hard-coded in FS-UAE. But I always add the native fullscreen resolution (and the window resolution you started FS-UAE with). I'll add 1920x1080 to the list of built-in resolutions so it's always available (when I get it to work again). |
||||
![]() |
![]() |
#56 |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Hmm, it looks like 1920x0180x32 works if I also enable some Zorro III memory. (RTG RAM is then moved to memory address 0x50000000 - may or may not be relevant, or maybe the graphics driver simply needs sufficient amount of fast RAM?)
|
![]() |
![]() |
#57 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 472
|
|
![]() |
![]() |
#58 | |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
You need slightly more than 8 MB for full HD (1980 * 1080 * 4 / (1024 * 1024.0)) and slightly less than 32 MB for 3840x160 (3840 * 2160 * 4 / (1024 * 1024.0)). This is for the framebuffer itself. The picasso driver might need additional memory. EDIT: Pushed a commit fixing 8-bit and 16-bit modes. |
|
![]() |
![]() |
#59 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 472
|
OK, so there's a bug somewhere. For me 4k works only with 128MB, but not with 64MB. (with or without Z III mem). Does it make sense to find the exact amount where it stops working?
Edit: That was a stupid question -> can't set something in between. Last edited by jbl007; 18 May 2019 at 17:39. |
![]() |
![]() |
#60 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 472
|
Nice, seems to work fine now.
![]() Full hd still doesn't work for me, now I have the following available: 1384x1080 1900x1030 1919x1026 Edit: Just noticed WinUAE sets z3mem_start=0x40000000and FS-UAE defaults to z3mem_start=0x10000000 Last edited by jbl007; 18 May 2019 at 17:58. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
Help for code an effect called "Blitter Tornado" | Powergoo | Coders. Asm / Hardware | 9 | 21 September 2015 04:16 |
Mediator A1200 "Hardware ID code missing..." | Bamiga2002 | support.Hardware | 63 | 28 June 2013 20:30 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
ANSI control-code (?) bug in "all" AsmOne versions under Kick 2.0+ | Photon | support.WinUAE | 4 | 17 July 2011 19:29 |
|
|