Search found 125 matches

by doragasu
Tue Aug 09, 2016 2:14 pm
Forum: Megadrive/Genesis
Topic: Best way to locate some C code in work RAM?
Replies: 1
Views: 648

Best way to locate some C code in work RAM?

I want to do some tests to see if I'm able to write to the flash chips of my WiFi cartridge from the Megadrive itself. As you cannot read data (e.g. program instructions) from the flash chips while data is being erased/written to them, I want to locate the code handling flash routines in RAM. So far...
by doragasu
Sat Aug 06, 2016 5:07 pm
Forum: Hardware
Topic: Current Consumption Measurements of Various Game Cartridges
Replies: 9
Views: 4104

Re: Current Consumption Measurements of Various Game Cartridges

Anyway, it might just work drawing 170 mA, we know 120 mA works, but we do not know if 170 mA works... I'm just walking on the edge, but it might work if I'm lucky... And if it does not work, a switching power supply should lower the current to around the safe 120 mA limit... Using external power su...
by doragasu
Fri Aug 05, 2016 3:33 pm
Forum: Cartridge
Topic: Add feature to a cart
Replies: 10
Views: 4135

Re: Add feature to a cart

Unless you need some kind of insulation (most circuits do not need it) the grounds of all subcircuits must be connected. If you use an external power source, make sure you do NOT connect both 5V rails (the one on the Megadrive and the external one). In fact, if you use an external power source, the ...
by doragasu
Fri Aug 05, 2016 3:21 pm
Forum: Hardware
Topic: Current Consumption Measurements of Various Game Cartridges
Replies: 9
Views: 4104

Re: Current Consumption Measurements of Various Game Cartridges

Too bad I didn't see this before for my WiFi cart design. The ESP8266 module can draw up to 170 mA , and that's the module alone (I have to add the UART, Flash chip and the transceivers). So far I have experienced no problems, but I have not yet done stress tests. If I would have read this before, I...
by doragasu
Fri Aug 05, 2016 2:41 pm
Forum: Hardware
Topic: [WIP] Not a debug cart project!
Replies: 46
Views: 7847

Re: [WIP] Not a debug cart project!

I have created a repo to gather all of the above, and also to upload documentation: https://github.com/doragasu/mw Most commands are working so far: - AP scanning. - AP configuration (up to 3 configurations supported and stores on the module Flash). - AP join/leave. - DHCP and static IP configuratio...
by doragasu
Thu Jul 28, 2016 9:39 am
Forum: Hardware
Topic: [WIP] Not a debug cart project!
Replies: 46
Views: 7847

Re: [WIP] Not a debug cart project!

I was not planning to release the sources until they were more mature, but I have just open sourced the code right now. Please have in mind this is WIP, and some of the repositories contain specially ugly test code. The repos: Programmer bootloader: https://github.com/doragasu/mw-mdma-bl Programmer ...
by doragasu
Tue Jul 26, 2016 7:34 am
Forum: Hardware
Topic: [WIP] Not a debug cart project!
Replies: 46
Views: 7847

Re: [WIP] Not a debug cart project!

BTW if anyone reading this is interested in adding MegaWiFi support to any emulator (multiplatform FOSS emulators preferred, but anyone is welcome), please contact me here or on Twitter (@doragasu). For what I'm hearing lately, not having support in any emulator is what is keeping most developers aw...
by doragasu
Tue Jul 26, 2016 6:54 am
Forum: Hardware
Topic: Savegame drive idea
Replies: 23
Views: 4302

Re: Savegame drive idea

Also one of the reasons I want to avoid SD cards is that then you'll be expected to cope with the FAT32 format (or worse, ExFAT), which makes things significantly more complex compared to a custom simpler filesystem. Not really. You can read and write sectors directly without using a filesystem. No...
by doragasu
Mon Jul 25, 2016 4:39 pm
Forum: Hardware
Topic: [WIP] Not a debug cart project!
Replies: 46
Views: 7847

Re: [WIP] Not a debug cart project!

This project has been paused some time, because I had not too much spare time, and I'm also working on a NES cartridge XD. But I have been coding a bit lately and I have TCP sockets working! A small video showing the console connecting to a echo server, sending a hello string and receiving the reply...
by doragasu
Sun Mar 27, 2016 8:50 pm
Forum: Hardware
Topic: Reading and writing bytes. Addresses, data, LDSW and UDSW...
Replies: 17
Views: 4212

Re: Reading and writing bytes. Addresses, data, LDSW and UDSW...

The easiest way is providing the download URL :wink:

It's curious, I repeated searching "M68K User Manual" using Bing, and the manual does neither appear. It looks like only Google hits it...
by doragasu
Sat Mar 26, 2016 3:04 pm
Forum: Hardware
Topic: Reading and writing bytes. Addresses, data, LDSW and UDSW...
Replies: 17
Views: 4212

Re: Reading and writing bytes. Addresses, data, LDSW and UDSW...

Seems like you are confused, from what you wrote in the post you linked, you actually observed the opposite i.e UDSW being lowered for even addresses, which is indeed correct behavior You are right, I was confused, and what I observed matches the diagram HardwareMan posted. I'm feeling a bit stupid...
by doragasu
Sat Mar 26, 2016 2:53 pm
Forum: Hardware
Topic: Reading and writing bytes. Addresses, data, LDSW and UDSW...
Replies: 17
Views: 4212

Re: Reading and writing bytes. Addresses, data, LDSW and UDSW...

Could you please point me to a manual? Searching the net, I can easily find the m68k programmer manual, but it does not deal with hardware, just programming details. Because you must search M68K User Manual, not M68K Programming Manual. http://i.imgur.com/MBSjP1J.png No m68k manuale here (neither o...
by doragasu
Fri Mar 25, 2016 8:50 pm
Forum: Hardware
Topic: Reading and writing bytes. Addresses, data, LDSW and UDSW...
Replies: 17
Views: 4212

Re: Reading and writing bytes. Addresses, data, LDSW and UDSW...

Sik wrote:
doragasu wrote:#LDSW is lowered for even addresses, and #UDSW is lowered for even addresses.
:?
Edited and corrected :wink:
by doragasu
Fri Mar 25, 2016 3:24 pm
Forum: Hardware
Topic: Hmmmm.......?
Replies: 25
Views: 6712

Re: Hmmmm.......?

Looks awesome! It's wonderful to see how much routing has improved!!!

Loving the silk screen bonus messages!

Sorry but your DMA bugs are on another cartridge :D :D :D
by doragasu
Fri Mar 25, 2016 3:19 pm
Forum: Hardware
Topic: Reading and writing bytes. Addresses, data, LDSW and UDSW...
Replies: 17
Views: 4212

Re: Reading and writing bytes. Addresses, data, LDSW and UDSW...

Is it real so hard to look into M68K UM? Could you please point me to a manual? Searching the net, I can easily find the m68k programmer manual, but it does not deal with hardware, just programming details. Also there is something that does not match my observations... In the diagram, #LDS is activ...