maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Newbie questions: DOSBox and moving around on terminal (https://talk.maemo.org/showthread.php?t=36113)

alabak2002 2009-12-06 23:33

Newbie questions: DOSBox and moving around on terminal
 
Hello:

I'm trying to run an old DOS game on DOSBox.

I've copied the game on a folder on the device and want to mount it as C drive on DOSBox.

/home/user/MyDocs/.documents/PG/

I've found the DOSBox config file, but don't know what I must write there to run that properly.

I hope somebody could help me on this.

Thank you

zemm 2009-12-08 12:56

Re: Newbie questions: DOSBox and moving around on terminal
 
You can mount directories in dosbox with mount command in dosbox command line. For example
mount c /home/user/MyDocs/dosbox
would map given folder as drive C:. You can put commands that are run on startup to the dosbox's config file in section [autoexec]. You can put the mount command in that section and have your folder mounted automatically. You can also put c: to the next line so you would be located at the root of c-drive on startup.

alabak2002 2009-12-08 20:14

Re: Newbie questions: DOSBox and moving around on terminal
 
My problem lays now more on my ability (or lack of) to use vi or even vim. Is there any easier text editor available?.

adrianp 2009-12-09 09:20

Re: Newbie questions: DOSBox and moving around on terminal
 
Quote:

Originally Posted by alabak2002 (Post 417297)
My problem lays now more on my ability (or lack of) to use vi or even vim. Is there any easier text editor available?.

There's PyGTKEditor which is graphical not xterm.

mozr 2009-12-15 12:21

Re: Newbie questions: DOSBox and moving around on terminal
 
Hi.

I cannot not use a forward slash '/' on the keyboard in dosbox, nor the colon come to that ':'

It will not let me paste either.

I have used 'vi' in xterm, pasted the autoexec command, but cannot save the file.

'w' or 'wq' does not seem to work.

Any ideas?

:EDIT:

:wq does work however in command mode.

I am an idiot.

However, even though I have pasted and saved the following

[autoexec]
# Lines in this section will be run at startup.
mount c /data/dosbox
c:

dosbox still fires up with z: as its default dir.

Dammit!

forcer 2009-12-15 13:30

Re: Newbie questions: DOSBox and moving around on terminal
 
Looks like this for me:
(and works)

Nokia-N900-42-11:/home/user/apps# ls -la
drwx------ 2 user users 4096 Dec 14 16:32 .
drwxr-xr-x 49 user users 4096 Dec 15 12:59 ..
-rw-r--r-- 1 user users 10148 Dec 14 22:36 DOSBox 0.73 Preferences.txt

Code:

[autoexec]
# Lines in this section will be run at startup.
mount c /home/user/MyDocs/.documents
c:


mozr 2009-12-15 13:47

Re: Newbie questions: DOSBox and moving around on terminal
 
Hmmm.

I get this:

Nokia-N900-42-11:/home/user/apps# ls -la
drwx------ 2 user users 4096 Dec 15 13:39 .
-rw-r--r-- 1 user users 10109 Dec 13 11:16 DOSBox 0.73 Preferences.txt

should my next command be:

Nokia-N900-42-11:/home/user/apps# vi DOSBox 0.73 Preferences.txt

is your file empty when you paste the autoexec?

ta.

forcer 2009-12-15 14:12

Re: Newbie questions: DOSBox and moving around on terminal
 
no, file is not empty, it's already configured, this is the end of the file.

and yeah I edited it using vi.

mozr 2009-12-15 14:25

Re: Newbie questions: DOSBox and moving around on terminal
 
Hmm.

I don't know whats happening.

My config file must be screwed.

Ghule 2009-12-15 16:46

Re: Newbie questions: DOSBox and moving around on terminal
 
Wow. I think getting dosbox working is the best emulator yet on my n900. Just tried out the old Prince of Persia and it worked great.


All times are GMT. The time now is 05:12.

vBulletin® Version 3.8.8