OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: chyang on August 30, 2005, 09:44:22 pm
-
hehe, after long time trying and correcting, it runs at last.
download bochs for C3000 (https://www.oesf.org/forums/index.php?act=Attach&type=post&id=874) here.
-
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.
-
How fast is it? Do you have a package?
-
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.
-
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
-
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 ?
-
Hello ..
Where find the Package ? to install it ?
Thanks you.
Oncle-dave
-
Chyang,
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
-
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.
-
ohh well.
ill never play acid tetris again!!!!
-
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.
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.
-
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.
-
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.
-
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.
-
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94029\"][{POST_SNAPBACK}][/a][/div]
yes, i did use a self tweaked version of zbochs and it only ran in 320x240 mode. It ran quite slow so I suspect running it in 640x480 must be much slower unless you got the optimized bvdd version of the sdl lib from atty.
-
For C1000 user, find the SL-C3000 inside and replace it with SL-C1000, it will make it work.
-
For C1000 user, find the SL-C3000 inside and replace it with SL-C1000, it will make it work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94105\"][{POST_SNAPBACK}][/a][/div]
wow, I tried your version and it only took 27 minutes to load win98! what an improvement!
-
great! Thanks for chyang.
WIN98 is too "hard" for zaurus, i think DOS may be better.
really wanna play old dos games on the Z
-
Dos game player as well...here!
-
For C1000 user, find the SL-C3000 inside and replace it with SL-C1000, it will make it work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94105\"][{POST_SNAPBACK}][/a][/div]
wow, I tried your version and it only took 27 minutes to load win98! what an improvement!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94551\"][{POST_SNAPBACK}][/a][/div]
Really happy to get your appreciation.
-
great! Thanks for chyang.
WIN98 is too "hard" for zaurus, i think DOS may be better.
really wanna play old dos games on the Z
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94630\"][{POST_SNAPBACK}][/a][/div]
what about dosemu in linux? just port it over to Z
-
2 qn. I install a dos 6.22 image on windows and xferred it to a SD card.
1) What did u set as the display for the bochsrc. I selected SDL full screen. but display was in portrait and a bit jumbled. will experiment with the SDL libs later again.
2) How do u exit dos if in full screen mode?
-
2 qn. I install a dos 6.22 image on windows and xferred it to a SD card.
1) What did u set as the display for the bochsrc. I selected SDL full screen. but display was in portrait and a bit jumbled. will experiment with the SDL libs later again.
2) How do u exit dos if in full screen mode?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94772\"][{POST_SNAPBACK}][/a][/div]
1) Whether you select the full screen or not, my modified bochs will select the fullscreen mode. For the default VGA mode will set the resolution of 720x400, which is not supported by Z.
The problems look like with the SDL, have you used the library in the package? C3000 or C1000? C3000 can directly use it while C1000 need to do some modification to the binary, replace the string "SL-C3000" with "SL-C1000".
2)I also met the same problem. I logged in using network and then using kill. Later It seems that we can write some simple .com file to call the stop bochs, just like the power button in bochs for Windows.
-
2 qn. I install a dos 6.22 image on windows and xferred it to a SD card.
1) What did u set as the display for the bochsrc. I selected SDL full screen. but display was in portrait and a bit jumbled. will experiment with the SDL libs later again.
2) How do u exit dos if in full screen mode?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94772\"][{POST_SNAPBACK}][/a][/div]
1) Whether you select the full screen or not, my modified bochs will select the fullscreen mode. For the default VGA mode will set the resolution of 720x400, which is not supported by Z.
The problems look like with the SDL, have you used the library in the package? C3000 or C1000? C3000 can directly use it while C1000 need to do some modification to the binary, replace the string "SL-C3000" with "SL-C1000".
2)I also met the same problem. I logged in using network and then using kill. Later It seems that we can write some simple .com file to call the stop bochs, just like the power button in bochs for Windows.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94777\"][{POST_SNAPBACK}][/a][/div]
Okie, found out my problems of screen corruption was due to the screensaver kicking in. To solve the problem of exiting, I binded one of the keys to a script in /opt/Qtopia/bin which kills bochs. Finally I can play my Bandit Kings of Ancient China
-
great! Thanks for chyang.
WIN98 is too "hard" for zaurus, i think DOS may be better.
really wanna play old dos games on the Z
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94630\"][{POST_SNAPBACK}][/a][/div]
what about dosemu in linux? just port it over to Z
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94646\"][{POST_SNAPBACK}][/a][/div]
Dosemu doesn't do CPU emulation, so it won't work. If you're looking for DOS gaming, grab DOSBox, which does do CPU emulation and has a Z port.
-
Dosemu doesn't do CPU emulation, so it won't work. If you're looking for DOS gaming, grab DOSBox, which does do CPU emulation and has a Z port.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94920\"][{POST_SNAPBACK}][/a][/div]
Thank you for your info.
i've found dosbox before, but it can only run under pdaXrom. did you ever seen one that can run under sharp original rom?
-
package removed at 9:30 (GMT+8)
Update later.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93995\"][{POST_SNAPBACK}][/a][/div]
Hello chyang,
is the tar.gz file attached to your posting from sep-1 the new working package, or do you still work on the package and plan to attach it later?
I'd be very interested in running DOS on the Z!
Thanks
daniel
-
hi, It's the working version. I have deleted the wrong file and attached the correct one. while forgot to remove the message. It seems to be better to include in my first post.
-
hi, It's the working version. I have deleted the wrong file and attached the correct one. while forgot to remove the message. It seems to be better to include in my first post.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94979\"][{POST_SNAPBACK}][/a][/div]
Thanks. :-)
Downloaded it and will try it now.
Would you be so kind to share your bochs configuratoin file and maybe a working DOS image (all versions of DOS 5.0 or above would be good).
The libDSL links the tarball creates existed already and were linked to other versions of libSDL (which did not work for bochs, missing symbols).
So I redirected the links to the versoin supplied by you. I hope it won't lead to any problems with other programs.
Thanks again
daniel
-
hi, It's the working version. I have deleted the wrong file and attached the correct one. while forgot to remove the message. It seems to be better to include in my first post.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94979\"][{POST_SNAPBACK}][/a][/div]
Thanks. :-)
Downloaded it and will try it now.
Would you be so kind to share your bochs configuratoin file and maybe a working DOS image (all versions of DOS 5.0 or above would be good).
The libDSL links the tarball creates existed already and were linked to other versions of libSDL (which did not work for bochs, missing symbols).
So I redirected the links to the versoin supplied by you. I hope it won't lead to any problems with other programs.
Thanks again
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94996\"][{POST_SNAPBACK}][/a][/div]
You can use the LD_LIBRARY_PATH var if other programs require the older versions of libSDL.
-
hi, It's the working version. I have deleted the wrong file and attached the correct one. while forgot to remove the message. It seems to be better to include in my first post.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94979\"][{POST_SNAPBACK}][/a][/div]
Thanks. :-)
Downloaded it and will try it now.
Would you be so kind to share your bochs configuratoin file and maybe a working DOS image (all versions of DOS 5.0 or above would be good).
The libDSL links the tarball creates existed already and were linked to other versions of libSDL (which did not work for bochs, missing symbols).
So I redirected the links to the versoin supplied by you. I hope it won't lead to any problems with other programs.
Thanks again
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94996\"][{POST_SNAPBACK}][/a][/div]
Here is the bochsrc file. I don't know whether it's proper to share the disk file.
-
Excellent work. Now i suggest installing windows 95 first edition, and / or searching the web for some of those guides that really strips all the crap out of windows!
-
Dosemu doesn't do CPU emulation, so it won't work. If you're looking for DOS gaming, grab DOSBox, which does do CPU emulation and has a Z port.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94920\"][{POST_SNAPBACK}][/a][/div]
Thank you for your info.
i've found dosbox before, but it can only run under pdaXrom. did you ever seen one that can run under sharp original rom?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94941\"][{POST_SNAPBACK}][/a][/div]
I think there's at least one that should run the default sharp rom. Check on the DOSBox forums, it may not come in a nice IPK, though. The only Z I've ever had was a 5500, so I knew I didn't have the pep needed to run it, so I never bothered to try.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93995\"][{POST_SNAPBACK}][/a][/div]
Tried it finally, but I get an "error while loading shared libraries: /home/QtPalmtop/lib/libSDL-1.2.so.0: undefined symbol: pthread_create".
Reason is:
I create the symbolic link "/home/QtPalmtop/lib/libSDL-1.2.so.0" to the file libSDL-1.2.so.0.7.1 supplied in your tar.gz. Once I then run ldconfig, the lonk is modified to point to "/home/QtPalmtop/lib/libSDL-1.2.so.0.0.7".
I do not know why. Any ideas?
If I run bochs without running ldconfig first, i.e. with the link to the correct library file, the undefined symbol error message does not apprear, it works.
But the next time I run ldconfig, it stops working again.
Some more notes / questions:
Task switching from and back to bochs with Shift-Home in Cacko 1.23b1 ROM does not work. When switching back I get the white "Plase wait" screen in portrait mode, some time later the task bar appears again, but "Please wait" remains on the screen. nothing else happens. If I then switch to another open application, bochs appears shortly on the screen, before the application appears I just switched to.
Also, if I start bochs (with bochs -q -f ?/.bochsrc), firstly only a cursor appears in the bottom top corner and the QTopia task bar flickers at the bottom. Only if I tap on the symbol of another open application, the task bar disappears and bochs runs fine (but slowly - booting a DOS7 disk from Windows 95 did not finish yet after 10 minutes - must check the boot disk image, maybe it has a problem).
And: how can I quit bochs? Currently I have to kill the process.
daniel (thankful for any hint - I'm still interested in getting some old HP palmtop applications to wok on the Zaurus!)
-
And: how can I quit bochs? Currently I have to kill the process.
I'm still interested in getting some old HP palmtop applications to wok on the Zaurus!)
If you are running Bochs v1.4.1, there doesn't seem to be any way to close it down other than "kill -kill (pid)".
Bochs v2.1 & 2.1.1 (and perhaps some earlier versions that I haven't seen) have a "Power Off" icon on the right end of the upper icon bar. Works for me (G).
HTH -
-
chyang -
Have you compiled Bochs v2.2.1 for the C series Zs yet? If so, is it available? (G)
TIA
-
Can anybody explain me step by step how to run Bochs on SL-C1000?
-
chyang -
Have you compiled Bochs v2.2.1 for the C series Zs yet? If so, is it available? (G)
TIA
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106694\"][{POST_SNAPBACK}][/a][/div]
Haven't tried. AFAIK, it should contain some of my original hacking, which needs to take some time. I may have a try if it is worth doing.
Would you like to tell me whether there are any specific advantages over the previous version?
There are still some problems in my previous build, what I lack is the time.
--
Chen
-
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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=93995\")
Tried it finally, but I get an "error while loading shared libraries: /home/QtPalmtop/lib/libSDL-1.2.so.0: undefined symbol: pthread_create".
Reason is:
I create the symbolic link "/home/QtPalmtop/lib/libSDL-1.2.so.0" to the file libSDL-1.2.so.0.7.1 supplied in your tar.gz. Once I then run ldconfig, the lonk is modified to point to "/home/QtPalmtop/lib/libSDL-1.2.so.0.0.7".
I do not know why. Any ideas?
If I run bochs without running ldconfig first, i.e. with the link to the correct library file, the undefined symbol error message does not apprear, it works.
But the next time I run ldconfig, it stops working again.
Some more notes / questions:
Task switching from and back to bochs with Shift-Home in Cacko 1.23b1 ROM does not work. When switching back I get the white "Plase wait" screen in portrait mode, some time later the task bar appears again, but "Please wait" remains on the screen. nothing else happens. If I then switch to another open application, bochs appears shortly on the screen, before the application appears I just switched to.
Also, if I start bochs (with bochs -q -f ?/.bochsrc), firstly only a cursor appears in the bottom top corner and the QTopia task bar flickers at the bottom. Only if I tap on the symbol of another open application, the task bar disappears and bochs runs fine (but slowly - booting a DOS7 disk from Windows 95 did not finish yet after 10 minutes - must check the boot disk image, maybe it has a problem).
And: how can I quit bochs? Currently I have to kill the process.
daniel (thankful for any hint - I'm still interested in getting some old HP palmtop applications to wok on the Zaurus!)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106358\"][{POST_SNAPBACK}][/a][/div]
To the library problem, I'm not sure, maybe you can create some symbol links to it to ease the program, I haven't dug deeply on this.
The flicker problem is a known issue, I don't know the solution to it yet. What i did is just to press to cancel to ease the program. Win95 will finish in more minutes than you have tried.
To quit bochs, I have created one libSDL with my dosbox post, you can try the library with it, you can quit that by pressing Shift+Ctrl+Cancel.
[a href=\"https://www.oesf.org/forums/index.php?showtopic=15580]https://www.oesf.org/forums/index.php?showtopic=15580[/url]