Author Topic: Bochs Running  (Read 22609 times)

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« on: August 30, 2005, 09:44:22 pm »
hehe, after long time trying and correcting, it runs at last.
download bochs for C3000 here.
« Last Edit: September 08, 2005, 06:05:25 am by chyang »
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« Reply #1 on: August 30, 2005, 09:46:58 pm »
Quote
hehe, after long time trying and correcting, it runs at last.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93836\"][{POST_SNAPBACK}][/a][/div]
Bochs 2.2.1 fix +libSDL 1.2.7 with zport's fix
At present, libSDL does have problems, the taskbar will flash when it begins to run, don't know the reason and solution to this. Press cancel can ease it.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Bochs Running
« Reply #2 on: August 31, 2005, 12:58:57 am »
How fast is it? Do you have a package?

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Bochs Running
« Reply #3 on: August 31, 2005, 12:59:33 am »
that is so cool

the only reason i see myself running windows 98 on my zaurus is if i can get acid tetris to play again since its a dos based game.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Bochs Running
« Reply #4 on: August 31, 2005, 04:24:40 am »
Great!

It could open the door to run HP 200LX applicatoins using Bochs and a palmtop emulator, such as palrun or palmpc or int5f.

I'd appreciate a package or installation instructions! .-)

thanks

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Bochs Running
« Reply #5 on: August 31, 2005, 03:55:55 pm »
Quote
hehe, after long time trying and correcting, it runs at last.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93836\"][{POST_SNAPBACK}][/a][/div]


great !
would you post a *simple* howto please ?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

oncle-dave

  • Newbie
  • *
  • Posts: 47
    • View Profile
Bochs Running
« Reply #6 on: August 31, 2005, 04:30:32 pm »
Hello ..

Where find the Package ? to install it ?

Thanks you.

Oncle-dave
SL-C3000
PdaXrom Build3 from Meanie
CF Wifi Linksys WF12
SD Card 1Go

TRIsoft

  • Sr. Member
  • ****
  • Posts: 332
    • View Profile
    • http://www.trisoft.de
Bochs Running
« Reply #7 on: August 31, 2005, 05:08:59 pm »
Chyang,
Quote
hehe, after long time trying and correcting, it runs at last.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93836\"][{POST_SNAPBACK}][/a][/div]
What else to say:
 

///TRIsoft

Marc Stephan

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« Reply #8 on: August 31, 2005, 06:19:49 pm »
Ok, Here is what I have done to make it run.

1)Modify bochs source, fix the resolution part, in gui/sdl.cc, when booted, the system will request the resolution of 720x400, which is not supported by Zaurus(libSDL), I hardcoded the resolution to be full screen 640x480 mode.

2)libSDL hack, after compiling the SDL source, I found the screen is so tiny, only 1xx in width, I looked into the detail and found that the code in handling qtopia related stuff are hardcoded to resolution of 320x240. I happen to visit an HK site with the reference to zports.sourceforge.net, they did a great job in making the VGA resolution work. I compared their source with the SDL 1.2.8 source, they look same, so I just replaced the SDL-1.2.8/src/video/qtopia/SDL_QWin.[cc|h],SDL_sysvideo.cc, it only knows CXX0, so it is very easy to add extension for C3000.

3)Special note to run libSDL application in root mode: the qtemebedded environment is maintained completely only for user zaurus, so before running libSDL applications, try to copy the file named QtEmbedded-0.spec for root in /tmp/qtembedded-root

4)special thanks to Anton, without your dev-image, I wouldn't be able to compile bochs/libSDL on my C3000! But I do like a new version gcc embedded, also with the binutils which are very useful for me.

5)The compilation part comes from my linux cross-compile environment, I met problems in export the libSDL's SDLmain routine. My cross-compiler should be the version that Sharp shared in 5500 era.

6) There are problems inside. I will just share my experience in making it running, hope we will solve them in near future.

