KitchUK
Posts: 256
Joined: Fri Jul 19, 2013 5:40 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.16 released

Tue Mar 11, 2014 6:05 pm

Is rpix86 compatible with and Xbox 360 controller?

VincentB
Posts: 4
Joined: Sat Mar 08, 2014 2:52 pm
Location: Friesland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.16 released

Mon Mar 17, 2014 8:14 am

@Pate: Thank you for your welcome. And great that it could be possible: Here is how the controllers show up:

I have two of the same controllers, speedlink thunderstrike (not the best :-) ) on controller shows up like:

in the dev/input map it shows up like "js0" and "event3" (also have mouse and keyboard) and in dev/input/by-path it shows up like "platform-bcm2708_usb-usb-0:1.3.2:1.0-joystick" and "platform-bcm2708_usb-usb-0:1.3.2:1.0-event-joystick" and in dev/input/by-id as "usb-DragonRise_Inc._Generic_USB_Joystick-joystick" and "usb-DragonRise_Inc._Generic_USB_Joystick-event-joystick"

The other controller shows up like:

as "js1" and "event4" in dev/input
and as "platform-bcm2708_usb-usb-0:1.3.4.1:1.0-joystick" and "platform-bcm2708_usb-usb-0:1.3.4.1:1.0-event-joystick" in dev/input/by-path
and it isn't really showing up in dev/input/by-id, there are still the same files as with one controller, so in by id there is nog way to see there are two controllers

I hope this is helpfull! If I can do something else, just let me know!
Building a retro home computer with the pi!

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.16 released

Tue Mar 18, 2014 5:28 am

Thanks for the joystick info VincentB! That information should be enough for me to add support for a second joystick.

It looks like my current technique of using the /dev/input/event files for joystick reading is not as compatible as using the /dev/input/js files would be.. I seem to remember I had some trouble using the js files originally, which is why I went to the event file route.. I'll see about adding support for the proper joystick input files, hopefully that would solve the issues with the other joystick-like controllers as well.

Thanks again for your interest in rpix86!

Pate
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

VincentB
Posts: 4
Joined: Sat Mar 08, 2014 2:52 pm
Location: Friesland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.16 released

Wed Mar 19, 2014 11:10 am

@Pate, no problem and great news! I would be happy to test for you :-)
Building a retro home computer with the pi!

User avatar
Oldbitcollector
Posts: 93
Joined: Sun Sep 22, 2013 9:02 pm
Location: Orrville, OH
Contact: Website

Re: rpix86 (Raspberry Pi x86 emulator) version 0.16 released

Wed Apr 02, 2014 3:57 am

I was testing some games which I kept in a "Broken" folder..

Epic Pinball works with this version if you select "Sound Blaster Clone (Stereo)". The keyboard is a little skittish in the menus, but the game works perfectly.

Jeff
My Ongoing Raspberry Pi Reference: http://www.ledgerlabs.us/raspberrypi

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.16 released

Sun Apr 06, 2014 5:22 am

rpix86 version 0.17 released!

This version contains the following fixes and improvements:
- Changed the joystick event file handling to use /dev/input/js? files.
- Implemented support for a second joystick (/dev/input/js1).
- Added support for the freeware game StarGunner by Apogee.

You can download the latest version directly from http://rpix86.patrickaalto.com/rdown.html (be sure to read my blog post about the changes in this version at http://rpix86.patrickaalto.com/rblog.html).

Thank you for your interest in rpix86, let me know of any bugs you encounter!

@VincentB: With this version you should now be able to have two joysticks simultaneously, by giving parameters -j0 -j1
@Vanfanel: I spent some time debugging the slow intro problem in Prince of Persia, but did not find the cause. I have an Easter vacation coming, I hope to continue debugging this during that time.
@All: Note that the joystick support has had a major change, if you use a joystick make sure to check/change your rpix86 command line parameters!
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

VincentB
Posts: 4
Joined: Sat Mar 08, 2014 2:52 pm
Location: Friesland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Mon Apr 07, 2014 12:25 pm

@pate

Great! It works like a charm, finally I can play Whacky wheels with my brother, just like in the olden days :-)

Thank you so much for your work!
Building a retro home computer with the pi!

Botcrusher
Posts: 1
Joined: Sat Jun 28, 2014 1:55 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Sat Jun 28, 2014 2:25 pm

