Skip to content

v2.10b - undock map 1870x725

Compare
Choose a tag to compare
@efa efa released this 22 Jan 20:43
· 1 commit to master since this release

2.10b - 20231203

Changed

  • put WLS files in 'wls' directory, create it if missing
  • if not found locally, download 'The Hobbit' binary, using libcurl
  • get download link from WLconfig.txt config file
  • unzip downloaded file, using libzip
  • make NODL=1 to avoid include and link download and unzip function
  • support for Linux AppImage: save/unzip The Hobbit binary in writable dir
  • when still missing 'The Hobbit' binary show download link and instructions
  • instructions loaded from config file WLCONFIG (file shown in the error)
  • when WL won't start for non SDL reason (eg. miss The Hobbit binary),
    show a dialog box with error, as console errors cannot be seen
  • map resolution 1280x496 increased to 1870x725
  • option -MAP to undock map in a separate window
    connect window X to close also with undocked map
  • switch to C99 fixed size types: uint32_t, uint16_t, uint8_t, int32_t
    Spectrum.h: Uint32 Uint16 Uint8
    WL.c: InitGraphicsSystem(Uint32 WinMode)
    WL.c: main() Sint32
  • remove LockScreen(winPtr); UnLockScreen(winPtr); LockLevel;
  • removed some commented unused blocks
  • read and show SDL version at compile and link time
  • added WL.odg with includes and windows size design
  • renamed GLOBAL_VARS.h to GlobalVars.h and SPECTRUM.h to Spectrum.h
  • use osxcross-dmg(ricorsive findobj) to collect dylib
  • applied my coding style
  • use WLYEAR for copyright

Bugfix:

  • try increased delay to 20 ms between SDLtext to avoid flicker on macOS
  • switched to software rendering as on macOS flicker with red background

Modification to 'z80emu':

  • remember HALT state on different calls. Quit HALT by IRQ or NMI
    z80emu.c: use state->status = Z80_STATUS_FLAG_HALT;
  • fix z80emu.h enum for Z80_STATE's status to support Z80_CATCH_*
  • documented I/O with 16 bit port address for z80emu

Note: .tgz packages require to install dependencies libs. On Debian12 the command is:
'$ sudo apt install libsdl2-image-2.0-0 libcurl4 libzip4'
Note: the package WL2.10b_Lin32_armv7l.tgz is for Raspberry Pi 3B+ @ 32bit, is built with -mfpu=neon optimization and so is not compatible with Raspberry Pi 1 and 2
Note: the package WL2.10b_Lin64_aarch64.tgz is for Raspberry Pi 3B+ @ 64bit. Both packages for Raspberry Pi work only locally like Windows version, so do not work remotely via X protocol/SSH tunnels.
Note: the package WL2.10b_Linux_riscv64_64bit.tgz is for StarFive VisionFive2
RISC-V @ 64bit work via x11 but is really slow as the GPU support for RISC-V is
in development
Note: the package WL2.10b_Z80_WinMxe32.7z is generated linked with Z80 CPU emulator, this is for compatibility with old WL1.x snapshot files, but those snapshots won't work with 64 bit binaries, and are incompatible with current default binary and snapshots, generated with z80emu CPU emulator of all other packages