HNHacker News
TopNewBestAskShowJobs

parkertomatoes

136 karma · joined July 9, 2019

submissionscomments
parkertomatoes··on A whole boss fight in 256 bytes
Audio doesn't work, but here's an emulator link

https://parkertomatoes.github.io/v86/?type=com&content=aACgB...

parkertomatoes··on Show HN: 2,629 Tiny Demos from Pouet, Running in the Browser
Thanks! Interestingly, I can hear noise (not music) on localhost, but not on GitHub pages. Maybe Chrome has a remote host restriction?

https://parkertomatoes.github.io/demo-parade/?which=94376

parkertomatoes··on BootLogo: Logo language in 508 bytes of x86 machine code
I remember copying logo programs from a whiteboard into an Apple II as a grade schooler. It's a great "instant results" way to introduce kids to programming, and it lends itself to exploration in a way that today's copycats ($10/mo iPad subscriptions and visio diagrams to make a character walk around) don't.

Browser emulator link: https://parkertomatoes.github.io/v86/?type=mbr&content=%2FLg...

parkertomatoes··on FreeBasic
In this particular case, FreeBasic was written in Visual BASIC for DOS 1.0 until it could compile itself. But you're right that some of the original syntax it's added (e.g. C-style pointers) takes it a bit away from what BASIC was.
parkertomatoes··on Play Windows Pinball (Space Cadet) on the Web
All nostalgia aside, TIL that superfans reverse engineered "Space Cadet" from binary code [1] the same way they did Mario 64 [2]. Not only that, they've ported the result to use SDL and execute in the browser under Emscripten. A super-impressive technical accomplishment with a beautifully tangible result, wow!

My favorite bit - the reverse engineering process seems to have fixed the 64-bit bug Raymond Chen blogged about [3]

> I did not find it, decompiled game worked in x64 mode on the first try.

> It was either lost in decompilation or introduced in x64 port/not present in x86 build.

> Based on public description of the bug (no ball collision), I guess that the bug was in TEdgeManager::TestGridBox

[1] https://github.com/k4zmu2a/SpaceCadetPinball.

[2] https://github.com/n64decomp/sm64

[3] https://devblogs.microsoft.com/oldnewthing/20220106-00/?p=10...

parkertomatoes··on Testing Phone-Sized Faraday Bags
I was hoping they would test chip bags, because it was a plot device in the most recent Terminator movie.

After searching, I found that Kaspersky has a blog post on the topic: https://usa.kaspersky.com/blog/terminator-dark-fate-chips/18...

It surprised me that chip bags were more effective in their test than cookie tins, but only when they double-bagged it

parkertomatoes··on Sectorforth: A 16-bit x86 Forth that fits in a boot sector
Try it out in a browser emulator: https://parkertomatoes.github.io/v86/?type=mbr&content=6h54U...
parkertomatoes··on 3D animation with sound in 64 bytes of assembler
Thanks for the recommendation!
parkertomatoes··on 3D animation with sound in 64 bytes of assembler
Thanks for reporting! What's your browser? I've only tested with a recent Firefox and Chrome on Windows. I know iOS doesn't work but I don't have a means to debug it.
parkertomatoes··on 3D animation with sound in 64 bytes of assembler
In-browser emulation: https://parkertomatoes.github.io/v86/?type=com&content=FBO6M...
parkertomatoes··on Pacman in 512 bytes of x86 boot sector machine code
Playable link: https://parkertomatoes.github.io/v86/?type=mbr&content=uBMAz...