Moderators: Mug UK, Steem Authors, Moderator Team
trondis23 wrote:Is there any chance that this could run on a Raspberry Pi?
Code: Select all
Steem SSE 3.7.0 release notes
_______________________________
Additional Unix notes
----------------------
Important to know about the Unix build of Steem SSE: there are fewer features
than on the Windows build. This is caused by limited time.
So for the moment there's no:
- Drive sound
- Support for CTR, IPF, STX disk images
- Display size option (larger borders)
- Status info in the tool bar
- Clipboard, associations, disk manager improvements...
But many features could be implemented without too much trouble, like
all CPU, MFP, PSG, Shifter, etc. improvements, HD6301 true emu, drive
track display, and STW disk support, so that's not too bad.
Here are the features of v3.7 that didn't make it:
- "STG" ghost disks (no use)
- Support for PRG and TOS files
- D3D fullscreen, of course
- Joystick jump button
- CPU 'HALT' behaviour
christos wrote:Hi,
I am running XSTEEM on my Ubuntu PC and I have a problem with the auto folder. It won't run programs in my C: from the auto folder. Unless I am missing some setting it's probably a bug.
TOS 2.06UK and STE 8MHz (ST standard).
Code: Select all
../steem/code/loadsave_emu.cpp: In function ‘int LoadSaveAllStuff(FILE*, bool, int, bool, int*)’:
../steem/code/loadsave_emu.cpp:977:38: erreur: ‘struct TWD1772’ has no member named ‘prg_phase’
if(LoadOrSave==LS_LOAD && WD1772.prg_phase>TWD1772::WD_READY)
Commit [r383]
correct name SSESCP->SSEScp for Unix build
Code: Select all
gcc -c ../3rdparty/6301/6301.c -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DSTEVEN_SEAGAL -o./obj/6301.o
In file included from ../3rdparty/6301/6301.h:43:0,
from ../3rdparty/6301/6301.c:6:
../steem/code/SSE/SSEDecla.h:47:24: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
typedef signed __int8 int8_t;
Code: Select all
#ifdef MINGW_BUILD
#include <stdint.h>
#else // for CAPS, HFE
typedef signed __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef signed __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef signed __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
Code: Select all
g++ -o ./obj/main.o -c ../steem/code/main.cpp -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DUNIX -DLINUX -DSTEVEN_SEAGAL -DNO_PORT_AUDIO
In file included from ../steem/code/SSE/SSEFloppy.h:46:0,
from ../steem/code/floppy_drive.cpp:24,
from ../steem/code/main.cpp:92:
../steem/code/SSE/SSEHfe.h:7:37: erreur fatale: hfe/libhxcfe.h : Aucun fichier ou dossier de ce type
#include <hfe/libhxcfe.h> //3rdparty
npomarede wrote:Hi
I checked rev 383,some fixes, but some new bugs
3rdparty worked before but now it failed :Code: Select all
gcc -c ../3rdparty/6301/6301.c -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DSTEVEN_SEAGAL -o./obj/6301.o
In file included from ../3rdparty/6301/6301.h:43:0,
from ../3rdparty/6301/6301.c:6:
../steem/code/SSE/SSEDecla.h:47:24: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
typedef signed __int8 int8_t;
The problem is that you changed in SSEDecla.h :Code: Select all
#ifdef MINGW_BUILD
#include <stdint.h>
#else // for CAPS, HFE
typedef signed __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef signed __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef signed __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
You include stdint.h for mingw, but for linux it should be included too. If I force an include of stdint, then 3rdparty compiles fine.
For main part, the compilation now fails on HFE :Code: Select all
g++ -o ./obj/main.o -c ../steem/code/main.cpp -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DUNIX -DLINUX -DSTEVEN_SEAGAL -DNO_PORT_AUDIO
In file included from ../steem/code/SSE/SSEFloppy.h:46:0,
from ../steem/code/floppy_drive.cpp:24,
from ../steem/code/main.cpp:92:
../steem/code/SSE/SSEHfe.h:7:37: erreur fatale: hfe/libhxcfe.h : Aucun fichier ou dossier de ce type
#include <hfe/libhxcfe.h> //3rdparty
there's no hfe/ in 3rdparty, are we supposed to download it ourselves ? Or can it be disabled ?
Commit [r384]
hfe 3rd party files
Code: Select all
gcc -c ../3rdparty/6301/6301.c -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DSTEVEN_SEAGAL -o./obj/6301.o
In file included from ../3rdparty/6301/6301.h:43:0,
from ../3rdparty/6301/6301.c:6:
../steem/code/SSE/SSEDecla.h:36:24: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8_t'
typedef signed __int8 int8_t;
Code: Select all
gcc -c $(ROOT)/3rdparty/6301/6301.c $(CFLAGS) -DSTEVEN_SEAGAL -o./obj/6301.o $(STEEMFLAGS)
Code: Select all
gcc -c ../3rdparty/6301/6301.c -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DSTEVEN_SEAGAL -o./obj/6301.o -DUNIX -DLINUX -DSTEVEN_SEAGAL -DNO_PORT_AUDIO
In file included from ../steem/code/SSE/SSEDebug.h:14:0,
from ../3rdparty/6301/6301.c:8:
../steem/code/../pch.h:175:12: erreur: conflicting types for 'random'
extern int random(int);
Code: Select all
long int random(void);
Code: Select all
#ifndef random
#define random(n) (rand() % (n))
Code: Select all
libtool: link: g++ -o ./output/steem -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -w -Wfatal-errors -fpermissive ./obj/asm_draw.o ./obj/emu.o ./obj/asm_osd.o ./obj/main.o ./obj/helper.o ./obj/resource.o ./obj/SSE.o ./obj/SSEOption.o ./obj/SSEMMU.o ./obj/SSE6301.o ./obj/SSECpu.o ./obj/SSEDebug.o ./obj/SSEFrameReport.o ./obj/SSEShifter.o ./obj/SSESTF.o ./obj/SSEVideo.o ./obj/SSEFloppy.o ./obj/SSEWD1772.o ./obj/SSEDrive.o ./obj/SSEDisk.o ./obj/SSEYM2149.o ./obj/SSEDma.o ./obj/SSESTW.o ./obj/SSEGlue.o ../3rdparty/zlib/crc32.o ../3rdparty/zlib/inflate.o ../3rdparty/zlib/adler32.o ../3rdparty/zlib/trees.o ../3rdparty/zlib/inffast.o ../3rdparty/zlib/inftrees.o ../3rdparty/zlib/deflate.o ../3rdparty/zlib/zutil.o ../3rdparty/zlib/compress.o ../3rdparty/zlib/contrib/minizip/unzip.o ../3rdparty/zlib/contrib/minizip/ioapi.o ../3rdparty/rtaudio/tests/Release/RtAudio.o ../X-build/obj/6301.o ../X-build/obj/dsp.o ../X-build/obj/div68kCycleAccurate.o -lasound -lX11 -lXext -lpthread -lXxf86vm
./obj/main.o: In function `TFloppyImage::SetDisk(EasyStr, EasyStr, BPBINFO*, BPBINFO*)':
main.cpp:(.text+0x1e49): undefined reference to `TImageSCP::Open(char*)'
main.cpp:(.text+0x2019): undefined reference to `TImageHFE::Open(char*)'
./obj/main.o: In function `TFloppyImage::RemoveDisk(bool)':
main.cpp:(.text+0x5a82): undefined reference to `TImageSCP::Close()'
main.cpp:(.text+0x5ab9): undefined reference to `TImageHFE::Close()'
./obj/main.o: In function `TDiskManager::dir_lv_notify_handler(hxc_dir_lv*, int, int)':
main.cpp:(.text+0x91a8): undefined reference to `TImageHFE::Create(char*)'
./obj/main.o: In function `Initialise()':
main.cpp:(.text+0x6b58a): undefined reference to `THardDiskManager::CheckTos()'
./obj/SSEFloppy.o: In function `__tcf_1':
SSEFloppy.cpp:(.text+0x45): undefined reference to `TImageSCP::~TImageSCP()'
./obj/SSEFloppy.o: In function `__tcf_2':
SSEFloppy.cpp:(.text+0x6c): undefined reference to `TImageHFE::~TImageHFE()'
./obj/SSEFloppy.o: In function `__static_initialization_and_destruction_0(int, int)':
SSEFloppy.cpp:(.text+0xe7): undefined reference to `TImageSCP::TImageSCP()'
SSEFloppy.cpp:(.text+0x127): undefined reference to `TImageHFE::TImageHFE()'
SSEFloppy.cpp:(.text+0x238): undefined reference to `TImageSCP::~TImageSCP()'
SSEFloppy.cpp:(.text+0x271): undefined reference to `TImageHFE::~TImageHFE()'
./obj/SSEWD1772.o: In function `TWD1772Dpll::GetNextBit(int&, unsigned char)':
SSEWD1772.cpp:(.text+0x73e): undefined reference to `TImageSCP::GetNextTransition(unsigned char&)'
./obj/SSEWD1772.o: In function `TWD1772::OnUpdate()':
SSEWD1772.cpp:(.text+0x1ab5): undefined reference to `TImageSCP::LoadTrack(unsigned char, unsigned char, bool)'
SSEWD1772.cpp:(.text+0x1b18): undefined reference to `TImageHFE::LoadTrack(unsigned char, unsigned char)'
SSEWD1772.cpp:(.text+0x1d93): undefined reference to `TImageSCP::LoadTrack(unsigned char, unsigned char, bool)'
./obj/SSEWD1772.o: In function `TWD1772::WriteCR(unsigned char)':
SSEWD1772.cpp:(.text+0x2e75): undefined reference to `TImageSCP::LoadTrack(unsigned char, unsigned char, bool)'
SSEWD1772.cpp:(.text+0x2ecf): undefined reference to `TImageHFE::LoadTrack(unsigned char, unsigned char)'
./obj/SSEDrive.o: In function `TSF314::Read()':
SSEDrive.cpp:(.text+0xf23): undefined reference to `TImageHFE::GetMfmData(unsigned short)'
SSEDrive.cpp:(.text+0xf8b): undefined reference to `TImageSCP::GetMfmData(unsigned short)'
./obj/SSEDrive.o: In function `TSF314::Write()':
SSEDrive.cpp:(.text+0x12d6): undefined reference to `TImageHFE::SetMfmData(unsigned short, unsigned short)'
SSEDrive.cpp:(.text+0x1346): undefined reference to `TImageSCP::SetMfmData(unsigned short, unsigned short)'
collect2: error: ld returned 1 exit status
Commit [r385]
unix makefile SCP HFE
g++ -o ./obj/SSEHfe.o -c ../steem/code/SSE/SSEHfe.cpp -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DUNIX -DLINUX -DSTEVEN_SEAGAL -DNO_PORT_AUDIO
../steem/code/SSE/SSEHfe.cpp: In member function 'bool TImageHFE::Create(char*)':
../steem/code/SSE/SSEHfe.cpp:71:32: erreur: 'GetEXEDir' was not declared in this scope
EasyStr filename=GetEXEDir();
^
compilation terminated due to -Wfatal-errors.
npomarede wrote:You forgot to modify Makefile.txt to fix 6301.o compilation (flags + remove random() prototype)
For the main program, it now stops before reaching the end :g++ -o ./obj/SSEHfe.o -c ../steem/code/SSE/SSEHfe.cpp -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive -DUNIX -DLINUX -DSTEVEN_SEAGAL -DNO_PORT_AUDIO
../steem/code/SSE/SSEHfe.cpp: In member function 'bool TImageHFE::Create(char*)':
../steem/code/SSE/SSEHfe.cpp:71:32: erreur: 'GetEXEDir' was not declared in this scope
EasyStr filename=GetEXEDir();
^
compilation terminated due to -Wfatal-errors.
Commit [r386]HFE unix GetEXEDir
libtool --tag=CC --mode=link g++ -o "./output/steem" -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -lasound -w -Wfatal-errors -fpermissive ./obj/asm_draw.o ./obj/emu.o ./obj/asm_osd.o ./obj/main.o ./obj/helper.o ./obj/resource.o ./obj/SSE.o ./obj/SSEOption.o ./obj/SSEMMU.o ./obj/SSE6301.o ./obj/SSECpu.o ./obj/SSEDebug.o ./obj/SSEFrameReport.o ./obj/SSEShifter.o ./obj/SSESTF.o ./obj/SSEVideo.o ./obj/SSEFloppy.o ./obj/SSEWD1772.o ./obj/SSEDrive.o ./obj/SSEDisk.o ./obj/SSEYM2149.o ./obj/SSEDma.o ./obj/SSESTW.o ./obj/SSEGlue.o ./obj/SSEScp.o ./obj/SSEHfe.o -lX11 -lXext -lpthread -lXxf86vm ../3rdparty/zlib/crc32.o ../3rdparty/zlib/inflate.o ../3rdparty/zlib/adler32.o ../3rdparty/zlib/trees.o ../3rdparty/zlib/inffast.o ../3rdparty/zlib/inftrees.o ../3rdparty/zlib/deflate.o ../3rdparty/zlib/zutil.o ../3rdparty/zlib/compress.o ../3rdparty/zlib/contrib/minizip/unzip.o ../3rdparty/zlib/contrib/minizip/ioapi.o ../3rdparty/rtaudio/tests/Release/RtAudio.o ../X-build/obj/6301.o ../X-build/obj/dsp.o ../X-build/obj/div68kCycleAccurate.o
libtool: link: g++ -o ./output/steem -I../include -I../steem/code -I../3rdparty -I../3rdparty/dsp -I../3rdparty/6301 -I../3rdparty/zlib/contrib/minizip -I../3rdparty/zlib -I../3rdparty/rtaudio -w -Wfatal-errors -fpermissive ./obj/asm_draw.o ./obj/emu.o ./obj/asm_osd.o ./obj/main.o ./obj/helper.o ./obj/resource.o ./obj/SSE.o ./obj/SSEOption.o ./obj/SSEMMU.o ./obj/SSE6301.o ./obj/SSECpu.o ./obj/SSEDebug.o ./obj/SSEFrameReport.o ./obj/SSEShifter.o ./obj/SSESTF.o ./obj/SSEVideo.o ./obj/SSEFloppy.o ./obj/SSEWD1772.o ./obj/SSEDrive.o ./obj/SSEDisk.o ./obj/SSEYM2149.o ./obj/SSEDma.o ./obj/SSESTW.o ./obj/SSEGlue.o ./obj/SSEScp.o ./obj/SSEHfe.o ../3rdparty/zlib/crc32.o ../3rdparty/zlib/inflate.o ../3rdparty/zlib/adler32.o ../3rdparty/zlib/trees.o ../3rdparty/zlib/inffast.o ../3rdparty/zlib/inftrees.o ../3rdparty/zlib/deflate.o ../3rdparty/zlib/zutil.o ../3rdparty/zlib/compress.o ../3rdparty/zlib/contrib/minizip/unzip.o ../3rdparty/zlib/contrib/minizip/ioapi.o ../3rdparty/rtaudio/tests/Release/RtAudio.o ../X-build/obj/6301.o ../X-build/obj/dsp.o ../X-build/obj/div68kCycleAccurate.o -lasound -lX11 -lXext -lpthread -lXxf86vm
./obj/main.o: In function `Initialise()':
main.cpp:(.text+0x6b5fe): undefined reference to `THardDiskManager::CheckTos()'
Steven Seagal wrote:http://sourceforge.net/p/steemsse/code/388/Commit [r388]
other little unix fix 3.7.2
npomarede wrote:Steven Seagal wrote:http://sourceforge.net/p/steemsse/code/388/Commit [r388]
other little unix fix 3.7.2
Hi, confirmed to work for the main part, working exe is created in output/steem (but this still needs to address the issue with compiling 6301.c and random() prototype)
Users browsing this forum: No registered users and 0 guests