Poll

Have you ever run Bochs on a VGA Zaurus machine before?

Yes.  It was easy
5 (10.4%)
Yes.  It took a while to figure out and tweak.
7 (14.6%)
No.  Tried, but couldn't get it to work
10 (20.8%)
No. Never Tried.
26 (54.2%)

Total Members Voted: 25

Author Topic: Bochs (x86 emulator) on VGA Zaurus? Anyone?  (Read 36605 times)

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #60 on: June 19, 2004, 07:06:14 pm »
Quote
datajerk - Well, I checked the X/Qt Server Project pages. An over abundance of options & downloads there (G).

Could I possibly persuade you to give us a mini FAQ (here or in its own spin off thread) on which IPKs are needed for minimum xqt installation, some of the Tricks, Traps, Got\'chas & such that you have learned from by your experiences and any other details to help us jump start the learning curve?

TIA!!


Bob,

These are the instructions I followed to install X/Qt.

Download and then install the following packages in this order:
1. xqt-fonts-misc
2. xqt-server
3. glic-locale
4. xbase-etc
5. xlibs
6. xqt-startup-script
8. xbase-client

Some of them should run from SD but I installed all to internal.You\'ll end up with two new icons:

X/QT Server: starts the X/QT server and enables a connection to an external X-server

Start X: starts a local X-server and enabled to run X-programs.

Bill

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #61 on: June 20, 2004, 12:32:29 pm »
Quote
Bob,

These are the instructions I followed to install X/Qt.


Thanks, Bill. I\'ll start downloading packages (G). The previous threads on the topic all seemed to list what packages were loaded by folks having trouble getting their systems running well rather than the IPKs used by those who DID get fully operational installations. Its appears to be a complex subject, and I\'ll take instruction on how to do it right the first time from whom ever has the experience under their belt to share! (G)

THANKS, again!
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #62 on: June 21, 2004, 03:30:27 pm »
Quote
I built the latest version of bochs (2.1.1) and have it running on Xqt.


Have searched and not been able to find Bochs 2.1.1 as IPK for Z. Can you suggest where a copy might be downloaded?

THANKS!
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #63 on: June 21, 2004, 03:33:38 pm »
Yo, Bill. Just to check -

Is glic-locale same as glibc-locale-eucjp or a different package?

Is xbase-client same as xbase-clientS?

Which Bochs version are you running?


TIA!!
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #64 on: June 21, 2004, 04:21:35 pm »
Bob,

Yes, glibc-locale-eucjp is correct. The \"eucjp\" part made me wonder at first, but it works. When you get blackbox running on x/qt, you\'ll see some submenus are japanese.

Also affirmative on xbase-clients. Sorry I wasn\'t crystal clear.

I have not tried running bochs on x/qt yet. But, I would like seeing the project progress to the point of being able to use abiword and gnumeric.

Bill

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #65 on: June 21, 2004, 09:17:56 pm »
Quote
Yes, glibc-locale-eucjp is correct. The \"eucjp\" part made me wonder at first, but it works. When you get blackbox running on x/qt, you\'ll see some submenus are japanese.


After installing the files, the local Xserver just got to the background with the \"X\" and aborted if a key was pressed or the screen tapped.

I have hardcopy of the earlier threads so started trying some of the suggestions from them. Used \"xinit\" & checked for zombie X processes. Still no joy. But the precise error messages from command prompt seemed to be changing.

Finally resorted to one suggestion. Uninstalled glibc-locale-eucjp & xqt-fonts-misc. NOW there were two particular lines immediately before the server shut itself down.

The process could not find either rxvt or blackbox! It seems the startup config does not look for any other window managers (such as fluxbox, which I HAD installed).

Installed blackbox & everything was perfectly copacetic. I\'m sure that I\'ll be able to hunt down where the script looks for rxvt &/or blackbox to change it to fluxbox. BUT, one of the blackbox menu options is to launch other window managers. THAT script was easy to find & I just edited in a line to launch fluxbox FROM blackbox.