7) My Windows 98 run is slow, it took me 90 minutes to boot up the screen showed in the photo.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Bochs Running
« Reply #9 on: August 31, 2005, 06:38:20 pm »
 

ohh well.  

ill never play acid tetris again!!!!
« Last Edit: August 31, 2005, 06:39:05 pm by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« Reply #10 on: August 31, 2005, 06:45:40 pm »
Here is the binary package.
it contains the bochs and the opt/Qtopia/sharp/lib/libSDL.* for bochs.
Try to get the BIOS/VGA file from bochs distribution, or I will post it if you like.
To run it, just as you run it under linux
bochs -q -f bochsrc.bxrc[not included, you should build your own]
I installed windows 98 SE in bochs on my desktop, and then copy the disk image file to Z.
I do love C3000. A cool portable powerful workstation.  

Quote
Ok, Here is what I have done to make it run.

1)Modify bochs source, fix the resolution part, in gui/sdl.cc, when booted, the system will request the resolution of 720x400, which is not supported by Zaurus(libSDL), I hardcoded the resolution to be full screen 640x480 mode.

2)libSDL hack, after compiling the SDL source, I found the screen is so tiny, only 1xx in width, I looked into the detail and found that the code in handling qtopia related stuff are hardcoded to resolution of 320x240. I happen to visit an HK site with the reference to zports.sourceforge.net, they did a great job in making the VGA resolution work. I compared their source with the SDL 1.2.8 source, they look same, so I just replaced the SDL-1.2.8/src/video/qtopia/SDL_QWin.[cc|h],SDL_sysvideo.cc, it only knows CXX0, so it is very easy to add extension for C3000.

3)Special note to run libSDL application in root mode: the qtemebedded environment is maintained completely only for user zaurus, so before running libSDL applications, try to copy the file named QtEmbedded-0.spec for root in /tmp/qtembedded-root

4)special thanks to Anton, without your dev-image, I wouldn't be able to compile bochs/libSDL on my C3000! But I do like a new version gcc embedded, also with the binutils which are very useful for me.

5)The compilation part comes from my linux cross-compile environment, I met problems in export the libSDL's SDLmain routine. My cross-compiler should be the version that Sharp shared in 5500 era.

6) There are problems inside. I will just share my experience in making it running, hope we will solve them in near future.

7) My Windows 98 run is slow, it took me 90 minutes to boot up the screen showed in the photo.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93992\"][{POST_SNAPBACK}][/a][/div]
The correct version attached.
« Last Edit: September 08, 2005, 06:04:17 am by chyang »
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« Reply #11 on: August 31, 2005, 06:50:45 pm »
Quote


ohh well.  

ill never play acid tetris again!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93993\"][{POST_SNAPBACK}][/a][/div]
Oh? After boot up, type in DOS edit lags about 1-2 seconds. I think it is acceptable.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« Reply #12 on: August 31, 2005, 09:27:13 pm »
Very sorry, don't know what happened to the package, it seems that it has problems. I will re-post later this afternoon or evening.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Bochs Running
« Reply #13 on: September 01, 2005, 01:29:30 am »
Quote


ohh well.  

ill never play acid tetris again!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93993\"][{POST_SNAPBACK}][/a][/div]

The version I build took 35 minutes to load Win98SE, so I ditched it since it wasn't really usable. However,  if you just want to play DOS games, installing only DOS in bochs is much faster than running Windows, but better yet, try the dosbox package.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Bochs Running
« Reply #14 on: September 01, 2005, 02:15:05 am »
Quote
Quote


ohh well.  

ill never play acid tetris again!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93993\"][{POST_SNAPBACK}][/a][/div]

The version I build took 35 minutes to load Win98SE, so I ditched it since it wasn't really usable. However,  if you just want to play DOS games, installing only DOS in bochs is much faster than running Windows, but better yet, try the dosbox package.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94026\"][{POST_SNAPBACK}][/a][/div]
Would you like to give me more information on the bochs version you are running? I thought it should be the zbochs. I manged to ran it but only 320x240 screen size. That may result in a little better performance.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04