EZ-Flash USA Forum

Forum for the EZ-Flash I, II, III, IV & V Gameboy Advance & Nintendo DS USA Forum (Unofficial) Open since 2004!
It is currently Thu May 23, 2013 2:28 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
Sponsor
 Post subject: New EZ5 DLDI file test file (unaligned read added).
PostPosted: Wed Aug 08, 2007 3:10 am 
Offline
Moderator
 WWW  Profile

Joined: Wed Apr 13, 2005 4:49 am
Posts: 2857
Location: location, location
Edit: 21st Jan 2008. Thought I would add this to the top of the forum as a few of our newer members and visitors were unaware of it.
You can grab it from my site (source included in zip):
http://www.4shared.com/file/40141635/c1a4571/ez5s.html

Not my work but I figured it would be of some interest. GBADev thread and download: http://forum.gbadev.org/viewtopic.php?t=13879
If you want to post your results here I will happily convey them.

_________________
Come and join the EZFlash IRC channel #ezflash on irc.irchighway.net
Java irc client http://sosuke.com/ezflash/irc-ezflash/

DS rom rips, hacking and enhancements
GBA and DS rom hacking guide
Collection of useful threads for the EZ5 (kept updated)


Top
 
Sponsor
 Post subject:
PostPosted: Tue Aug 14, 2007 6:38 am 
Offline
User avatar
 Profile

Joined: Wed Feb 22, 2006 1:11 pm
Posts: 903
Location: earth, you idiot
sorry for my stupidity (make that 437+ sorries
but does this mean there is a problem with the original DLDI??
could this be why EZV homebrew isnt perfect compatible??

_________________
\o/______|o|______\o/_______o_______\o/______|o|______'o'______o


Top
 
 Post subject:
PostPosted: Tue Aug 14, 2007 3:10 pm 
Offline
 Profile

Joined: Sun Jun 17, 2007 6:48 am
Posts: 48
Slothette64 wrote:
sorry for my stupidity (make that 437+ sorries
but does this mean there is a problem with the original DLDI??
could this be why EZV homebrew isnt perfect compatible??


This means that some homebrews (e.g. wolfenstein 3d) didn't work
correctly 100 % (sometimes wrong data was read from files. Writing
to micro sd worked correct).

The reason is that DLDI works with pointers to bytes (8-Bit) (that
can theoretically be any memory address), and some DLDI drivers
(and also the original source code from EZ-V) works with
instructions that works with a 32-bit word (that are 4 bytes).
These 32-bit data reads/writes only work correct on
4-byte aligned memory addresses (e.g. address 0, 4, 8, 12,16,20,
...,400,404,408,...,1200,1204,1208,1212,...) on the ARM microprocessor
in the GBA/NDS.
Some applications are providing non-aligned pointers for
file operations (e.g. a pointer to adress 1201), and then
wrong data is read by the application.


Top
 
 Post subject: Re: New EZ5 DLDI file test file (unaligned read added).
PostPosted: Mon Jan 21, 2008 1:38 pm 
Offline
User avatar
 Profile

Joined: Wed Jan 24, 2007 12:34 pm
Posts: 5408
Location: Has left the place ...
Awesome !

Thank you so much ps2aich ! :)


Top
 
 Post subject: Re: New EZ5 DLDI file test file (unaligned read added).
PostPosted: Tue Jan 22, 2008 11:57 pm 
Offline
 WWW  Profile

Joined: Fri Dec 07, 2007 10:29 am
Posts: 268
Location: Belgium
Cool!


Top
 
 Post subject: Re: New EZ5 DLDI file test file (unaligned read added).
PostPosted: Thu Jan 24, 2008 5:45 pm 
Offline
 Profile

Joined: Thu Jan 24, 2008 6:45 am
Posts: 7
Awesome! thx man :D
now i can play those elusive homebrew games i can never seem to get to work 8)


Top
 
Sponsor
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits