English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 22 May 2018, 20:05   #1241
gunstarrhero
Registered User

 
Join Date: May 2018
Location: North America
Posts: 12
when are you gonna take out the emulation layer

do you think youll be removing the emulation layer of the 68k from win-uae/fs-uae and use actual hardware instructions to point out on the board so we can use a raspberry pi with linux/winuae on it in place of the operating system on the native hardware? winuae could allow us to run our machines direct to specification, unless you are willing to point out the rest of the hardware as an override or direct fault. if that could be made possible we could just use raspberry pi with a ghz clock and add an fpga, and we have the option of update cores or even powerpc rom installed on it to mimic ppc, this would allow us to get our native machines up onto the 4.1 level and morph level; i know there are ways to do this already, the amiga platform could use something like this to cut back cost and expenses, vampire are too god damn expensive, and raspberry pi is quick to emulate the amiga, just not the fpu level, so why not burn a 68882 on the fpga, or use the fpga as a 68060 mmu and fpu solution? what about conflicts? doesnt winuae support board hardware as native state as the system.... within, well within reason? im surprised no one else even thought of this, if they did, theyve been aweful quiet, what about running kickstart from the pi as well, dont need to, just a thought. its sitting right there for everyone to see, all the options and the direct means to operate the computer, even if emulated some at a higher fruition with native support.
gunstarrhero is offline  
AdSense AdSense  
Old 08 June 2018, 08:39   #1242
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 232
I have just upgraded LLVM to 6.0 on my Linux, and I can't compile FS-UAE with it:

Code:
src/blkdev.cpp:758:40: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[10] = {0x4b,0,0,0,0,0,0,0,paused?0:1,0};
                                                     ^~~~~~~~~~
src/blkdev.cpp:758:40: note: insert an explicit cast to silence this issue
                uae_u8 cmd[10] = {0x4b,0,0,0,0,0,0,0,paused?0:1,0};
                                                     ^~~~~~~~~~
                                                     static_cast<uae_u8>( )                                                                                                                                          
src/blkdev.cpp:896:32: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                             ^~~~~~~~~~~
src/blkdev.cpp:896:32: note: insert an explicit cast to silence this issue
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                             ^~~~~~~~~~~
                                             static_cast<uae_u8>( )                                                                                                                                                  
src/blkdev.cpp:896:45: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                          ^~~~~~~~~~~
src/blkdev.cpp:896:45: note: insert an explicit cast to silence this issue
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                          ^~~~~~~~~~~
                                                          static_cast<uae_u8>( )                                                                                                                                     
src/blkdev.cpp:896:58: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                       ^~~~~~~~~~
src/blkdev.cpp:896:58: note: insert an explicit cast to silence this issue
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                       ^~~~~~~~~~
                                                                       static_cast<uae_u8>( )                                                                                                                        
src/blkdev.cpp:896:70: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                                   ^~~~~~~~~~
src/blkdev.cpp:896:70: note: insert an explicit cast to silence this issue
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                                   ^~~~~~~~~~
                                                                                   static_cast<uae_u8>( )                                                                                                            
src/blkdev.cpp:896:85: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                                                  ^~~~~~~~~
src/blkdev.cpp:896:85: note: insert an explicit cast to silence this issue
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                                                  ^~~~~~~~~
                                                                                                  static_cast<uae_u8>( )                                                                                             
src/blkdev.cpp:896:96: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                                                             ^~~~~~~~~
src/blkdev.cpp:896:96: note: insert an explicit cast to silence this issue
                uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 };
                                                                                                             ^~~~~~~~~
                                                                                                             static_cast<uae_u8>( )                                                                                  
src/blkdev.cpp:918:31: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                            ^~~~~~~~~~~
src/blkdev.cpp:918:31: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                            ^~~~~~~~~~~
                                            static_cast<uae_u8>( )                                                                                                                                                   
src/blkdev.cpp:918:44: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                         ^~~~~~~~~~~
src/blkdev.cpp:918:44: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                         ^~~~~~~~~~~
                                                         static_cast<uae_u8>( )                                                                                                                                      