Hello, its about time i register on here. Anyways, i can also confirm wolfenstein 3D works perfectly on rpix86
(After renaming the folder, its a little touchy on non-caps and space,
which i dont really mind.)
Descent 1 and 2 do not load at all, and the installer is broken.
I,ll try to get those logs if i can but i have a bad feeling descent uses virtual memory. It also probably uses some rather advanced rendering in dos, but seriously, if you could manage to make that run, my childhood would be in your debt. Great job so far with rpix86!

User avatar
dperry324
Posts: 17
Joined: Tue Aug 13, 2013 6:27 pm
Location: Houston, TX, USA

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Wed Nov 19, 2014 11:50 pm

Can rpix86 on the Pi B run another flavor of DOS other than 4DOS? I'm having trouble getting 4dos to play well with a standard msdos setup. I'm trying to load nansi.sys (from freedos) and a fossil driver (BNU.SYS) but 4DOS doesn't seem to recognize the CONFIG.SYS file.

Is there some FAQ I can find to help with this?

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Fri Nov 21, 2014 5:09 am

Sorry, but rpix86 does not support .SYS files (or CONFIG.SYS contents in general) at the moment. It does not emulate a proper PC startup/boot sequence, it starts with an inbuilt DOS environment, it just uses 4DOS.COM as a command shell.

It has been my long term plan to enhance my emulation to create an actual virtual machine where you could run whatever OS you wished, but that is still pretty far in the future.

Thank you for your interest in rpix86!

Pate
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

sinacipigi
Posts: 1
Joined: Wed Dec 03, 2014 2:33 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Wed Dec 03, 2014 2:34 pm

Hey Pate, long time fan of your emulators!

Any chance you can add a configurable option for disabling EMS?

I'm trying to play Ultima VII but I can't find a way to disable the EMS memory :(

Thanks! :D

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Fri Dec 05, 2014 6:09 am

Hi sinacipigi, and welcome to the forum!

I don't think there is currently a way to disable EMS, but it does not sound terribly difficult feature to add. I'll add this to my TODO list.

Thanks for your interest in my emulators!

Pate
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

free5ty1e
Posts: 1
Joined: Sun Dec 21, 2014 3:28 am

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Sun Dec 21, 2014 3:31 am

Oh yes, awesome -- please look into providing an option or command line switch to disable EMS! I will finally be able to break out my old copies of Privateer and Ultima 7 and play them on my Pi! Thank you!! :)

User avatar
antiriad
Posts: 107
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Mon Jan 05, 2015 7:13 pm

Hi Patrick!
As usual THANK YOU VERY MUCH for all your great work on rpix86. :)
Unfortunately I have a strange problem with the latest release (or maybe it is a problem of my new keyboard) so I can't enjoy rpix86.

