EMMA 02

Compilation

  • Home
  • Download
  • Change Log
  • Help
  • Compilation
    • Windows
    • OS X
    • Ubuntu
    • Fedora
    • openSUSE
  • Forums
  • Tape Conversion
  • Machine Code
    • SYSTEM00
    • CDP1801
    • CDP1802
    • CDP1804
    • CDP1805
    • Differences
  • Pseudo Code
    • AMVBAS
    • AM4KBAS
    • CARDTRAN
    • Chip-8, 8X, ETI-660 & Elf
    • FEL-1
    • FPA-1
    • FPL-2
    • FPL-4
    • GPL-2
    • GPL-3
    • GPL-4
    • GPL-A (2K RAM)
    • GPL-A (2K ROM)
    • ST2
    • ST4
    • STK
    • Test-Word
    • Super-chip
  • XML Code
    • Main Elements
    • I/O
    • System
    • A/D Convertor
    • BASIC
    • Batch wav
    • Bootstrap
    • Cassette
    • CD4536B
    • CDP1851
    • CDP1852
    • CDP1854
    • CDP1855
    • CDP1877
    • CDP1878
    • CDP1879
    • Debugger
    • COMX Diagnostic
    • Dip switch
    • Disk
    • EF Buttons
    • Flip Flop
    • Front Panel
    • GUI
    • HEX Modem
    • I/O Group
    • Keyboard
    • Keyfile
    • Locations
    • Memory
    • MM57109
    • Printer
    • RTC
    • Sound
    • Splash
    • USB
    • Video
    • Videodump
    • vt
    • X Modem
  • BASIC
    • General Information
    • COMX BASIC V1.00
    • Floating Point BASIC 2.2
    • Pecom 32 BASIC
    • Pecom 64 BASIC 1.0 & 4.0
    • Quest Super BASIC 1.4
    • Quest Super BASIC 3.0
    • Quest Super BASIC 5.0
    • Quest Super BASIC 6.0
    • RCA BASIC3 V1.1
    • Telmac SBASIC v24.3
    • Error Messages
  • Computer List

 

 

 

 

 

 

 

 

 

 

 

 

Compile Emma 02 on Windows

These instructions describe how to compile Emma 02 on windows using Visual Studio 2008 or 2015. If you have any problems feel free to drop me an email.

Libraries

Download and compile the libraries described in the following sub chapters.

wxwidgets

Download the latest stable wxwidgets 3.x release from: www.wxwidgets.org.

Open the .sln project for your Visual Express or Studio version, I still use Visual Express 2008 and as such project file wx_vc9.sln. You can find the project files in sub-folder build/msw.

In Visual Express or Studio select either the 'debug' or 'release' build, target machine (win32 or x64) and select 'build solution'.

SDL2

Download the Visual C++ development library for SDL2 from: www.libsdl.org/

Copy the x64 SDL2.dll file to windows\system32
Copy the x86 SDL2.dll file to windows\SysWOW64

This sounds like the wrong way around but apparently this is the way to do it!

Curl

Download curl 7.x from: curl.haxx.se/download.html

Go to the folder projects/Windows/VCx (select the correct 'x' for your Visual Express or Studio version) open curl-all.sln and then build libcurl for 'LIB Debug - DLL Windows SSPI' and 'LIB Release - DLL Windows SSPI', if needed build both for win32 and x64 targets.

libserialport

Pull the latest source from github repository: https://github.com/martinling/libserialport

Open libserialport.sln in Visual Studio and compile for the desired architecture. Store the resulting libserialport.lib in $(SERIALPORT)\Win64\lib and libserialport.h in $(SERIALPORT)\Win64\include (replace Win64 by Win32 for the 32 bit version).

Build Emma 02

Set the WXWIN, SDL, CURL and SERIALPORT variables to the folders used to compile above libraries in the same way as described for WXWIN on: Adding_an_Environment_Variable_under_Windows.

Pull the latest source package from the github repository https://github.com/etxmato/emma_02

Now open the 'Emma 02 vc9.sln' (for VS 2008) or 'Emma 02 vc17.sln' (for VS 2022) file and build the desired Emma 02 package (X64 or x86, release or debug) find the generated 'Emma 02.exe'.

During any of the above compilation action you might get some warnings which should not cause any problems.