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

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #1
Request to add scimmc driver to dreamshell
So i stubled across this on the netbsd mailing lists.
NetBSD Mailing List
And i decided to build this into my dreamcast. i have a thread over on assembler
My build

And i was wondering if a driver could be incorporated into the next dreamshell.

the exposed bus is the same one between the SH4 and PVR and the netbsd driver looks to be down clocked to 500 or so khz with a division of 1000 in the driver i messed with.

doesn't this bus scale to ~800Mhz?
05.10.2015 05:17
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #2
RE: Request to add scimmc driver to dreamshell
It has long been thought to add SPI driver on internal SCI (looks like it's can be drive native SPI protocol without bit-bang), but the feasibility of this is questionable, since there is much more productive mod - G1-ATA.
For your mod need open console box and solder wires, so maybe best way do G1-ATA instead? Current SPI mod is good because it can be used without modification of the console, so I'll keep it forever.
If you can solder wires - why not do G1-ATA, it's best choice. But just for fun I can do SPI for SCI, why not Smile
Low speed (~500kHz) need only for initialization of SD, after init, it's may increased to max speed. But I'm not sure what is the max speed, need test.

[Изображение: barbers.png]
(Последний раз сообщение было отредактировано 05.10.2015 в 10:57, отредактировал пользователь SWAT.)
05.10.2015 09:47
Вебсайт Найти все сообщения Цитировать это сообщение
 Сказали спасибо: cyrusmaintea
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #3
RE: Request to add scimmc driver to dreamshell
im sure that 800mhz i posted in OP was from my lack of sleep XD, it should not exceed 150mhz i think. and swat i was thinking this could be neat to mess around with, if got to work with dma on netbsd it would be much faster.

or if i could get some sources for the g1ata driver, i could try to port it into the grdom driver in netbsd
(Последний раз сообщение было отредактировано 05.10.2015 в 16:35, отредактировал пользователь cyrusmaintea.)
05.10.2015 16:30
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #4
RE: Request to add scimmc driver to dreamshell
And 150 MHz is too much, SPI in modern devices can give max 25-50 MHz in general. it's very fast. I think on DC we can get max 3 MHz.
You can get source code from KallistiOS - http://sourceforge.net/p/cadcdev/kallist...re/g1ata.c

[Изображение: barbers.png]
05.10.2015 19:51
Вебсайт Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #5
RE: Request to add scimmc driver to dreamshell
ok thanks ^^, ye over 50mhz is problematic.
06.10.2015 01:06
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #6
RE: Request to add scimmc driver to dreamshell
Can you show me source code of SCI SPI driver?

[Изображение: barbers.png]
06.10.2015 08:29
Вебсайт Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #7
RE: Request to add scimmc driver to dreamshell
https://www.dropbox.com/s/63p26fdxh84me8...c.zip?dl=0

thats the dir under the netbsd buildroot. contains original diff patch and the patched files.
scimci.c is one too look at first.
06.10.2015 17:07
Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #8
RE: Request to add scimmc driver to dreamshell
Sry for double posting this.
https://www.dropbox.com/s/6mxdi67cnd5sc7...a.zip?dl=0
i made a semi-portable libg1ata, and i wanted to start messin with adding support for external optical devices
such as a std dvd rom drive. thats rlly why i made the g1ata lib as posted; so i can get an idea of how im guna make this all work
while hopefully making a contribution lol

fixed my issue lol

[Изображение: TOhLhoE.png]

wip ^ new log pic
(Последний раз сообщение было отредактировано 07.10.2015 в 07:24, отредактировал пользователь cyrusmaintea.)
06.10.2015 19:11
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #9
RE: Request to add scimmc driver to dreamshell
(06.10.2015 17:07)cyrusmaintea писал(а):  https://www.dropbox.com/s/63p26fdxh84me8...c.zip?dl=0

thats the dir under the netbsd buildroot. contains original diff patch and the patched files.
scimci.c is one too look at first.

Yeah, SCI can drive SPI by native hardware.
I assumed this by docs for the CPU, but it's practical confirmation!
And can use DMA for data transfer and this very good.
But 500 KHz it's too slow Sad Maybe can be increased? Need tests.

[Изображение: barbers.png]
(Последний раз сообщение было отредактировано 07.10.2015 в 09:18, отредактировал пользователь SWAT.)
07.10.2015 09:14
Вебсайт Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #10
RE: Request to add scimmc driver to dreamshell
Update: heres some kernels
https://www.dropbox.com/s/75kqq8kb6..._M...k.rar?dl=0

oh btw swat those kernels are clocked with ***(2500 * 1000), so the bus turns out to be 3.114 MHz 8bit width. its soooo much faster vs 519Khz lol
(Последний раз сообщение было отредактировано 08.10.2015 в 20:28, отредактировал пользователь cyrusmaintea.)
07.10.2015 12:08
Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #11
RE: Request to add scimmc driver to dreamshell
https://www.dropbox.com/s/uyxz6j4bxz9n4s...e.zip?dl=0

I bundled the kallistios 2.0 webdocs and uploaded it for people to download and view the documentation of kallistios 2.0 offline for convenience.
cheers ^^
09.10.2015 18:25
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #12
RE: Request to add scimmc driver to dreamshell
Can you make speed test on filesystem?

[Изображение: barbers.png]
(Последний раз сообщение было отредактировано 11.10.2015 в 08:28, отредактировал пользователь SWAT.)
11.10.2015 08:28
Вебсайт Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #13
RE: Request to add scimmc driver to dreamshell
i actually am stuck for now till i can get ahold of my replacement dreamcast from a friend across state. i fried the sh4 cpu doing a 2.4v overvolt + 54Mhz clock signal mod, i got around 324mhz sh4 and it was way over the top, within 10 minutes the poor little guys heart died.
12.10.2015 18:43
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #14
RE: Request to add scimmc driver to dreamshell
Extremal overclock needs very good cooling...

[Изображение: barbers.png]
12.10.2015 19:42
Вебсайт Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #15
RE: Request to add scimmc driver to dreamshell
Finally Finished my replacement dreamcast swat. Did you manage to start porting the sci driver to ds? i recently finished my new NetBSD build and just need to test the build now. today ima make the sdcard w/ rootfs again and hope it works lol. I might have to go back to the motherboard and triple check the scimmc mod i put into the new dc is wired correctly.

other then that here is the download.

https://www.dropbox.com/s/2fem398kk40qqx...e.zip?dl=0

ill report a speed log asap.
06.02.2016 21:34
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #16
RE: Request to add scimmc driver to dreamshell
I downloaded. But as long as I do not have free time to do it. I therefore issued a release ahead of time for this reason. It's not really finished.
I need this mod for check the driver, so it's not fast. BTW you can add driver himself.

[Изображение: barbers.png]
07.02.2016 10:42
Вебсайт Найти все сообщения Цитировать это сообщение
cyrusmaintea Не на форуме
Новичок
*

Сообщений: 11
Зарегистрирован: 11.02.2015
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #17
RE: Request to add scimmc driver to dreamshell
(07.02.2016 10:42)SWAT писал(а):  I downloaded. But as long as I do not have free time to do it. I therefore issued a release ahead of time for this reason. It's not really finished.
I need this mod for check the driver, so it's not fast. BTW you can add driver himself.

how would i go about adding the driver to ds? is it included in RC4 src?
or manually implement?
10.02.2016 02:53
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7124
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #18
RE: Request to add scimmc driver to dreamshell
Need implement, DS doesn't included this driver.

[Изображение: barbers.png]
10.02.2016 20:04
Вебсайт Найти все сообщения Цитировать это сообщение
Создать ответ 


Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
Радуга DreamShell на GitHub SWAT 69 96993 16.03.2024 17:14
Посл. сообщение: yo4yo4
Звезда DreamShell v4.0.0 Release SWAT 117 16007 15.03.2024 06:32
Посл. сообщение: SWAT
Баг ISO Loader 0.8.x Beta + preview of DreamShell v4.0 RC 5 SWAT 918 502925 01.02.2024 13:22
Посл. сообщение: SWAT
  DreamShell on Hacker news SWAT 0 793 10.01.2024 06:52
Посл. сообщение: SWAT
  Custom DreamShell Themes pcwzrd13 10 22695 23.11.2023 19:45
Посл. сообщение: pcwzrd13
  DreamShell v4.0 UI controls manual SWAT 0 1015 21.11.2023 07:04
Посл. сообщение: SWAT
Информация DreamShell в Discord SWAT 0 2969 06.03.2023 07:53
Посл. сообщение: SWAT
  New to Dreamshell/Retrodream DeanBMT 2 4088 26.01.2023 00:35
Посл. сообщение: DeanBMT
  DreamShell с Алиэкспрес - почти нечего не работает - так и должно быть? Emigrant 11 9288 11.07.2022 09:07
Посл. сообщение: SWAT
  Dreamcast Jap: is Dreamshell a good solution for loading games? legolas119 0 4229 05.12.2021 02:19
Посл. сообщение: legolas119

Переход:


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