Создать ответ 
 
Рейтинг темы:
  • Голосов: 1 - Средняя оценка: 5
  • 1
  • 2
  • 3
  • 4
  • 5
Connecting IDE disks & ISA (network) card to Dreamcast
Автор Сообщение
OzOnE Не на форуме
Пользователь
**

Сообщений: 65
Зарегистрирован: 20.07.2012
Рейтинг: 1
Сказал спасибо: 0
Поблагодарили 6 раз(а) в 5 сообщ.
Сообщение: #20
RE: Connecting IDE disks & ISA (network) card to Dreamcast
I've tried initializing the serial port in many different ways, but it doesn't seem to work after loading my app from DS?
Maybe it's the way the SCIF is initialized for the SD Card, or something KOS is doing?

That's a very nice looking board, cybdyn. Much neater than my efforts. Smile

AFAIK, the "secret code" for DMA transfer is basically this...

*SB_GDAPRO = 0x8843407F; // Set DMA transfer range to the system memory area.

The upper 16-bits is the magic code 0x8843 (which stays the same apparently?).
The other bits set up the memory protection range for the DMA (the HOLLY will generate an error interrupt if the DMA falls outside this range).

The DMA transfer itself appears to be working fine though, it's just that I can't poll for the end-of-DMA without it freezing?
I'm 82% sure this is a protection or mutex problem with KOS.

I'm now trying to strip down the app to the bare essentials without KOS (simple CF bootloader and GD redirection).
The app is quite bloated with unused KOS stuff (SPU,PVR,BBA etc.)

I will keep trying to get serial to work. I'll probably need to stop using the SD card and DS though.

@cybdyn - Good luck with your board. I hope I can help out with the DC stuff.

I've abandoned the FPGA for a while. Even though this syscall stuff isn't quite working yet, it's still easier to program in C than trying to debug the Verilog code.

@SWAT - Are you planning on soldering an IDE cable to your DC, or will you be working on the software for now?
Also, may I ask if you wrote your bootloader using any libraries or KOS? (I'm guessing the routines are all internal?).

OzOnE.
26.08.2012 05:04
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
RE: Connecting IDE disks & ISA (network) card to Dreamcast - OzOnE - 26.08.2012 05:04

Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
  Dreamcast not video not audio mother va2.1 thanksss!!! Julián Ariel 3 764 05.11.2024 08:37
Посл. сообщение: Elgor4uk
Сердце Dreamcast va2.1 Julián Ariel 3 1165 09.10.2024 06:20
Посл. сообщение: Julián Ariel
  JDownloader + YZB Collection [35GB] [CD-R]/Dreamcast aldair 0 722 24.09.2024 11:48
Посл. сообщение: aldair
  Dreamshell Serial Port SD card problem massouji 0 768 08.09.2024 22:25
Посл. сообщение: massouji
  Dreamcast with broken solder point Zarkon 1 2440 04.04.2024 23:52
Посл. сообщение: ands
  Dreamshell + SD card Serial Adapter state_product 0 2271 01.09.2023 19:30
Посл. сообщение: state_product
  Japanese dreamcast VA0 - no picture, sound and VMU Boguś 2 3200 08.08.2023 15:33
Посл. сообщение: Boguś
  Dreamcast PCBs and Schematics aldair 0 2695 10.03.2023 06:46
Посл. сообщение: aldair
  OSSC at 970p on VGA: Grandia 2 Dreamcast aldair 0 2377 10.03.2023 02:10
Посл. сообщение: aldair
  KOF96 10th anniversary Edition/Dreamcast aldair 0 2471 07.03.2023 06:56
Посл. сообщение: aldair

Переход:


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