User Tools

Site Tools


wswan:tutorial:testing_emulator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wswan:tutorial:testing_emulator [2025/12/31 09:53] – created asiewswan:tutorial:testing_emulator [2026/04/12 11:57] (current) asie
Line 5: Line 5:
 As homebrew produced by Wonderful requires a somewhat higher degree of accuracy than most emulators provide, please try to stick to emulators listed here. As homebrew produced by Wonderful requires a somewhat higher degree of accuracy than most emulators provide, please try to stick to emulators listed here.
  
-If you don't feel like reading the whole page, just download [[https://github.com/SourMesen/Mesen2|Mesen 2]].+If you don't feel like reading the whole page, just download [[https://github.com/nesdev-org/MesenCE|Mesen CE]].
  
-===== Mesen =====+===== Mesen CE =====
  
-The best emulator for Wonderful development is [[https://github.com/SourMesen/Mesen2|Mesen 2]]. It features leading accuracy and the most extensive low level debugging functionality.+The best emulator for WS/WSC development is [[https://github.com/nesdev-org/MesenCE|Mesen CE]], a fork of Sour's Mesen 2. It features leading accuracy and the most extensive low level debugging functionality.
  
 {{ :wswan:tutorial:mesen2.png?direct&600 |}} {{ :wswan:tutorial:mesen2.png?direct&600 |}}
  
-You can download Mesen [[https://github.com/SourMesen/Mesen2|here]].+You can download Mesen CE [[https://github.com/nesdev-org/MesenCE|here]].
  
 ===== wf-mednafen ===== ===== wf-mednafen =====
Line 19: Line 19:
 wf-mednafen is a fork of [[https://mednafen.github.io/|Mednafen]]. It features a variety of emulation fixes, as well as debugger UI improvements from the [[https://github.com/pce-devel/mednafenPceDev|mednafenPceDev]] fork. wf-mednafen is a fork of [[https://mednafen.github.io/|Mednafen]]. It features a variety of emulation fixes, as well as debugger UI improvements from the [[https://github.com/pce-devel/mednafenPceDev|mednafenPceDev]] fork.
  
-Even with those fixes, its accuracy is behind Mesen 2 or Ares, but it *doesprovide [[https://mednafen.github.io/documentation/debugger.html|a debugger]]. In addition, it has some features which are missing from Mesen 2, in particular UART port and WonderWitch cartridge emulation.+Even with those fixes, its accuracy is behind Mesen 2 or Ares, but it //does// provide [[https://mednafen.github.io/documentation/debugger.html|a debugger]]. In addition, it has some features which are missing from Mesen 2, in particular UART port and WonderWitch cartridge emulation.
  
-You can download wf-mednafen [[https://github.com/WonderfulToolchain/wf-mednafen/releases|here]].+You can download wf-mednafen [[https://codeberg.org/WonderfulToolchain/wf-mednafen/releases|here]].
  
 ==== Exposing the UART port on Linux ==== ==== Exposing the UART port on Linux ====
Line 29: Line 29:
 First, create a script in a fixed location of choice on your hard drive (for example, ''%%/home/myuser/ws_serial.sh%%''): First, create a script in a fixed location of choice on your hard drive (for example, ''%%/home/myuser/ws_serial.sh%%''):
  
- #!/usr/bin/env bash +  #!/usr/bin/env bash 
- PATH=$HOME/.wine/dosdevices/com1 +  PATH=$HOME/.wine/dosdevices/com1 
- socat PTY,link="$PATH",echo=0 STDIO+  socat PTY,link="$PATH",echo=0 STDIO
  
 Make sure to set PATH to the location you want the UART socket file to be present; the default suggested above will expose the port as the COM1 serial port to Windows programs, such as TransMagic, in WINE. Make sure to set PATH to the location you want the UART socket file to be present; the default suggested above will expose the port as the COM1 serial port to Windows programs, such as TransMagic, in WINE.
Line 37: Line 37:
 Next, edit ''%%~/.mednafen/mednafen.cfg%%'' and edit the following options: Next, edit ''%%~/.mednafen/mednafen.cfg%%'' and edit the following options:
  
- wswan.excomm 1 +  wswan.excomm 1 
- wswan.excomm.path /home/myuser/ws_serial.sh+  wswan.excomm.path /home/myuser/ws_serial.sh
  
 From now on, after launching wf-mednafen, the UART port should be available under this socket file. Note that wf-mednafen restarts will invalidate the file, requiring a restart of the program on the other side. From now on, after launching wf-mednafen, the UART port should be available under this socket file. Note that wf-mednafen restarts will invalidate the file, requiring a restart of the program on the other side.
wswan/tutorial/testing_emulator.1767174780.txt.gz · Last modified: by asie