anacierdem / ed64 Goto Github PK
View Code? Open in Web Editor NEWThis repository contains essential tools to be used with everdrive64.
License: MIT License
This repository contains essential tools to be used with everdrive64.
License: MIT License
This is something that I will probably implement on the docker project first. Then it can be used here as well.
Only the real usb logs should go to the stdout
Remove duplicate function.
Remove unnecessary async modifiers & unnecessary asyncs in Promises.
Do readability improvements.
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.
I don't know if it is register compatible.
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.
So that the gdbstub lib can write to file stream (#7) while ed64 is initialized with everdrive_init(false)
. Maybe we can remove hooking alltogether...
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)
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
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.
It will be better to release the loader as loader64
such that npx can find it even if it is not locally installed.
It should have node & git to make development easier with vscode remote.
Users should not neet to assign all their functions for reboot to work.
We should use the active libdragon version instead when building dependencies.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.