Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Linux для Dreamcast
Автор Сообщение
XEO Не на форуме
Новичок
*

Сообщений: 9
Зарегистрирован: 01.08.2007
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 1 раз(а) в 1 сообщ.
Сообщение: #1
Linux для Dreamcast
Давиче нащел я ссылку: http://igamez.info/2007/07/26nux_for_dreamcast.html
(Последний раз сообщение было отредактировано 15.01.2008 в 23:24, отредактировал пользователь XEO.)
15.01.2008 23:24
Найти все сообщения Цитировать это сообщение
zaero Не на форуме
Супермодератор
******

Сообщений: 1228
Зарегистрирован: 05.01.2005
Рейтинг: 0
Сказал спасибо: 4
Поблагодарили 2 раз(а) в 2 сообщ.
Сообщение: #2
Linux для Dreamcast
Да давно уже есть. Судя по размеру архива это старая версия...

[Изображение: Ubuntu-User.png]
Dreamshell fAn
16.01.2008 00:02
Вебсайт Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7126
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 133
Поблагодарили 1169 раз(а) в 727 сообщ.
Сообщение: #3
Linux для Dreamcast
Он уже лет 7 как есть:)))) так же как и NetBSD

[Изображение: barbers.png]
17.01.2008 19:00
Вебсайт Найти все сообщения Цитировать это сообщение
Genrih Не на форуме
Пользователь
**

Сообщений: 22
Зарегистрирован: 24.02.2007
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #4
Linux для Dreamcast
кто узал линукс, подскажите как там игры запускать те что внем стоят. за ранее благодарен.
20.01.2008 17:23
Вебсайт Найти все сообщения Цитировать это сообщение
Genrih Не на форуме
Пользователь
**

Сообщений: 22
Зарегистрирован: 24.02.2007
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #5
Linux для Dreamcast
точнее команду дя запуска игр
22.01.2008 15:33
Вебсайт Найти все сообщения Цитировать это сообщение
zaero Не на форуме
Супермодератор
******

Сообщений: 1228
Зарегистрирован: 05.01.2005
Рейтинг: 0
Сказал спасибо: 4
Поблагодарили 2 раз(а) в 2 сообщ.
Сообщение: #6
Linux для Dreamcast
не помню честно говоря чтоб там игры были... Может и были просто внимания не обращал. Да и юзал ее не много. Т.к. особого толку от нее мало (

[Изображение: Ubuntu-User.png]
Dreamshell fAn
22.01.2008 22:43
Вебсайт Найти все сообщения Цитировать это сообщение
Genrih Не на форуме
Пользователь
**

Сообщений: 22
Зарегистрирован: 24.02.2007
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #7
Linux для Dreamcast
Они находятся в /usr/games там около 15-25 игр, даже worms есть:) А в принципе она чень похожа на dreamshell.
И еще один вопрос у линукса есть крафический интерфейс?
23.01.2008 00:04
Вебсайт Найти все сообщения Цитировать это сообщение
zaero Не на форуме
Супермодератор
******

Сообщений: 1228
Зарегистрирован: 05.01.2005
Рейтинг: 0
Сказал спасибо: 4
Поблагодарили 2 раз(а) в 2 сообщ.
Сообщение: #8
Linux для Dreamcast
Цитата:А в принципе она чень похожа на dreamshell.
ага ))

Цитата:И еще один вопрос у линукса есть крафический интерфейс?
Ввобще есть но на той сборке его нету. Ставится он отдельно и честно говоря не знаю как это будет на дриме работать)

Цитата:Они находятся в /usr/games там около 15-25 игр, даже worms есть А в принципе она чень похожа на dreamshell.
И еще один вопрос у линукса есть крафический интерфейс?
Привиди листинг директории какой нибудь папки игры и содержимое файла ридми или хелпа отуда здесь.

если не знаешь комманд, то комманда ls это листинг (можно применять с флагами -lia например) комманда cat чтение файла.

