Search found 8 matches

by mindstation
Fri May 06, 2022 4:32 pm
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Genesis Core Ported to Terasic DE2-115
Replies: 11
Views: 7737

Re: Genesis Core Ported to Terasic DE2-115

It's alive! "audio makes loud noise with some music in the background" The wrong audio codec mode did the noise. I have set "left justified" mode instead I2S. I2S codec mode fix the audio. "Now my port is able to run "Sonic 3D Blast", but it stucks in many places." My other mistake. I decided that the ROM siz...
by mindstation
Sat Jul 24, 2021 3:07 pm
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: MegaCD - Help understanding Memory for cheating
Replies: 2
Views: 4075

Re: MegaCD - Help understanding Memory for cheating

Why is there an "FF" as part of the ram location, effectively making the system see the ram as FF 15 16, not just 15 16? Main CPU RAM address space is $FF0000-$FFFFFF. Addresses $000000-$400000 is a ROM space (cartridge, read-only usually). Full memory map is avaliable at offical documentation (page 8): https://segaretro.org/Mega_Drive_o...
by mindstation
Tue Jul 13, 2021 4:25 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Genesis Core Ported to Terasic DE2-115
Replies: 11
Views: 7737

Re: Genesis Core Ported to Terasic DE2-115

Nice project! How are you handling the ARM stuff? An external board, or a softcore on the FPGA? As for debugging, I can't speak for other devs, but I tend to simulate individual components using GHDL or Verilator, and debug complete cores with Signaltap. Currently my main goal is a Genesis core for DE2-115. I decided to cut off any ARM stuff and r...
by mindstation
Sun Jul 11, 2021 2:47 pm
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Genesis Core Ported to Terasic DE2-115
Replies: 11
Views: 7737

Genesis Core Ported to Terasic DE2-115

Hello. I'm porting MiSTer Genesis core to Terasic DE2-115 board (Cyclone IV E). Now my port is able to run "Sonic 3D Blast", but it stucks in many places. I tried to made ModelSim testbench for the core, but got compilation errors like this: # -- Compiling module scandoubler # ** Error: /home/github/DE2_115_Genesis/sys/scandoubler.v(61): ...
by mindstation
Fri Apr 30, 2021 3:19 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: How do Genesis core download ROM to SDRAM?
Replies: 6
Views: 4507

Re: How do Genesis core download ROM to SDRAM?

It's clear now. Thank you paulbnl!
by mindstation
Wed Apr 28, 2021 4:26 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: How do Genesis core download ROM to SDRAM?
Replies: 6
Views: 4507

Re: How do Genesis core download ROM to SDRAM?

I made a controller is copying ROM image from Flash memory of DE2-115 to SDRAM. If I make increment ioctl_addr equals 2, then I have odd words skipped in the SDRAM. The "FEFE" pattern was loaded to all cells of SDRAM before Genesis core loading to FPGA. The core is modified for DE2-115 board: top level entity ports reconnected to actual p...
by mindstation
Thu Apr 22, 2021 4:47 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: How do Genesis core download ROM to SDRAM?
Replies: 6
Views: 4507

Re: How do Genesis core download ROM to SDRAM?

you need to look into module instantiation parameters, not default ones. Thank you! WIDE is 1 in sys_top/emu. Why didn't I see it? :) What are you planning to use instead of the de10-nano's HPS stuff? I want to get just a Genesis core on DE2-115 without OSD and special features. Maybe, a special controller with registers available to CPU M68K of t...
by mindstation
Wed Apr 21, 2021 3:59 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: How do Genesis core download ROM to SDRAM?
Replies: 6
Views: 4507

How do Genesis core download ROM to SDRAM?

Hello! I'm trying to port MiSTER Genesis core to DE2-115 board. The only board I have. The dufficult thing for me is ROM copying to SDRAM. In the emu module (sys_top/emu) I see ROM data write to port zero of sdram module. str 735: .din0({ioctl_data[7:0],ioctl_data[15:8]}), str 737, 738: .wrl0(1), .wrh0(1), There and below str is a string number in ...