I'm using a Microsoft keyboard that in raspi-config is set as "Microsoft Natural Keyboard Pro USB"... it works well with the console and other emulators, but when I run rpix86 (0.17) and I'm in the DOS prompt with the C dot blinking, I'm unable to write any command, like the keyboard is not responding anymore. I can actually press CTRL+C to quit rpix86, but after that event in the rPi console I can't see anymore the commands I write.
If I reboot, everything work well again, until I load rpix86... any suggestions to solve this problem? :(
Thank you very much (and happy new year!)

Mills
Posts: 1
Joined: Sun Apr 12, 2015 9:22 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Sun Apr 12, 2015 9:27 pm

I'm also having trouble with microsoft keyboard, it does not work when I run rpix86 outside X server. :(

ti84
Posts: 70
Joined: Wed Feb 06, 2013 9:09 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Mon May 11, 2015 7:09 pm

@Pate
I am trying to understand the gles.c program that you have used for your rpix emulator...I am trying to start simple and just output a simple 256x240 screen...it looks like I need a palette of 256 colors (15-bits) and then I should be able to use pixels/memory buffer (8bits index to the palette) for the 256x240 pixel screen. Is that correct? and are you able to do double buffering, if so how do you tie to the vblank? Or am I way off???? I have started with a small program of random colors and all I get is a blank screen.. :(

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Sun May 24, 2015 9:41 am

@ti84: Sorry for the much delayed reply! Yes, the system I use is to have a palette texture (1x256 pixels) and then the actual screen texture (with the texture bytes used as index to the palette texture), with the OpenGL fragment shaders handling the palette texture lookup. For double buffering I use the plain eglSwapBuffers() call, which swaps the visible and back buffers. That handles VSync internally, and that has been a bit of a problem for me, as emulating the VSync is rather difficult without access to the actual VSync time.

@Mills, antiriad: Can you send me information about how the Microsoft Keyboard shows up in the /dev/input directory, like what VincentB did above for the joystick event files? This could help me in determining why rpix86 currently does not see the key presses properly.

I just published a new blog post for rpix86, and hope to release a new version next weekend. Thanks again for your interest in rpix86!

Pate
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released

Sun May 31, 2015 5:14 am

rpix86 version 0.18 released!

This version contains the following fixes and improvements:
- Implemented support for FPU opcodes in Real Mode (Trade Wars 2002).
- Implemented support for Borland RTM DOS Extender (Jazz Jackrabbit, Tyrian 2000).
- Added a new command line switch -noems to disable EMS (Ultima VII).
- Changed the GPIO RS-232 port handling to emulate a null modem cable connection.

You can download the latest version directly from http://rpix86.patrickaalto.com/rdown.html (be sure to read my blog post about the changes in this version at http://rpix86.patrickaalto.com/rblog.html).

Thank you for your interest in rpix86, let me know of any bugs you encounter!

Pate
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

User avatar
ulysess
Posts: 304
Joined: Thu Aug 02, 2012 6:35 am
Location: Spain
Contact: Website

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Mon Jun 01, 2015 5:35 pm

I must to say... Ultima VII?!!

THANK YOU SO MUCH!
Mis apuntes de...Raspberry Pi: http://misapuntesde.com
Google Docs RPi: http://goo.gl/Iwhbq

ti84
Posts: 70
Joined: Wed Feb 06, 2013 9:09 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Mon Jun 01, 2015 5:42 pm

Pate

Thank you for the reply...I just got my simple test program running...but I have no idea on how to tie to the vsync or keep the frame rate at 60 fps...do you have any code that you can share...is there a simple timer for 16ms? Any help is appreciated

elthore
Posts: 1
Joined: Wed Jun 10, 2015 11:44 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Wed Jun 10, 2015 11:49 pm

Im also having an issue getting key input response from rpix86 running with retropie3.

I remember having this work on a previous install but for the moment I cant seem to get any keys working(besides ctrl-c).

Games seem to load, there is a serious issue with the sound in fallout which seems to work in dosbox albeit unplayably slow.

Please fix, this is the fastest dos emulation around, its really unlocking a massive pile of gaming options for raspi...amazing!

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Fri Jun 12, 2015 4:28 am

@ti84: Sorry, I don't think I have anything better to share than my http://rpix86.patrickaalto.com/gles_video.c example.. It has the VSync synchronization in the last routine. That eglSwapBuffers call forces the framerate to 60Hz.

Code: Select all

void gles_draw(uint16_t *pixels)
{
	gles2_Draw(screen_width, screen_height, pixels);
	eglSwapBuffers(display, surface);
}
@elthore: Welcome to the forum, and thanks for the compliments! About the keyboard problem, I am still waiting for someone to provide me a view of their /dev/input folder contents, to see if I can determine what the problem might be. It is also possible that I would need some other info to fix this problem, as I currently have no idea what might cause it.
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

shockdesign
Posts: 2
Joined: Wed Jun 17, 2015 10:06 am

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Wed Jun 17, 2015 10:09 am

Hello Patrick,

Thanks, following the guide, this works quite well. However I have a few issues running software I wrote back in 1998..

I seem to hit upon the Unsupported SB DSP command, with the command 90.. Is there anything I can do to build a custom build to ignore any of these, or would you be able to fix that?

Cheers,
Raj

Pate
Posts: 115
Joined: Tue Feb 05, 2013 9:04 am
Location: Finland

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Wed Jun 17, 2015 6:30 pm

Hi Raj, welcome to the forum!

Sorry, those errors are something that I need to fix. I'll see about adding support for that DSP command in the next version. If you still have the sources for your software, perhaps you could check all the SB DSP commands you used and let me know, so I can make sure I handle all of them in the next version?

Thanks for your interest in rpix86!

Pate
Now working on piro: http://piro.patrickaalto.com
See my rpix86 project at http://rpix86.patrickaalto.com

bigrip
Posts: 2
Joined: Fri Jun 19, 2015 10:36 pm

Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released

Fri Jun 19, 2015 10:44 pm

hi
i have a problem my keyboard is not working,i use a apple wireless keyboard and a asus bt-400 bluetooth usb dongle.
i have tried to copy the files in /dev/input to a usb stick to send it but this not work.
in my /dev/input folder i have 5 files : event0 ,event1,event2,mice,mouse0 and 2 folder by-id , by-path.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 14 guests