PSPx форум

PSPx форум (https://www.pspx.ru/forum/index.php)
-   Эмуляторы для PSP (https://www.pspx.ru/forum/forumdisplay.php?f=110)
-   -   Bochs - эмулятор Windows и Linux для Sony PSP (https://www.pspx.ru/forum/showthread.php?t=31172)

The ALKASH 23.01.2007 11:38

Bochs - эмулятор Windows и Linux для Sony PSP
 
Вложений: 5
Bochs - эмулятор Windows и Linux для Sony PSP

Вложение 8939

Эмулятор компьютера с x86 архитектурой (Pentium 4).
Эмулятор не является очень быстрым, но зато обеспечивает качественную эмуляцию.
Содержит поддержку FPU, MMX, SSE, SSE2.

Readme Original
Bochs for the Sony PSP
----------------------

How to run:

1) Make a new directory under the PSP/GAME directory (e.g X:\PSP\GAME\BOCHS\) and copy the EBOOT.PBP file to it.
2) Create a directory named VM under the root of the memory stick (e.g X:\VM\).
3) Copy a Bochs configuration file to the VM directory and name it "bochsrc.bxrc" (a must).
4) Copy the bochs BIOS and your image files anywhere on the memory stick.
5) Edit the Bochs configuration file to point to your files. Use the "ms0:/" prefix as the root of the memory stick (e.g ms0:/VM/windows.img).
6) Run Bochs and enjoy.

Further details can be found at http://www.hacker.co.il/psp/bochs/

Matan Gillon (matan <[_at_]> hacker.co.il)

Вот сегодня запустил это на PSP (с помощью Bochs) грузится 3 минуты. Опять проблемы с мышью она такая же, как и в WIN95.
3.11-ый почти не тормозит, мне удалось поиграть в сапера и порисовать без проблем. Все кому интересно задавайте вопросы.
Образ c.img кидать в папку VM

Описание с оффсайта

What is this?

Yes, it's true. I've managed to run Windows 95 and Linux on the PSP. I've done it by porting the excellent open source x86 emulator Bochs.

Windows 95 actually runs quite well but don't expect it to be a speed demon. It takes about 10 minutes to boot but afterwards it's pretty usable. I was able to do things like: open "My computer" and browse the virtual hard drive, complete a whole game of Minesweeper and run various other applications. Now you too can get your Minesweeper fix on the go :)

I've also tested DLX Linux which comes pre-packaged with Bochs and it works just fine. However, I couldn't do much with it because there's no keyboard support. If you want to do your word processing on it then wait until keyboard support is implemented (though I doubt it will be any fun using the joystick).

In windows, mouse handling is extremely difficult. I suspect it has something to do with the "boost" feature windows has. Once you get the mouse moving it will keep moving in that direction even when you're trying to move to a different direction. The solution is to counter the movement by moving to the opposite direction. It's sort of like trying to push the mouse the other way in order to stop it.



Future improvements

- I've used a simple software rescaling algorithm so the entire screen will fit into the tiny 480x272. This of course takes a lot of CPU time and slows everything down quite a bit. It is possible to rescale the screen using the built in 3D hardware acceleration and I will get on it soon.

- The analog joystick should be used for mouse support.

- Some sort of keyboard input should be implemented although you can use the windows virtual keyboard right now.



How to run

1) Create your bochs image and configuration files. I highly recommend installing the OS on a PC before moving it to the PSP (unless you want to spend the next 10 years staring at a progress bar). You can also download some readily available images from here.

2) Download and unzip the files below.

3) If you have 1.0 firmware put the EBOOT.PBP file under the GAME directory (e.g X:\PSP\GAME\BOCHS where X is the PSP drive). If you have a version 1.5 firmware you need to repackage the file using KXploit. I haven't tested it on a v1.5 firmware so I hope it works. It won't work on newer firmwares (v1.51, v1.52, v2.0) because it's impossible to run homebrew applications on them at this time.

4) Create a directory named VM in the root of the memory stick (e.g X:\VM).

5) Copy the disk images and bios files anywhere on the PSP.

6) Edit the bochs configuration file so it will point to your disk images and bios files correctly. Note that on a PSP you have to use the "ms0:/" prefix as the root of your filesystem (see the example configuration in the downloads). Also set the amount of memory your VM will use. Be sure to set it to about 8MB as the PSP will crash if you try to use more (the PSP has about 32MB of RAM total).

7) Rename the bochs configuration file to "bochsrc.bxrc" and put it under the VM directory. This is the only real requirement as the path to the configuration is hardcoded. You can put the rest of the files wherever you want as long as the configuration file points to them correctly. See downloads section for sample script.

8) Run bochs and hope for the best.



Keys

Directional keys - Mouse movement (press repeatedly)
:square: - Left mouse button
:circle: - Right mouse button
:cross: - Middle mouse button
:start: - Opens the windows start menu :)
:select: - Quits immediatly (though you should shutdown windows instead)



Download

Important note:

By downloading the file you agree that I am not responsible for any damage caused by this software. I use the "overclocking" feature the PSP has to make the CPU work full speed at 333mhz. Nobody is sure how it affects the PSP. Also, the virtual machine sometimes writes a lot of data to the flash memory stick which could shorten it's life.

Bottom line, If your PSP starts bursting into flames after running this, don't blame me.

Ссылки ниже...
Скриншоты
Нажмите для увеличения
Нажмите для увеличения
Нажмите для увеличения
Нажмите для увеличения
Нажмите для увеличения

Скачать Bochs for PSP: Вложение 8935

Источник
BIOS брать здесь из комплекта для PC
Там же коллекции образов IMG разных систем семейства Linux


dma 23.01.2007 11:53

ну впринципе 3.11 пускалось и на кпк. жаль что о нормальной работе тойже 95 нам тока мечтать и мечтать. а что за проблемы с мышью? тыж смог порисовать и поиграть.

выложи готовую сборку для запуска. плиз.

The ALKASH 23.01.2007 12:10

Сборку выложу в середине недели так как инет хромает(завтра ,после завтра)
кто то приводил сравнение мыши в Bochs с куском масла на сковородке, да дествительно это так. Я даже дрова мыши переставлял но не помголо. Был бы у меня исходный код Bochs for PSP или декомпилятор я бы попробывал это исправить. Еще кто то говорил что картинку можно сделать 480х272 ,а не на пол экрана.

dma 23.01.2007 13:30

помоему бош открытй проект
http://bochs.sourceforge.net/ - вот там есть коечто.

GudviN733 23.01.2007 15:57

а если я установлю етот виндовс , я потом смогу опять на псп перешится?

gadina 23.01.2007 16:06

запуск, наигрался, перезагрузка- и ты снова в своей проше

R3OH 23.01.2007 16:35

Bochs это эмуль x86 процов?

sriverg2 23.01.2007 16:39

да

sadistlex 23.01.2007 18:12

Странно, тчо ALKASH говорит, что ктото говорил что можно 480х272 поставить. а разве сейчас оно такое не стоит?Оно мелкое токо в загрузке, а на всех остальных скринах, во весь экран, подозрительно, но всеже буду ждать релиза...

kapusta 23.01.2007 18:19

Блин, вот это круто! The ALKASH, респект, ждём ссылки! Кстати, с мышью я уже подружился, когда привыкнешь, довольно юзабельно. А скока вся сборка весит? наскока я помню, 95ая 300мб весила

Zhanat 23.01.2007 19:20

win98 точно не пойдёт для него надо минимальное разрешение 640 на 480, а ЗЫЗ только 480 на 272. Я на КПК такое мутил DOS загрузил и как обычно ищеш setup запускаеш его он грузится и пишет ошибка клавы и сине зубую клаву тоже не видет :-(

SPEKTOR 23.01.2007 19:55

Хм, интересно, интересно... А сколько % от производительности собственного процессора ПСП занимает этот эмуль? Я читал что там вроде от силы получается что-то вроде 1 MHz и то с натягом. Вобщем, исполняясь оптимизмом можно предположить что если проект не похерится то очень возможно у нас когда-нибудь будет полный Portable Win95 или может даже 98+) Впринципе если посмотреть тех. характеристики приставки, и предположить что хотбы 40-50% ее производительности будет эффективно исползоваться, то где-то 166-200 MHz CPU и 64Мб RAm, а также граф-проца на частоте шины 147MHZ и 24-битного цвета, сколь я помню хватало чтобы запустить на компе вин98 и даже его вполне прилично использовать+)

vermillion666 23.01.2007 21:18

так .... главный вопросег :D .exe приложения пашут? =D

pspowner 23.01.2007 22:30

Вермилон, не тупи!

The ALKASH 23.01.2007 22:58

я подтверждаю что это не фейк выложу вин сегодня ночью или утром. На образ жесткого диска залью несколько прог.

pspowner 23.01.2007 23:31

Norton Commander можно? его в autoexec.bat прописать до Виндов. И sysinfo какой-нибудь. Охота посмотреть за что себя Bochs выдаёт.
Вобщем, афтар, даёшь сборку =)

`FATALIT1 23.01.2007 23:32

а там фнатуре .exe можно запустить?

zeed 23.01.2007 23:36

Zhanat,

Windows 98 тоже отлично запускается (загружается где-то 30 минут).
Но, естественно, работать с ней практически невозможно.

The ALKASH 24.01.2007 00:23

А зачем нортон командер когда там есть Диспечер файлов!

pspowner 24.01.2007 00:39

Цитата:

Сообщение от The ALKASH (Сообщение 324510)
А зачем нортон командер когда там есть Диспечер файлов!

Интересно. Что такое винды на ЗЫЗ я уже знаю, 95ые мучил. Вот теперь нортон хочется. Из него же выйти не проблема. Ну как сделаешь, так сделаешь. Запиши их просто в образ, если сможешь...

Под DosBox нортон просто тяжело управляется.


Текущее время: 11:46. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot
PSPx Forum - Сообщество фанатов игровых консолей.