src/blkdev.cpp:918:57: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                      ^~~~~~~~~~
src/blkdev.cpp:918:57: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                      ^~~~~~~~~~
                                                                      static_cast<uae_u8>( )                                                                                                                         
src/blkdev.cpp:918:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                  ^~~~~~~~~~
src/blkdev.cpp:918:69: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                  ^~~~~~~~~~
                                                                                  static_cast<uae_u8>( )                                                                                                             
src/blkdev.cpp:918:81: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                              ^~~~~~~~~~
src/blkdev.cpp:918:81: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                              ^~~~~~~~~~
                                                                                              static_cast<uae_u8>( )                                                                                                 
src/blkdev.cpp:918:93: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                                          ^~~~~~~~~
src/blkdev.cpp:918:93: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                                          ^~~~~~~~~
                                                                                                          static_cast<uae_u8>( )                                                                                     
src/blkdev.cpp:918:104: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                                                     ^~~~~~~~~
src/blkdev.cpp:918:104: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                                                     ^~~~~~~~~
                                                                                                                     static_cast<uae_u8>( )                                                                          
src/blkdev.cpp:934:31: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                            ^~~~~~~~~~~
src/blkdev.cpp:934:31: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                            ^~~~~~~~~~~
                                            static_cast<uae_u8>( )                                                                                                                                                   
src/blkdev.cpp:934:44: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                         ^~~~~~~~~~~
src/blkdev.cpp:934:44: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                         ^~~~~~~~~~~
                                                         static_cast<uae_u8>( )                                                                                                                                      
src/blkdev.cpp:934:57: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                      ^~~~~~~~~~
src/blkdev.cpp:934:57: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                      ^~~~~~~~~~
                                                                      static_cast<uae_u8>( )                                                                                                                         
src/blkdev.cpp:934:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                  ^~~~~~~~~~
src/blkdev.cpp:934:69: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                  ^~~~~~~~~~
                                                                                  static_cast<uae_u8>( )
src/blkdev.cpp:934:81: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                              ^~~~~~~~~~
src/blkdev.cpp:934:81: note: insert an explicit cast to silence this issue
                uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 };
                                                                                              ^~~~~~~~~~
                                                                                              static_cast<uae_u8>( )
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
EDIT: After applying workaround as the compiler suggest, more problems can be found:

Code:
src/filesys.cpp:342:16: warning: address of array 'uci->ci.rootdir' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        if (uci->ci.rootdir && _tcslen (uci->ci.rootdir) == 0)
                            ~~~~~~~~^~~~~~~ ~~
src/filesys.cpp:2148:77: warning: address of array 'ci->rootdir' will always evaluate to 'true' [-Wpointer-bool-conversion]
                                write_log (_T("HARDFILE: delayed insert %d: '%s'\n"), hfd->unitnum, ci->rootdir ? ci->rootdir : _T("<none>"));
                                                                                                    ~~~~^~~~~~~ ~
src/filesys.cpp:2168:79: warning: address of array 'hfd->ci.rootdir' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        write_log (_T("HARDFILE: delayed eject %d: '%s'\n"), hfd->unitnum, hfd->ci.rootdir ? hfd->ci.rootdir : _T("<none>"));
                                                                                           ~~~~~~~~^~~~~~~ ~
These I would prefer not to fix with a quick&dirty workaround...

Last edited by Romanujan; 08 June 2018 at 09:06. Reason: Additional info
Romanujan is offline  
Old 21 June 2018, 10:23   #1243
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 43
Posts: 1,310
Send a message via ICQ to Foul Send a message via MSN to Foul
@Frode : Maybe time to reach FS-UAE 4.0
Foul is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS-UAE 1.3 Development Series FrodeSolheim support.FS-UAE 376 28 October 2012 17:42
FS-UAE 1.1 Development Series FrodeSolheim support.FS-UAE 214 06 May 2012 13:53
FS-UAE 1.0 Stable Series FrodeSolheim support.FS-UAE 62 01 May 2012 00:15
FS-UAE 1.1 Development Series - Autoscaling problem weiju support.FS-UAE 4 06 April 2012 06:11
E-UAE Development pjhutch support.OtherUAE 1 06 October 2008 02:26

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.09254 seconds with 15 queries