Tue May 17, 2016 7:56 pm
Sutchig wrote:Many thanks
tested with current Firefox and:
simple sd.init() sketch (SDFat)
wolf3d (petitfatfs)
current loader.hex (SDFat)
all works fine
GB-fat by Sorunome (viewtopic.php?f=13&t=3392) should work, too. As its derived from SDFat if i remember correctly.
Will test it as soon as possible.
I'm really impressed what possible with JavaScript and Browsers today. (like JSLinux)
Wed May 18, 2016 4:01 am
Mon Jun 06, 2016 11:03 am
Mon Jun 13, 2016 4:37 am
Mon Jun 13, 2016 3:47 pm
Mon Jun 13, 2016 4:37 pm
Mon Jun 13, 2016 8:02 pm
Mon Jun 13, 2016 9:40 pm
Thu May 04, 2017 9:34 am
Fri May 05, 2017 7:49 am
var reader = new FileReader();
reader.onload = function (e) {
try
{
self.CurrentFirmware = reader.result.replaceAll("\r", "").split("\n")
// game gets loaded here with the HEX data in self.CurrentFirmware
$.get( URL_OF_YOUR_HEX_FILE, function(data) {
self.CurrentFirmware = data;
// load game here as per usual
});