4 ms·
I did the same thing! The year was 1997. There was some kind of online coding competition back then if I recall correctly. Mine is larger (256 bytes) but it has
by adhoc32 6y ago
I did the same thing! The year was 1997. There was some kind of online coding competition back then if I recall correctly. Mine is larger (256 bytes) but it has a nice background image (a mandelbrot fractal). Here is the binary:
M8CO4LATzRC7JABmZP83ZMcHvwFkjE8CaACgB7AI+jPJSfOqv0ABscaqUL3C/jPAM9tXvxAAZg+/
8w+v2GaYZvfoZovQZg+v9mYrxmbB+AcrxS0AAcH7BivZg8NkZgPWZsHqEHUDT3XNi8cEEF+qRXW8
WKris/u/6Hu+2HyL6rv///7EsQK62gPsqAh1++yoCHT74vGwCSaAPQ+qdoBP/sAmgDwPJogED4Zy
/wP9A/P+zHXOZmSPBiQAsAPNEMPkYIrgPC11A71AATwRdQO9wP48HnUDvf//PCB1A70BADxQdQO7
QAE8SHUDu8D+PEt1A7v//zxNdQO7AQCwIOYgzw==
- gregschlom 6y agoRunning on twt86.com: http://twt86.co/?c=M8CO4LATzRC7JABmZP83ZMcHvwFkjE8CaACgB7AI%2BjPJSfOqv0ABscaqUL3C%2FjPAM9tXvxAAZg%2B%2F8w%2Bv2GaYZvfoZovQZg%2Bv9mYrxmbB%2BAcrxS0AAcH7BivZg8NkZgPWZsHqEHUDT3XNi8cEEF%2BqRXW8WKris%2Fu%2F6Hu%2B2HyL6rv%2F%2F%2F7EsQK62gPsqAh1%2B%2ByoCHT74vGwCSaAPQ%2BqdoBP%2FsAmgDwPJogED4Zy%2FwP9A%2FP%2BzHXOZmSPBiQAsAPNEMPkYIrgPC11A71AATwRdQO9wP48HnUDvf%2F%2FPCB1A70BADxQdQO7QAE8SHUDu8D%2BPEt1A7v%2F%2FzxNdQO7AQCwIOYgzw%3D%3D http://twt86.co/?c=M8CO4LATzRC7JABmZP83ZMcHvwFkjE8CaACgB7AI%... I see the mandelbrot background but then it exits
- adhoc32 6y agoNot sure why, just tested it in native dosbox and it works. edit: try pressing any arrow key when the fractal is drawing. ~controls : Player 1 Player 2 (or arrows) W 8 A + D 4 + 6 X 2
- mycall 6y agoThis is so interesting, VM using a URL for the code.
- gregschlom 6y agoA bit of hair splitting, but technically it's an emulator, not a VM, since it's just simulating the CPU using javascript in your browser.
- monocasa 6y agoEmulators are VMs too.
- eru 6y agoWell, depends a bit on what definitions you use. For example there's VM in the sense of JVM. But there's also in VM in the sense of Xen (VM) vs Docker (not a VM). And probably a few more slightly different usages.
- monocasa 6y agoThose are both VMs in the same sense. A VM creates an abstract, indirect implementation of a computing system. Sometimes that's with a lot of hardware offload as in Xen or picojava. Sometimes that's with a JIT as in HotSpot, orginal VMWare, or Transmeta. Sometimes that's just with an interpreter like the original JVM or Dosbox. They're all virtual machines whether they're running code originally meant for execution on hardware or not.
- eru 6y agoThat's a pretty wide definition. One that also encompasses any 'bare metal' OS, because they use microcode these days.
- mycall 6y agoIt is a base64 encoded highly optimized x86 assembly in DOSBox emulator inside a Javascript VM Chrome browser inside my Windows 10 Sandbox Nested Hyper-V VM inside VMware Workstation inside my Windows 10 machine.
- anonexpat 6y agoIt’s turtles all the way down.
- SomeoneFromCA 6y agoYeah, and then CPU which translates x86 code into uOPs.
- mfabbri77 6y ago10 years later, I wrote a fractal zoomer in asm, it was 399bytes, with a nice color palette. https://www.pouet.net/prod.php?which=24447 https://www.pouet.net/prod.php?which=24447
- Frondo 6y agoI remember that! it was on rec.games.programmer, wasn't it?
- adhoc32 6y agoIt was usenet for sure, probably the rec.games.programmer.