Re:Memories – 256 bytes demo winner of Revision 2020
by jeffhuys on Tuesday April 28, 2020 @07:03AM
(#23005768)
For macOS users (with brew):
brew install dosbox nasm
nasm memories.asm -fbin -o memories.com
dosbox
mount D ~/Development/memories (or whatever)
D:
memories
So, almost the same!Hit FN+Ctrl+F12 to speed it up (it's time-independent, for smoother animations, hit that combination quite a few times).
It didn't output any audio for me, but that's probably fixable.
Re:Memories – 256 bytes demo winner of Revision 2020
by kawzeg on Tuesday April 28, 2020 @10:56AM
(#23007588)
Using `dosbox .` skips two steps by mounting the current directory (at least on linux where I tried it)
Re:Memories – 256 bytes demo winner of Revision 2020
by kubanczyk on Tuesday April 28, 2020 @05:04AM
(#23005123)
I often need a small script/program as a sample to go under automation/orchestration/ci or some other monstrosity of similar provenance.
It will be fun to replace "sleep 5 && echo ok" with an automated version of such writeup :)
When trying to make my significant other to understand what was happening I wanted to run it myself. I was amazed how simple that was!
- Install the assembler[2]
- Install dosbox[3]
- Get the source[4] and put it into c:\temp\demo\memories.asm
- Start nasm and enter:
- Start dosbox and enter: - Press [ALT][ENTER] for fullscreenThe dosbox config is not optimized but it runs with sound with the default settings!
For me this is somehow much more impressive than simply watching the video.
[1] https://www.youtube.com/watch?v=Imquk_3oFf4
[2] https://nasm.us/
[3] https://www.dosbox.com/
[4] http://www.sizecoding.org/wiki/Memories#Original_release_cod...