MMC/SD drive newbie - need help

Page 5/13
1 | 2 | 3 | 4 | | 6 | 7 | 8 | 9 | 10

By Erikie

Champion (324)

Erikie's picture

25-01-2009, 20:41

About the price of the device. I think I can manage to make a cheaper one.
$15 for a cpld big enough to fit both the mapping and mmc logic on it.
$8 for the flash rom
$6 for the 2 SD interfaces
$3 for the rest
$xx for the pcb (probably around 18)
so for $50 you can have a full working version.

By cax

Prophet (3740)

cax's picture

25-01-2009, 21:12

Does it include soldering & case ? Are you assuming this as a DIY set ?

By Huey

Prophet (2694)

Huey's picture

26-01-2009, 08:59

Don't forget that the Sunrise CF-reader is out of stock. So this might be the only alternative....

I got 3 offers last saturday on the fair in Nijmengen to sell my CF-reader. oO

By Erikie

Champion (324)

Erikie's picture

26-01-2009, 09:36

Hmm, I think I will sell mine then. Anyone interested in a CF reader with 2 CF cards? 16Mb and 256 Mb?

Also I am not looking into making a lot of money in those SD drives. I am looking into making the drive to fit into konami size casing. But I have none of those in stock. So you have to add the money for a casing too.

By cax

Prophet (3740)

cax's picture

04-02-2009, 11:58

Back to topic.

With the great help from Erikie and with some luck, I succeeded patching my SD drive's BIOS without having any other disk drive.
Now I can switch between disks in a partition using STOP + number.
It required Erikie to read at29c040a chip datasheet, perform some reverse-engineering, and some exotic tools and insane ideas from my side.

In short, I patched ATLOAD.COM to always choose the same 8K block via SCC mapper, and fed it with an appropriate 8K ROM file.
I had to patch only some bytes in flash in 2 places, so it didn't take too much work and time.
And I used MicroWAVer to load into my diskless MSX a ramdisk with DOS, patched ATLOAD and 8K patch file.
For some reason ATLOAD freezes after flashing 8K, but for this purpose I don't need more.

While doing this I discovered some other things (which are off-topic here, but still important if anybody will try this):
1) the so-called "generic s1mp3" players (the cheapest ones BTW) are perfect for loading MicroWAVer-produced files into MSX via tape port.
Other more expensive MP3 players I have like Sansa for some reason cannot do this reliably (even under Rockbox)
2) s1mp3-alike player won't accept WAV, and it should be converted to MP3 without any encoding-time filters.
On latest Lame encoder it's done with "--lowpass -1" because the "-k" option I used before is deprecated now.

By cax

Prophet (3740)

cax's picture

04-02-2009, 12:10

Now, when I got the so much desired support for STOP+number, I have some other problem which I don't fully understand.

There are some programs that require CTRL to be pressed at boot time.

Pressing SHIFT on startup should disable DOS2 and ALL internal drives, but I still have to press CTRL at the same time to release more memory in BASIC mode. Otherwise SD/MMC drive will map it's own B: and C: drives.

So far - so good, I keep SHIFT and CTRL pressed. Now, in order to switch disk at boot time, I keep STOP pressed as well.
And this results it the following: *before* AUTOEXEC.BAS starts, the CTRL+STOP breaks it's execution.
Not so convenient. It happens even if I don't keep pressing - the once pressed keys are remembered.

In sharksym's manual I see the following:

When Disk-ROM access MMC/SD, it check 'RUN' or 'STOP' key.
('RUN' key is between 'SPACE' and 'KANA' key in Panasonic MSX2+/turboR)

Where is this RUN key ? I looked at TurboR images and saw there only PAUSE, which I also didn't see before and have no idea about it's place in the keyboard matrix. I wish I had this RUN key, or ... maybe I have to patch SD/MMC drive BIOS again and choose GRAPH or CAPS or russian analog of KANA key ?

By Erikie

Champion (324)

Erikie's picture

04-02-2009, 13:10

I have patched my patched rom again and changed the STOP key into the cursor-left key and it works.
Do you want to have a copy to patch your rom again? If you want any other key let me know
You can also email me Smile

By jpgrobler

Master (154)

jpgrobler's picture

26-02-2009, 10:21

Hi

When building this cart myself ons a scc cart Can I use a W29C040 instead of a AT29C ?

JP

By Erikie

Champion (324)

Erikie's picture

26-02-2009, 11:33

If you want to use something different than at29c then you don't have to make the 'flash component' of the device. As you will only need the mmc part of it.
It will sure work but you cannot copy files to your flash disk and you cannot use atload to flash your winbond chip. Or you have to make a flash loader yourself.
However building this thing with ttl chips is quite some work are you sure you want to start this?

By jpgrobler

Master (154)

jpgrobler's picture

27-02-2009, 13:27

Not afraid of soldering the cart Smile
the flash component is needed for the mmc bios etc is it not?

Page 5/13
1 | 2 | 3 | 4 | | 6 | 7 | 8 | 9 | 10