I started to look at this but am away at the moment and can't progress it for a couple of weeks.
I think there are two basic approaches that can be used after the basic fourpack compiles are working. The first is to restore the original 8M code into the main App and then apply the other 8M fixes that are on here into the other Apps. The basic fourpack memory model then applies
The second and better way is to use the 8M support that is in AlterBIOS to provide the fille services. That should be straightforward for the Standard apps but is more complicated forGabonator which has the same fatfs code built in that AlterBIOS uses. It would be best to change the Gabonator internal calls like fread fwrite to call the corresponding function in AlterBIOS. There is already an API for this.
The second method means the Apps don't have to be 2/8M aware and I think also could save some RAM buffer space.
Statistics : Posted by alampert • on Fri Feb 14, 2014 10:38 am • Replies 8 • Views 684
I think there are two basic approaches that can be used after the basic fourpack compiles are working. The first is to restore the original 8M code into the main App and then apply the other 8M fixes that are on here into the other Apps. The basic fourpack memory model then applies
The second and better way is to use the 8M support that is in AlterBIOS to provide the fille services. That should be straightforward for the Standard apps but is more complicated forGabonator which has the same fatfs code built in that AlterBIOS uses. It would be best to change the Gabonator internal calls like fread fwrite to call the corresponding function in AlterBIOS. There is already an API for this.
The second method means the Apps don't have to be 2/8M aware and I think also could save some RAM buffer space.
Statistics : Posted by alampert • on Fri Feb 14, 2014 10:38 am • Replies 8 • Views 684