back

by rvz·7y ago·view on hn ↗
> ProjectPSX dosn't use any external dependency and uses rather simplistic C# code.

Very impressive. This makes it more interesting to see how the drawing code and the controls were implemented in addition to the possibility of it being cross-platform if it using .NET Core.

2 comments
It uses System.Windows.Forms and friends. It is a Windows app.
It has like 50 lines of code that are actually platform dependent, from what I can see.

Should be straightforward to port to GTK# or Eto.Forms or something, if one had the inclination.

https://www.mono-project.com/docs/gui/winforms/ might allow this to be ported easily though.
winforms on mono never really worked, and hasn't been updated in about 12 years https://github.com/mono/winforms
While I'm a novice - Looking at this, it doesn't appear to require any porting.
Mesen (for NES) is a good example of a cross-platform C# emulator with a comprehensive debugger UI: https://www.mesen.ca/

(As long as you have Windows or Linux, that is...)