Now that its running well, I\'m going to add back in the two uninstalled packages to see what happens. Will report from the front later (G).

Quote
Also affirmative on xbase-clients. Sorry I wasn\'t crystal clear.


Hey, you did great. Its not easy once we start loading a lot of libs & apps to know what is already installed and critical to a later success. (G) Without your help, it would have taken me a LOT longer to figure this puppy out.

Quote
I have not tried running bochs on x/qt yet. But, I would like seeing the project progress to the point of being able to use abiword and gnumeric.

Bill


I\'m not going to try the old Bochs & DOS under XQt because I\'m not sure that it can be shut down gracefully, like dataj\'s later version apparently can. I\'ll see if I can cop an IPK of the new ver somewhere.

Anyhow, folks, if you can\'t get XQt to run after installing all the packages, make SURE that either rxvt or blackbox are installed. Cause you are for dog gone certain NOT gonna get it going without one or the other (or a modified startup script for another of similar nature).

THANKS, again, Bill. You reduced my learning curve tremendously! Much appreciated, amigo!
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #66 on: June 21, 2004, 10:59:42 pm »
Bob,

Great that you got it working and that I was able to help. There\'s nothing better than to know you\'ve helped out.    

I, too, want to run fluxbox, but don\'t know how. I had it installed, but like you said, x/qt looks for blackbox. Blackbox isn\'t all that bad. You can adjust the style a bit from the menus.

I did get gimp going though. It\'s amazing to see it load up, and it\'s not as slow as I thought it would be.

Bill

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #67 on: June 21, 2004, 11:12:40 pm »
Quote
Have searched and not been able to find Bochs 2.1.1 as IPK for Z. Can you suggest where a copy might be downloaded?


http://www.sense.net/zc/bochs/

Recommended settings for your bochsrc files:

Code: [Select]
romimage: file=/usr/local/share/bochs/BIOS-bochs-latest, address=0xf0000

vgaromimage: /usr/local/share/bochs/VGABIOS-lgpl-latest

megs: 1

log: /dev/null

display_library: x


Here are the configure settings I used:

Code: [Select]
./configure

        --host=arm-linux

        --build=i686-linux

        --x-includes=/opt/Embedix/tools/arm-linux/X11R6/include

        --x-libraries=/opt/Embedix/tools/arm-linux/X11R6/lib

        --prefix=$HOME/zaurus/bochs/usr/local

        --enable-config-interface

        --enable-new-pit

        --enable-cpu-level=5

        --enable-icache

        --enable-mmx

        --enable-sb16=linux

        --enable-repeat-speedups

        --enable-guest2host-tlb

        --enable-all-optimizations

        --enable-vbe

        --enable-fpu

        --with-rfb

        --enable-idle-hack

        --without-sdl

        --with-x11

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #68 on: June 24, 2004, 06:44:55 pm »
Quote
Bob,

Great that you got it working and that I was able to help. There's nothing better than to know you've helped out.    

I, too, want to run fluxbox, but don't know how. I had it installed, but like you said, x/qt looks for blackbox. Blackbox isn't all that bad. You can adjust the style a bit from the menus.
Hummm - my last post here seems to have vanished in the conversion. Ah well..

You were a great help, indeed.

I have found 2 ways to run fluxbox in xqt.

You can add it to the blackbox menu at

/opt/QtPalmtop/share/blackbox/menu

by going to the section that launches other window managers, copy the top line & edit the copy line to "fluxbox". Then launch fluxbox from blackbox.

Or by editing

/home/zaurus/.xinitrc

changing the line at the end from blackbox to fluxbox.



THANKS, dataj - you are TOPS!

Not complaining, just bug reporting -

I *have* been able to get the HP-LX CPACK software to run in the newer xqt-bochs v2.1.1 but that version of Bochs has some major bugs that I haven't been able to resolve so far.

