Giter Site home page Giter Site logo

virtualmc's People

Contributors

johnbaumann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

virtualmc's Issues

SPM_PAGESIZE between platforms

SPM_PAGESIZE varies between platforms; 328p = 128, 2560 = 256.

Memory is currently read byte per byte, but no such functionality exists for writes, instead writes are per page. On the 328p this is straightforward as page sizes match the PS1 memory card at 128bytes per frame. The 2560 would require a more advanced scheme.

A page buffer could be used, assuming that each sector write would occur in sequential order.
In the event of a timeout or non-sequential write, one part of the buffer is filled with the missing frame, written, and committed, repeat for other frame? Store address for both frames etc.

Read code must also be adapted for address space beyond 64Kb:
far_away
far_far_away
far_far_far_away

Maximum array sizes are 0x7FFF, need to split data between const arrays and align with page sizes.

Supress Directory Entries

Directory entries for blocks outside of the writable range are not being prevented. Test data currently provides empty directory entries. For 328p, need to prevent writing Block 0 Frames 4-15. Mega 2560 will support a full card image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.