[Изображение: Ubuntu-User.png]
Dreamshell fAn
(Последний раз сообщение было отредактировано 28.01.2008 в 02:29, отредактировал пользователь zaero.)
23.01.2008 23:35
Вебсайт Найти все сообщения Цитировать это сообщение
Genrih Не на форуме
Пользователь
**

Сообщений: 22
Зарегистрирован: 24.02.2007
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #9
Linux для Dreamcast
спасибо за помощь, поюзаю еще немного.
26.01.2008 23:59
Вебсайт Найти все сообщения Цитировать это сообщение
Василий Не на форуме
aka VasiliyDC and Basilio
****

Сообщений: 598
Зарегистрирован: 23.04.2008
Рейтинг: 0
Сказал спасибо: 20
Поблагодарили 13 раз(а) в 12 сообщ.
Сообщение: #10
Linux для Dreamcast
Есть xwindows - так как то пишется .Но нужна мышка.
Играл на ней в Дум с тормозами, но управление и от джоя работает.

Сообщество фанатов Sega Dreamcast http://dreamcast.org.ru/forum/
23.04.2008 23:08
Найти все сообщения Цитировать это сообщение
zaero Не на форуме
Супермодератор
******

Сообщений: 1228
Зарегистрирован: 05.01.2005
Рейтинг: 0
Сказал спасибо: 4
Поблагодарили 2 раз(а) в 2 сообщ.
Сообщение: #11
Linux для Dreamcast
Цитата:Есть xwindows - так как то пишется
в зборке для дрима?

[Изображение: Ubuntu-User.png]
Dreamshell fAn
25.04.2008 09:44
Вебсайт Найти все сообщения Цитировать это сообщение
Василий Не на форуме
aka VasiliyDC and Basilio
****

Сообщений: 598
Зарегистрирован: 23.04.2008
Рейтинг: 0
Сказал спасибо: 20
Поблагодарили 13 раз(а) в 12 сообщ.
Сообщение: #12
Linux для Dreamcast
Цитата:в зборке для дрима?
Ну да .
Linux on Dreamcast
A Beginners Guide
by Adrian O'Grady

I've noticed that quite a few people are looking for a simple guide to Linux on the Dreamcast so I thought I'd put pen to paper (well, fingers to keyboard) and knock up a very simple guide to a few of the features in Dreamcast Linux. I don't pretend to be a Linux expert, just a user who knows how to fiddle with it.
This is not an official document from the Linux on Dreamcast team. I wont cover using MAME in this document as that requires you having your own roms. These roms don't come with the official distribution and so aren't included on the Disc Juggler image.

Contents
Requirements
Burning Linux to CD
Booting Up Dreamcast Linux
A Few Simple Commands
About The Dreamcast Linux File System
Using PrBoom
Using vi to Edit Files
Programming on the Dreamcast
Using the Coders Cable

Requirements
The only real requirement is a keyboard. You're not going to get very far without it!
A VGA box is preferable as the image isn't centered on a TV screen (and hard to read)
Control pads can be used to play MAME and PrBoom (A Doom port).
A mouse is nice if you wish to use X Windows.
If you want to connect you DC Linux box to the outside world, then a broadband adapter or coders cable is required.

Burning Linux to CD
If you have got this document from dclinux-dj.zip, then you should find a ready to use Disc Juggler image. Simply chose to create a CD from a disc image and point it at dclinux.cdi. Once the CD is ready, stick it in your Dreamcast and away you go.

If you have an official release from the Linux on Dreamcast team (dreamcast-linux-010605.tar.bz2) then installation has a few more steps, but just as easy if you have the right setup.

Enter your *nix (or Unix like in the case of Cygwin) environment and go to the directory containing the dreamcast-linux file. You will need to have a compiled version of Marcus Comstedt's IP Creator (compiling this is beyond the scope of this document at this time) to create the IP.BIN file required to boot the CD. My ip.txt looks like this:

Hardware ID : SEGA SEGAKATANA
Maker ID : SEGA ENTERPRISES
Device Info : 0000 CD-ROM1/1
Area Symbols : JUE
Peripherals : A799F10
Product No : T0000
Version : V1.000
Release Date : 20010911
Boot Filename : 1ST_READ.BIN
SW Maker Name : Adrian O'Grady
Game Title : Dreamcast Linux

Create the IP.BIN file by using IP Creator as follows:
./makeip ip.txt IP.BIN

Now we need to extract the file so enter the following at the $ or # prompt:
bunzip2 dreamcast-linux-010605.tar.bz2
tar -xf dreamcast-linux-010605.tar
cd dreamcast-linux-010605

Once all the files have been extracted, we need to edit the master.sh file to point at your CD Writer. To find out the device ID of your CD Writer, enter the following at the prompt (Cygwin users will need to download cdrecord and mkisofs from here (Remember to put them in your /bin directory or somewhere that is included in your PATH!)):
cdrecord -scanbus

This will bring up a list of all disk devices in your system, you will need to make a note of your CD Writer (for example, mine is 0,4,0). Use your favorite text editor to change the line in master.sh that identifies your CD Writer (CDRECORD="cdrecord dev=0,4,0") by inserting the ID of your CD writer after dev=.
Now you are ready to begin burning your CD. You simply need to call master.sh with the path to your IP.BIN:
./master ../IP.BIN

Please don't ask me any questions about burning Dreamcast Linux in this manner. I've only provided this information here for experienced users who may want to fiddle with the distribution!

Booting Up Dreamcast Linux
Place the Dreamcast Linux CD into your Dreamcast and turn on. You should get the usual Sega screen before it displays the eCos/Redboot screen (blue screen with green writing). This screen will stay up for about 10 seconds before it actually starts to load Linux. When it does, you will see a black screen with white writing and a little Penguin in the top left corner. Once Linux has finished loading, you should see a login prompt which looks as follows:
Debian GNU/Linux testing/unstable dreamcast tty1

dreamcast login:

Simply enter root and press Enter to log on. After a few lines of welcome/warning text, you will be presented with a dreamcast:~# prompt. Welcome to the world of Linux!

