Microdisc replacement project

This is the right place to discuss on how to implement hardware vsync, adding a VIA or AY chipset, puting multiple roms, or how to design a new flash expansion card.
User avatar
metadata
Pilot Officer
Posts: 114
Joined: Wed Aug 31, 2011 7:59 pm
Location: Hildesheim, Germany
Contact:

Re: Microdisc replacement project

Post by metadata » Mon Dec 16, 2013 11:46 pm

i decomment the message line in this function. Here is the result.
Attachments
IMG_20131216_234620.jpg
IMG_20131216_234620.jpg (116.97 KiB) Viewed 3181 times

User avatar
iss
Flight Lieutenant
Posts: 491
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Microdisc replacement project

Post by iss » Mon Dec 16, 2013 11:57 pm

I'm glad to help!
Unfortunately, this is just diagnose and not fix.
The easiest what I can suggest is to try another SD-Card :).

Else, the execution fails exactly here (in function 'card_read'):

Code: Select all

        /* Wait until 0xFE is received */
        while ((card_response = SPI(0xFF)) == (uint8_t) 0xFF);
        
        if (card_response != 0xFE)
                return 0;
but I don't have idea how this issue can be solved.
May be some delay ... but this is just pure guess.

User avatar
barnsey123
Flight Lieutenant
Posts: 379
Joined: Fri Mar 18, 2011 10:04 am
Location: Birmingham

Re: Microdisc replacement project

Post by barnsey123 » Tue Dec 17, 2013 9:39 am

If it's a card thing...Check the class of the card...different cards allow writing at different speeds.

http://kb.sandisk.com/app/answers/detai ... ed-ratings

Try either a higher or lower class than the one you are using...maybe worth a try.

User avatar
kenneth
Flying Officer
Posts: 179
Joined: Fri Nov 26, 2010 9:11 pm
Location: France PdD
Contact:

Re: Microdisc replacement project

Post by kenneth » Fri Dec 20, 2013 8:41 pm


User avatar
Dbug
Site Admin
Posts: 2360
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Microdisc replacement project

Post by Dbug » Fri Dec 20, 2013 9:30 pm

I will perhaps say something stupid, but when I see the code something really annoys me: As far as I can see, the CUMULUS.BIN file is loaded sector by sector with the firmware erase and update being done at the same time for each sector.

Is it because there's not enough memory?

Personally I would have allocated a buffer large enough to load the entire file in memory, eventually do checksums and whatnots, and then only start the update/erase/flash process, knowing that I'm not going to have a partial read error because the user removed the card or there was a flimsy contact on the connector.

User avatar
metadata
Pilot Officer
Posts: 114
Joined: Wed Aug 31, 2011 7:59 pm
Location: Hildesheim, Germany
Contact:

Re: Microdisc replacement project

Post by metadata » Sun Dec 22, 2013 9:41 pm

D'oh!
You can call me stupid.... don't tell anyone. There is a big diffenrenz between an HEX and a BIN file.

Good news, everyone!
I found the problem :)
Now i can update the firmware from the sd-card.

User avatar
Dbug
Site Admin
Posts: 2360
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Microdisc replacement project

Post by Dbug » Sun Dec 22, 2013 9:53 pm

Awesome :)

I would not call you stupid, everybody is entitled in doing errors :)

User avatar
Chema
Game master
Posts: 2033
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Microdisc replacement project

Post by Chema » Sun Dec 22, 2013 10:15 pm

Great! That is excelent news! Congrats!

User avatar
Symoon
Archivist
Posts: 1160
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France
Contact:

Re: Microdisc replacement project

Post by Symoon » Mon Dec 23, 2013 8:12 am

Great news indeed!

User avatar
metadata
Pilot Officer
Posts: 114
Joined: Wed Aug 31, 2011 7:59 pm
Location: Hildesheim, Germany
Contact:

Re: Microdisc replacement project

Post by metadata » Mon Dec 23, 2013 7:40 pm

time to burn some roms :)
Attachments
IMG_20131223_192206.jpg
IMG_20131223_192206.jpg (156.82 KiB) Viewed 3039 times

User avatar
barnsey123
Flight Lieutenant
Posts: 379
Joined: Fri Mar 18, 2011 10:04 am
Location: Birmingham

Re: Microdisc replacement project

Post by barnsey123 » Tue Dec 24, 2013 10:49 am

Hurry up! Santa's waiting... :wink:

JonB
Officer Cadet
Posts: 38
Joined: Tue May 14, 2013 9:02 pm

Re: Microdisc replacement project

Post by JonB » Sun Dec 29, 2013 5:28 pm

Too late, he's bogged off back to Lapland!

Still, I would not be discouraging you from completing the "Great Work". I want to play Space:1999 on a real Atmos...! ;)

User avatar
coco.oric
Flight Lieutenant
Posts: 425
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: Microdisc replacement project

Post by coco.oric » Mon Dec 30, 2013 6:37 am

Great work, thanks a lot !
It's my christmas gift :o
coco.oric as DidierV, CEO Member
Image Image

User avatar
metadata
Pilot Officer
Posts: 114
Joined: Wed Aug 31, 2011 7:59 pm
Location: Hildesheim, Germany
Contact:

Re: Microdisc replacement project

Post by metadata » Wed Jan 15, 2014 6:46 pm

btw... :)
How to update the Oric Cumulus
http://www.youtube.com/watch?v=WoVpMwnYQIY

User avatar
ibisum
Squad Leader
Posts: 863
Joined: Fri Apr 03, 2009 8:56 am

Re: Microdisc replacement project

Post by ibisum » Wed Jan 15, 2014 8:01 pm

So terribly, terribly exciting! I will update my Cumulus' tomorrow and have a play!

Please sir, take a bow! This is AWESOME!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests