Search the web
Sign In
New User? Sign Up
vmu-dev · The VMU Development list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[vmu] VMU and Flash ROM...   Message List  
Reply | Forward Message #52 of 1156 |
[vmu] Re: VMU and Flash ROM...


Ok, I've spotted what you're doing wrong. Somehow, you seem to have
misunderstood the concept of big-endianness. The _most_ significant
part of the address goes into the _lowest_ memory location ($7D), the
_least_ significant part of the address goes into the _highest_
memory location ($7F). So


Alessandro> ld lev_offs_lo
Alessandro> st $7d ; $7d = lo-offset current
write-address
Alessandro> ld lev_offs_hi
Alessandro> st $7e ; $7e = hi-offset current
write-address
Alessandro> mov #0,$7f ; $7f = 0 (24 bit big endian)

should be

ld lev_offs_lo
st $7f ; $7f = lo-offset current write-address
ld lev_offs_hi
st $7e ; $7e = hi-offset current write-address
mov #0,$7d ; $7d = 0 (24 bit big endian)


// Marcus





Tue Mar 7, 2000 1:33 pm

marcus@...
Send Email Send Email

Forward
Message #52 of 1156 |
Expand Messages Author Sort by Date

Hello. I'm currently writing a program where I need to write data to the VMU Flash Rom. Only problem, for some reason I can't write to addresses that are not...
Alessandro Sanasi
tyro@...
Send Email
Mar 6, 2000
1:15 am

... Alessandro> I'm currently writing a program where I need to write data to the VMU Alessandro> Flash Rom. Only problem, for some reason I can't write to...
Marcus Comstedt
marcus@...
Send Email
Mar 6, 2000
3:00 pm

Hello. About my problem with not being able to correctly write to the Flash Rom, here is some sample code. For reasons unknown to me, this one seems to cause...
Alessandro Sanasi
tyro@...
Send Email
Mar 7, 2000
2:25 am

Ok, I've spotted what you're doing wrong. Somehow, you seem to have misunderstood the concept of big-endianness. The _most_ significant part of the address...
Marcus Comstedt
marcus@...
Send Email
Mar 7, 2000
1:33 pm

... Aha, I see... (already found it out by myself, BTW). :) However, aren't word-values (16 bit), dword-values (32 bit) etc. always stored in memory with the...
Alessandro Sanasi
tyro@...
Send Email
Mar 19, 2000
10:23 pm

tyr-@... (alessandro sanasi) wrote: original article:http://www.egroups.com/group/vmu-dev/?start=80 ... always ... example, ... is it ... Well, it...
Marcus Comstedt
marcus@...
Send Email
Mar 26, 2000
9:28 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help