File Export
-
Version 40 QR Code can hold up to 1852 chars. The information encoded can be Text or any other suitable Data (not confined to URLs) eg MIDI files, short code segments etc.
A 50 line Fuze program is about 1.5 k and I agree anything longer than this could be a bit of a stumbling block, but breaking the code up into 1 k chunks could work.
As an aside, I put the Nintendo Switch into flight mode and Korg still generated a QR code which was readable so no server-side link was needed. This was a very long music sequence by the way.
Thanks and please keep safe.
John -
This is a bit over the top but it's a sort of a start. Not sure where I'm going with it but what the heck....
qr_generator ID: 5KQE2MND15 -
@faz808 I did my own experiment (NX29DHMDNN). Would you like to collaborate on this or are you happier doing your own thing?
-
@faz808 I know this is off topic, but what an amazing resume! I bet you've got some stories to tell :)
-
@pianofire Only just seen your reply.
Your QR took a little longer to register than mine. I'm not sure why. My 3 alignment "icons" are slightly thicker if you know what I mean. Your outer outline seems thinner when scanned. How did you extract the 1's and zeros's? I manually went across each of the 21 rows pressing 1 or 0 and then converted the binary string to hex.
I'm not sure where to go from here. I contemplated extending it to the next stage - from the present 18 characters - but it starts getting difficult.
I've tried sending Morse Code by flashing a white box but that was a flop - >50% success with a four letter word !
OCR works great if you want a screen dump to text but that's not what I was aiming for.
I'm going to get stuck into the QR Code Wiki and see if I can learn anything. Looks a bit complicated but maybe, just maybe something might click. There's now doubt that Fuze can handle the maths if I could only get my head around it.
Any thoughts? -
I of course meant <50% success …..
-
@Spacemario Yes, sir. You can say that again.... If you want to know anything about Z80, 6502, 68000 I'm your man. If I knew as much about Make files and C+ syntax as I do about machine code programming I'd be wealthy. Actually that's given me an idea for a 8086 assembler written in Fuze. Looks like a new project could be taking shape ……..
-
Instead of QR codes, why not use audio?
-
@toxibunny The Sinclair Spectrum used audio to send/receive data to a tape recorder back in the eighties. 2000 Hz for a 1 and 1000 Hz for a zero I believe. There is a Wiki page describing it in detail. The problem is the receiving side of things.
I used to have a copy of "The Spectrum Rom Disassembled", a book which contained a disassembled listing for the main rom with a full explanation for each part - including the tape interface code. Some game publishers had an interesting protection scheme which involved summing all the bytes in the opening screen and xor'ing the result with the incoming data to produce the run code. This was easily overcome by writing a small piece of your own code somewhere and doing the xor etc before the main data came in. Cat and mouse. Whatever was tried was cracked by someone. Happy days.
Went off track there a bit. Anyway, audio is probably too difficult for file transfer. -
@faz808 I did it by hand as well. So far all I have done is look at the wikipedia page and some code I found on the internet. I am quite interested in doing it if only as an academic exercise. It seems to get more complicated with the later versions (and bigger messages). Perhaps I will see if I can get a small one working first and see where it goes from there.
-
At least one of the methods being discussed was already rejected (not internally). I wish I could say more but it's under NDA. I'm genuinely not trying to be awkward or funny or anything there but we aren't always allowed to go into detail.
-
@faz808 i agree to this as a systemsintegrator its very important to have a external backup.For example if there is a fire in a datacenter.
-
I wish we could get programmatic access to Fuze's clipboard. That would make any attempts to write our own export functions (be it QR codes, sound, or whatever) more useful, and also it would open up the possibility of writing one's own music editors, sprite editors, etc., and then use the generated data in another program.
Any plans for this in the future?
-
@pianofire With a joint effort I think this may be doable. Back to the Wiki page ...
-
Not sure if we're allowed to give external links but this looks interesting and may be the answer...
https://www.thonky.com/qr-code-tutorial/format-version-information
-
@vinicity Yes this is on the radar but not for the current patch
-
@faz808 Yes this looks spot on. We don't normally encourage external links but when it is to provide answers to questions and useful resources it is fine.
-
@faz808 so it breaks down functionally into:
Data Analysis
Data Encoding
Error Correction Coding
Structure Final Message
Module Placement in Matrix
Data Masking
Format and Version InformationDo you have any preference? The data analysis looks fairly straightforward. Are we even going to bother with Kanji at this point?
-
@pianofire That is awesome!
Actually it would be nice to have access to some sort of roll-out plan? To know which features are coming and approximately when?
-
Good question. Is simple alphanumeric mode going to any easier?
Looking at the article, I think the first step might be to write a binary - hex/hex - binary function. This would confirm each step of the authors calculations.