- will not recognise HD img files, even when made fresh from bximage

- maps both the ";" & ":" Zaurus keys as ";" so it is impossible to change drives

(ie B: is seen as B;)

terminals in both blackbox & fluxbox see the keys correctly so bochs is the problem

- once the bochs VGABIOS image takes over, bochs becomes larger than the physical screen size.

- a couple others that I don't recall right off the top.

I'm going to have to put this project on hold in order to send my test bed C860 back for repair before the backlight fails entirely. No longer willing to risk putting my mission critical Z at risk of downtime (after that last scare).

But ... "Ah'll be bach!"
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #69 on: June 24, 2004, 08:37:26 pm »
Quote
- will not recognise HD img files, even when made fresh from bximage

I am using the freedos C: HD img without issue.

Quote
- maps both the ";" & ":" Zaurus keys as ";" so it is impossible to change drives

This is a problem with other applications as well.  Xqt keymaps are wrong (they match standard PCs it appears, I plan to fix some day).  You can remap any keys with xmodmap.  Also bochs supports its own keymaps.  (Read bochs docs).

Quote
terminals in both blackbox & fluxbox see the keys correctly so bochs is the problem

Yep.  Look at bochs docs for keymaps.

Quote
- once the bochs VGABIOS image takes over, bochs becomes larger than the physical screen size.

VGA text mode is 720x400 resolution.  VGA fonts are 8x16, however an extra pixel is added to the 8 for the space between fonts, except the special line drawing fonts.  It is strange how it work.  (8+1)*80 = 720.

If you run dosemu you will notice that the X VGA fonts are truely 8 pixels (7 for the char and include the space).  So I need to take the X VGA font and convert to bochs format and redo some code to fix that.  I am dumping the X version and working on the SDL version.  With the SDL version I should have more control over the keys as well.  Don't expect anytime soon.

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #70 on: July 03, 2004, 09:31:25 pm »
ehm... and what about trying to run Sensible Soccer? it's small, light and really addictive

Anyone did it?

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #71 on: July 08, 2004, 12:40:35 pm »
Quote
QUOTE 
I need some DOS code to test.  I will builld a PC DOS 7 image later as well.


What type DOS stuff you want? I still have tons of old shareware - freeware CDs stacked up (G).

How about my DOS application.. which is the main reason why I'm trying to get Bochs working.  (I've attached the program and the e-book manual to this message.)

Thanks for all of this great information.  (Sorry I haven't been here to test this stuff, but we just had a baby 2 weeks ago and I haven't had any time... hopefully I will soon)

By the way... the recent change in the ZaurusUserGroup page code really messed me up.  None of the links in my notification e-mails worked and the "Last 15 posts" no longer appears...
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

sigmaX

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #72 on: November 08, 2004, 09:15:11 pm »
This thread has been on full stop for some time ...

I am looking forward on emulating an i386 System and try to get DOS or even windows 98 over my Zaurus C860, maybe as a cool prank to the local guys, or even to awe myself

I've seen those pictures of an SL 5500 running the win98 boot screen ... It cannot be that difficult

Anyone got any new hint ?
Enrique

sl-c860 / 1gigCF 40X / 256mbSD / Ambicom WIFI / TRENDnet 10/100 ethernet / SL-5500 CF 40X 32MB

nyar

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #73 on: November 10, 2004, 04:08:37 am »
I cannot imagine Bochs on a processor as slow as the Z's running any faster than say a 286 or even an aging 386, and even that'd be pushing it.

Or can people report better results?

I think this would be a novelty rather than actually usable.

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Bochs (x86 emulator) on VGA Zaurus? Anyone?
« Reply #74 on: November 25, 2004, 04:30:56 pm »
Miami Bob,
If you can't get the CPACK running, are you able to run programs such as PE, MM/LX, VR, etc using palrun?
SNi