Re: Porting puNES emulator on OpenBSD

2018-08-28 Thread FHorse Author
Hi Anthony Anthony J. Bentley wrote: > One issue: on one machine I tested, OpenBSD has no audio driver. When I > start the emulator, it exits with this message: > > sio_open() failed > > It would be nice to just proceed without audio, as if I'd specified > "punes -a off". I've fixed in the

Re: Porting puNES emulator on OpenBSD

2018-08-19 Thread FHorse Author
You are absolutely right. Thank you for your suggestion. https://github.com/punesemu/puNES/tree/openbsd

Re: Porting puNES emulator on OpenBSD

2018-08-19 Thread FHorse Author
I have attached the new patch in which I added the sndio support. I developed it on my linux box and it works perfectly but tested on the virtual machine it didn't help me much, the virtual system is too slow to get usable feedback. Fabio Cavallo diff --git a/autogen.sh b/autogen.sh index

Re: Porting puNES emulator on OpenBSD

2018-08-18 Thread FHorse Author
Juan Francisco Cantero Hurtado wrote: > Also, you can use SDL for the audio part. I prefer not. Initially I used the SDL for audio, video and input but after I have preferred to gradually use the native stacks for two reasons: performance and for study purposes. Now I use the SDL only in the

Re: Porting puNES emulator on OpenBSD

2018-08-18 Thread FHorse Author
Hi Brian > Does puNES not work on non-x86 archs? To tell the truth I do not know. Mine is a home-made project done in my spare time and, at least initially, with the aim of learning to program in C. I've never had other architectures and so I've never been able to try. > When it comes time to

Porting puNES emulator on OpenBSD

2018-08-17 Thread FHorse Author
Greetings to the community, I'm the author of puNES emulator (https://github.com/punesemu/puNES) and I was thinking of doing the porting on OpenBSD (at least 386 and amd64 arch). I've started working on it over these two days, I've installed OpenBSD 6.3 on a virtual machine and after some