- DosBox-1_0_0_1.zip (1.31 MB, 57 views)
-
-
- I don't recall where I got it but I just installed the 1011 dosbox that I've had on my playbook on the z10. It appears to work but the font size is a bit TINY! Vern Buerg's List opened on the 2013 DEVICE!!! Still amazing.10-04-13 08:05 PMLike 0
-
-
Or did you get the Bar file from the PlayBook?
Posted via CB1010-05-13 08:09 PMLike 0 - It is a version that was floating around, I think, before it appeared in appworld. The issue is that I canNOT read the Labels at the top and bottom which show function keys and cursor/mouse things. They are blurred or something. And bringing up the keyboard is hit and miss. There may be better versions.
Actually, I just found a version in appworld - dosbook BUT it appears to have similar problems to what I observed. I can't get the keyboard up at all and the "buttons" are again blurred. It is probably designed for the q10!10-05-13 09:25 PMLike 0 - It is a version that was floating around, I think, before it appeared in appworld. The issue is that I canNOT read the Labels at the top and bottom which show function keys and cursor/mouse things. They are blurred or something. And bringing up the keyboard is hit and miss. There may be better versions.
Actually, I just found a version in appworld - dosbook BUT it appears to have similar problems to what I observed. I can't get the keyboard up at all and the "buttons" are again blurred. It is probably designed for the q10!
I'm not sure how to address the keyboard issue. Hopefully A7omic can help!
Posted via CB1010-06-13 12:13 PMLike 0 - I'm have a Q10 on Rogers in Ontario and Dosbox isn't showing up in appworld. If think the problems with the keyboard overlay can be addressed by changing the button size in the sdl-controls.xml file.
I'm not sure how to address the keyboard issue. Hopefully A7omic can help!
Posted via CB1010-08-13 05:16 PMLike 0 - Just a bump. Anyone got any info on getting this going on a z10. I can bring up the internal keyboard, but it doesn't work. Tried to look for the config/xml files but couldn't find them. I checked out the source, and it defaults to the current working directory, so I guess it has a config installed with it. Would really like to get this working - new to BB, so I don't know how to delve much deeper yet.
Cheers.11-03-13 08:43 PMLike 0 - I haven't been able to find any DosBox bar files and it doesn't show up on AppWorld for a Q10. So I decided to build it myself, starting here:
DosBox – From GitHub to Your PlayBook | Open BlackBerry News
It builds, but this is a world of pain. Both master and next branches work, although badly (next is slightly better).
First, IMHO, the documentation for the 10.2 API plain sucks. For instance... if a keyboard event is raised, it is accompanied by some flags. WTF do they mean? Any pointers to decent documentation are welcome. Maybe it's me and I need to learn to use Google as someone suggested above (yeah, right.)
Second, I can't believe that the github projects have not seen noticeable activity in last two years. Especially regarding the SDL project which is critical to make this work. Anyways, not complaining; that's why I decided to try fix it myself. It does raise the question whether SDL has a future w/BB10 or not.
Third, the Q10 hardware is a PITA. One of the first issues seems to be that buffered 8-bit screen support is gone (works on PlayBook). Could be SDL, could be me... definitely the crappy documentation doesn't help. Managed to work around it to get it booting, but hopefully not at the expense of CGA/EGA/VGA emulation (not there yet). The keyboard is also a royal pain. Scan codes are all messed up, and SDL has no support for the "sym" key (which the PlayBook does not need). Just figured a workaround for it but it is messy.
Anyways, got to work for a living so no much time available for this. Good news is that it is easy to build and test. If anyone has C++ expertise and pointers on where to get decent documentation or deal with the issues above, please do let me know. Happy to divide and conquer.
Cheers!11-30-13 11:05 PMLike 0 - JDoeMT - good luck. The version I've loaded does not look right on the Z10's screen as I noted above.11-30-13 11:51 PMLike 0
- It works! Well... sort of.
The version I've loaded does not look right on the Z10's screen
Audio works... screen works... game is unplayable because keyboard has no arrow keys nor modifiers, but it responds to the space bar. I'll play with some mappings tomorrow if I have a chance. I still have an "extra" key to work with: the $. The designer for the Q10 keyboard must have thought every email had to be about dollars as to give it it's own key. If I got "sym" to work, I can find a use for that one.
I have no clue (yet) how to package this build as a *.bar and how to post it here (or elsewhere). Once I figure that up I'll post it for someone to give it a try. Beware, though... I have a Q10, so no clue how this might behave on a Z10 (or Z30, or Q5, or anything else). I have no "virtual keyboard" although if the issue is related to the 8-bpp issue there might be an easy way out. It would be awesome if you could post a screenshot to see how bad it is. Anyways, at least it's freshly compiled on BB10.2 and I can step through the code.
Cheers!12-01-13 12:19 AMLike 0 - Got keyboard working. It needed changes to the SDL code. The build I ended up with is a Q10 exclusive (haven't tested it w/a Z10 or the emulator).
It doesn't work perfectly. I have modified the mappings and I can get most keys of a 101-key keyboard, but I ran out of options to emulate the F keys.
I am now able to play Warcraft II (that's how I got embroiled in this - it was a challenge) but it's slowish (faster now that I built a release version) and addicted to battery juice. Mouse emulation is also weak. More changes are needed in the SDL layer. Right now you can only "click" or "click + move" but there is no way to just "move" or to "drag". Right click is impossible (haven't thought a way to implement it.) Will make a small fix soon to allow "moves" independently from a "click".
Latest code also fixes orientation. Nice to see from video above that is messed up in Z10 too. I thought it was a Q10 problem.
Unfortunately work comes first, so I'm not touching it anymore until I get some more free time. I uploaded the *.bar in case anyone is interested but I refuse to support the app in case of bugs, issues, bad karma, weight loss or anything else. It will give you some functionality but you need the keyboard mapping file that I will attach later (need to get it out of the phone first).
Pics:
Attached FilesLast edited by JDoeMT; 01-07-14 at 10:31 AM. Reason: Attached BAR file, fixed typos & too many images
01-06-14 02:13 PMLike 2 - Config and map files attached.
They should be unzipped and copied to<device>:/accounts/1000/shared/misc/.dosbox/ I do not know how to make them part of the BAR file to make it easier for anyone interested. If I figure it out I will update the BAR and remove this note. My suggestion is to download the Momentics IDE, use the QNX System Information perspective and load them there once the BAR is installed.
Without these files, it will still work, but:
- Keyboard is only uppercase/lowercase. No ":" or "\" so pretty impossible to navigate DOS.
- No directory auto mounted, so nothing much to do one DosBox starts
If you give it a try, please let me know how it goes.
I will also try package the changes I have done and post somewhere, but unsure how or where. The SDL code repository has not been touched in like two years, so I doubt anyone is home.Attached Files- dosbox-0.74.zip (4.0 KB, 44 views)
- mapper-0.74.zip (884 Bytes, 42 views)
FF22 likes this.01-07-14 10:20 AMLike 1 - Awesome. Good luck. Should work. The Q's screen is 720x720 which doesn't really map to the Z's (the ZED's... ) but I can do some quick adjustments for you.
You will really need the map file (the config you can avoid if you want to, but I recommend it). The .dosbox folder gets created after the first run of the application, where the keyboard will behave badly (but well enough to type "exit" and enter). If you can't even type "exit" without the map file, forget it... means the virtual keyboard of the Z is very different from the real one on the Q (the scancodes are different in that case).
Momentics will let you copy the file via drag & drop. Might be a bit of a pain to install it and then configure it to use your Z10, but probably worth in the longer run if you like to meddle with your phone. If I'm preaching to the choir here, my apologies. If you have a better way of getting a file loaded, please teach me a new trick.
The mappings are what I could do with the keyboard and still find sensible. I wanted to post a diagram but haven't got time to make one. Uppercase/lowercase should work. SYM plus most keys (plus SHIFT) will do what is expected. Notable exceptions are "P" which I mapped to ; & :. SYM plus IJKL (or UHJK, can't remember) gives you arrow keys. $ key is CTRL. It sounds nuts but hopefully you don't want DosBox to run WordStar. ALT is right SHIFT (or LEFT... can't remember). The map file is not terribly intuitive but feel free to open it with a text viewing app (again, I advise against WordStar) to see what was done.Last edited by JDoeMT; 01-07-14 at 02:09 PM.
FF22 likes this.01-07-14 01:12 PMLike 1 - Something just possessed me (spirits - maybe I will imbibe some to assure myself).... I went over to the Google Shop and found a DosBox app and installed it using Snap. It seems to run on the z10 in some basic fashion. I will have to move stuff to its folder and see a bit more. So this was only a preliminary test. I'm not sure if function keys are available yet or not.
Its name is:
adosbox01-07-14 09:45 PMLike 0 -
Most probably your problem is that this folder is invisible to the File Manager, so you will not be able to access it through it. An alternative is to use Momentics (the BB10 development tool) which is a bit of a pain to set up but will let you see the full contents of your phone. Once "connected" to your phone you could try changing the permissions of that folder so it is visible in File Manager.
I have modified the version posted above so that the folder is r/w by everyone and the name is just "dosbox" (no dot). Attached on this post. That way you will see the folder in File Manager and should be able to add the map file and overwrite (or edit) the config file. Cheers!Attached Files- DosBox-1_0_0_1.zip (1.32 MB, 69 views)
Last edited by JDoeMT; 01-21-14 at 03:18 PM. Reason: Found out why folder is not visible.
altaf.s likes this.01-21-14 01:58 PMLike 1 - I have modified the version posted above so that the folder is r/w by everyone and the name is just "dosbox" (no dot). Attached on this post. That way you will see the folder in File Manager and should be able to add the map file and overwrite (or edit) the config file. Cheers!
JDoeMT likes this.01-21-14 09:28 PMLike 1
- Forum
- BlackBerry 10 Phones & OS
- BlackBerry 10 Apps
DOSBox for BB10 Z10 Z30 Q10 Q5
Similar Threads
-
Z10 email malfunction
By lpe.dejong in forum BlackBerry Z10Replies: 7Last Post: 10-04-13, 12:48 PM
LINK TO POST COPIED TO CLIPBOARD