captainys / TOWNSEMU

FM Towns Emulator "Tsugaru"
BSD 3-Clause "New" or "Revised" License
238 stars 17 forks source link

FrontEnds (eg Launchbox) friendlier #40

Open PanosPl opened 2 years ago

PanosPl commented 2 years ago

Could you add a commandline param for fullscreen, a key shortcut for Exit (preferable without confirmation), a simple scanline filter and support for CHD? Sorry for the long list but having an emu for FM after all those years, makes me very intigued. Thank you!

captainys commented 2 years ago

Scanline filter is already in. Start with -SCANLINE15K option to enable it. But, since Towns had scanline only in the 15KHz mode, it takes effect only in 15KHz mode. CD, LS, PWD were something I should have added long time ago. Will be added soon. Full-screen mode is doable, but I never put high priority, and will not be perfect in Linux and macOS because I don't know how to do. Since I'm getting many requests for full-screen mode, I'll do it eventually.

captainys commented 2 years ago

Added support for full screen (-FULLSCREEN option, also choose in the GUI). Works for Windows and Linux. macOS version cannot erase window frame. As far as I studied, to do so I need to destroy and re-create a window, which is too much for me. It's too much pain to write Objective-C code. You can use full-screen mode with the current source, and will be included in the next release.

PanosPl commented 2 years ago

Thank you very much! I will try it once the new release is out. Any chance you could add a "quick exit without confirmation" keyboard shortcut as well?

captainys commented 2 years ago

I've added FORCEQUIT command which calls exit(0) right away. You can assign this command to a key by -HOSTSHORTCUT parameter.

PanosPl commented 2 years ago

Thank you

PanosPl commented 2 years ago

Thanx. I just got the new build. Fullscreen works quite nice (It seems some bottom screen information being cut off. I can provide screenshots if you want). I cannot make the exit key work: Here are my params for Tsugaru_CUI: -HOSTSHORTCUT FORCEQUIT ESC -GAMEPORT0 PHYS0 -SCALE 200 -FULLSCREEN -FREQ 25 -YESWAIT -CD

captainys commented 2 years ago

Host Short-Cut option needs to be -HOSTSHORTCUT key ctrl shift command. In your case,

-HOSTSHORTCUT ESC 0 0 FORCEQUIT

PanosPl commented 2 years ago

Quit works perfectly. Thanx