A Few Simple Commands
I wont go into much detail about these commands other than show you a few examples of how to use them. Note: I have included the prompt so as to show exactly what you'd see on the screen, any text you should enter is in bold.
pwd Shows you the present working directory (the directory you're currently in) dreamcast:~# pwd
cd directory Changes to the directory specified dreamcast:~# cd /
dreamcast:~# cd /gdrom
ls [filepattern] List all the files in either the current directory or the specified directory. dreamcast:~# ls
dreamcast:~# ls *txt
ls -l [filepattern] Same as before, but gives a more detailed directory list. dreamcast:~# ls -l /etc
mkdir directory Creates the specified directory dreamcast:~# mkdir foobar
rmdir directory Removes the specified directory dreamcast:~# rmdir foobar
more filename Displays the contents of a file.
Space = Next Page
q = Quit dreamcast:~# more /gdrom/master.sh
startx Loads up X Windows dreamcast:~# startx
xdm Loads up X Windows but with a login prompt dreamcast:~# xdm

df Display how much disk space you have used dreamcast:~# df
which programname Tells you which executable will get called (incase you have more than on of the same name) dreamcast:~# which startx
uname [-amnrspv] Displays information about the OS version and the machine dreamcast:~# uname
dreamcast:~# uname -a
dreamcast:~# uname -nv
shutdown -h now Shuts down your Linux system (not required though!:) dreamcast:~# shutdown -h now

Most commands have basic help for them which can be found by adding --help to the end of a command. You can also call up previously entered commands by pressing Up and Down on the keyboard. Pressing Shift + Page Up/Down scrolls the text screen.

About the Dreamcast Linux File System
The standard "out of the box" version of Dreamcast Linux loads up using a ~2mb ramdisk. This means you haven't got to much space to save your files on the Dreamcast (The ramdisk is lost after the Dreamcast is turned off anyway). However, these are the important directories (well, of interest anyway) in this version of Linux.
/root Your home directory (also know as ~). You will probably save any work you do here.
/etc Most of the config files for the programs included in the distribution live here.
/gdrom The disc in the GD-Rom drive (this can only be the Dreamcast Linux disc as this version wont allow you to unmount the disc)
/bin
/sbin
/usr/bin
/usr/sbin Most of the programs and utilities live in these directories. If you want to quickly see what programs are on the disc, just have a look in here.
/usr/games A few games to pass the time (mostly text based)
/usr/doc A collection of Linux documents (I'm not sure how useful any of this stuff is for Dreamcast Linux)

Some directories with programs in them might not be included in your PATH. In order to execute them, simply change to the directory they're in and add ./ to the front of their name. eg dreamcast:/usr/bin/X11# ./startx

Using PrBoom
First, you must set the frame buffer depth. Do this by typing fbset -depth 16
Then launch PrBoom by typing prboom

Sometime, this fails on the first attempt. If this happens, just set the frame buffer depth once more and try again.

This version is quite slow on the Dreamcast and can sometimes appear to lock up while the GD-Rom drive goes mad. I've only tried playing it with the keyboard although there is a joystick option, so it may work with the control pad as well.

Using vi to Edit Files
This is a very, very quick guide to vi and so only covers the very, very basics. Search on the net if you want more information on vi.

To open or create a file with vi, type vi, followed by the filename:
dreamcast:~# vi test.txt

Once vi has loaded, you need to put it into input mode before you can type anything. Do this by pressing 'i'. Once in input mode, you can type just as you would in most other text editors and move the cursor around using the cursor keys.

When you've finished editing your document, press Esc to leave input mode. You can now either save your file and exit by typing ZZ (that's Shift + zz) or exit without saving changes by typing :q!

Programming on the Dreamcast
This version of Dreamcast Linux comes with a fully featured C/C++ compiler for the Dreamcast! You are limited by the size of the ram disk though. Just to get you started, here's that standard "Hello World" program.

First we need to edit our source code:
dreamcast:~# vi hello.c

Then we need to enter the following text:
#include <stdio.h>

main()
{
printf("Hello World!!\n\n");
return 0;
}

Once that is saved, we can compile it:
dreamcast:~# gcc hello.c -o hello

After a bit of GD-Rom activity, you should be able to run your program like so:
dreamcast:~# ./hello
Hello World!!

dreamcast:~#

Congratulations! You may have just written your first Dreamcast program.:)
If you got any errors, or it just didn't work, check what you typed in again and make sure you understand my instructions for using vi.

Using the Coders Cable
You can use your coders cable to connect to the Dreamcast from your PC. Open up your comms software (e.g. Hyper Terminal) and set it to 115200bpp(8-N-1) and once the Dreamcast has booted, you should get a login screen (use root to login, you may have to press a couple of keys to get the screen to appear). Once logged in, you can do just about anything you can on the Dreamcast other than use X Windows or PrBoom.

As I don't have a broadband adapter, I use my coders cable to save data from my Dreamcast. However, I'm too lazy to set it up properly, so I use the following method to save data to my PC.
dreamcast:~# gzip stuff.dat
dreamcast:~# uuencode stuff.dat.gz stuff.dat.gz.uue > stuff.dat.gz.uue
dreamcast:~# more stuff.dat.gz.uue

I then just copy the output from my comms package into a text file and save it on my hard disk.
To send the file back to the Dreamcast I first tell the Dreamcast to copy any input to a file:
dreamcast:~# cat > stuff.dat.gz.uue

Next, I copy the data from my text file into my comms package and press Ctrl + C (on a new line) when I've sent it all. Now to get it back into a usable form.
dreamcast:~# uudecode stuff.dat.gz.uue -o stuff.dat.gz
dreamcast:~# gunzip stuff.dat.gz
dreamcast:~# rm stuff.dat.gz.uue

