Git Product home page Git Product logo

ed64's People

Contributors

anacierdem avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ed64's Issues

Use libdragon filesystem hooks for USB communication

e.g use;

ed64://usb both to read and write to the serial stream.

Then it will be possible to do fprintf without hooking to stdio.
Then other libs (e.g gdbstub64) can write to a file instead of using everdrive calls.

Also see #24

Fix reloading issues

Also see #34 if that's also involved. Probably using a dfffierent set of libdary functions causing things to change places. Then we are probably overwriting currently running code. Let's try to find some form of a layered loading solution if that's the case.

Implement direct SD card access via libdragon filesystem API.

Not an issue :) but more a question.

I came across your repo for ED64 Tools and when I saw "Implement direct SD card access via libdragon filesystem API." I got super excited. As I have been for a long time wanting to do a raspberry pi mod to my flash cart so I can sync game saves and modify gameshark cheats over wifi.

I'm curious how this feature is coming along or how you are thinking to implement it. I tried to browse the Libdragon API to find what it possible with the file system. Is this what you're planning to use? (https://libdragon.dev/ref/group__system.html)

sendData crash when buffer size doesn't line up

Sorry in advance if I don't have the most reproducible use case in the world, but hopefully I can provide both the issue and a solution...

I was repeatedly getting the error RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: "length" is outside of buffer bounds at the end of my writes; the last print I would get was "Writing at 7Mb/7.02978515625Mb"

After looking at sendData I suspected using STATUS_UPDATE_AT as the third parameter in Buffer.from looked fishy, since we should have the exact required size available.

I locally modified Buffer.from to take size-offset, and provided that to the writeNext at the end of sendData as well.

Might be an issue specific to the version of node I'm using, or could be the exact sizes I'm using. I'm not a node expert, so just in case it's helpful I'm on 10.16.0.

Some refactoring

Remove duplicate function.
Remove unnecessary async modifiers & unnecessary asyncs in Promises.
Do readability improvements.

Change npm package name

It will be better to release the loader as loader64 such that npx can find it even if it is not locally installed.

Web loader

Implement a web based rom loader. There is no serial port support on deno yet, but it is possible to have a common implementation once it has landed in the future.

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.