I should now have my file stuff.dat back in a usable form.

It is possible to set up Linux to use the serial port as a network device so that I could get a proper network connection to my PC using the Windows Dial Up Server, but as I've said, I'm too lazy to bother finding out how. But if I did, my Dreamcast Linux box would become a whole lot more useful as I would be able to mount a partition I can write to using NFS.
От себя хочу сказать ,что на 50 герц не видно нижних сторк и шрифт мелкий.

Сообщество фанатов Sega Dreamcast http://dreamcast.org.ru/forum/
(Последний раз сообщение было отредактировано 25.04.2008 в 20:27, отредактировал пользователь Василий.)
25.04.2008 20:26
Найти все сообщения Цитировать это сообщение
Василий Не на форуме
aka VasiliyDC and Basilio
****

Сообщений: 598
Зарегистрирован: 23.04.2008
Рейтинг: 0
Сказал спасибо: 20
Поблагодарили 13 раз(а) в 12 сообщ.
Сообщение: #13
Linux для Dreamcast
Вот как Линукс на Дриме выглядит :
http://snesorama.us/board/showthread.php?t=21685
А Дримшелл ?

Сообщество фанатов Sega Dreamcast http://dreamcast.org.ru/forum/
31.05.2008 14:18
Найти все сообщения Цитировать это сообщение
LEUMAS Не на форуме
Альпийский Воин
*****

Сообщений: 1191
Зарегистрирован: 18.06.2005
Рейтинг: 0
Сказал спасибо: 269
Поблагодарили 27 раз(а) в 27 сообщ.
Сообщение: #14
Linux для Dreamcast
Страшненько выглядит

Мои консоли: 3DO, DC, GB, GBP, GBC, GBA, GBASP, NDSL, GC, SGG, SMS, SMD, SMD2, SMDP, SPG, NES, SNES, N64, Wii, Dendy, Dendy SECAM RGB, Kenga, PS1, PS2, PS3, PS4, PSP1000, PSP2000, PSP3000, PSPStreet, Xbox, Xbox360, Atari 2600, Atari 7800, Atari FS, Leningrad...
[Изображение: ussriq6.png][Изображение: 5e6ce6daee3d4b0a2eaa91bcb2333273.png]
01.08.2008 01:57
Вебсайт Найти все сообщения Цитировать это сообщение
Создать ответ 


Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
  Dreamcast Karaoke ands 7 24750 19.01.2024 19:15
Посл. сообщение: ands
  Аксессуары для Dreamcast ands 32 82224 06.01.2024 08:57
Посл. сообщение: SWAT
  Dreamcast GameShark / Codebreaker / Взломщик кодов G-Stuff002 55 162971 29.11.2023 15:53
Посл. сообщение: zerogame
  Замена контроллера геймпада Dreamcast Neg0day1 2 1513 18.08.2023 22:26
Посл. сообщение: MilkeyWilkey
Видео Медиа[Видео]плееры для Dreamcast S75 4 4637 23.01.2023 11:00
Посл. сообщение: Rivelrite
  Кол-во online игроков на Dreamcast через DreamPi превысило 1000 человек! Ivan Guber 7 11955 07.11.2022 11:29
Посл. сообщение: Vara
  Ссылки на игры для DreamCast =) vadimir 101 443445 03.11.2022 00:52
Посл. сообщение: megavolt85
  50hz on Sega Dreamcast aldair 0 2322 12.06.2022 16:39
Посл. сообщение: aldair
  Dreamcast CMOS Battery MOD G-Stuff002 15 19195 04.11.2021 11:18
Посл. сообщение: megavolt85
  Dreamcast Power Supply Resistors for GDEMU or USB-GDROM G-Stuff002 32 44063 24.10.2020 15:48
Посл. сообщение: megavolt85

Переход:


Пользователи просматривают эту тему: 1 Гость(ей)