frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

MegaRace, CD-ROM, FMV, and the Multimedia Dream of the 1990s

https://retro365.blog/2025/08/29/megarace-cd-rom-fmv-and-the-multimedia-dream-of-the-1990s/
1•Michelangelo11•2h ago

Comments

madmoose•1h ago
I've been slowly reverse engineering Cryo's Dune, coded by Rémi Herbulot in assembler, and the code is both brilliant and insane.

Every function (to the extent that you can call it a function in assembler) is manually tail call optimized, often to the point of just doing fallthrough by placing functions after each other.

All arguments and return values are passed in registers and flags. Sometimes I'm investigating where a pointer in the SI or DI register came from and I'll have to trace back through several function layers that just didn't touch those registers to find the place it was set. When you're looking at a function, all registers and flags are potential return values.

Everything is hardcoded, all the resource id's are fixed, extracting things from the resources files requires that you know what's where. In the file ATTACK, entries 0–52 are sprites, 53-55 are palettes, and he does math on the id's to find the previous/next one (dec/inc).

Some of the resource files are compressed, which you can tell by checksumming the 6 byte header. If the header bytes add to 0xAB and the third byte is zero, it's compressed.

In the video decoder, there are chunks for sound that start with SD, chunks for palette updates that start with PL, and chunks for frame data which are identified by them /not/ having a chunk identifer. That saves a whole 2 bytes per frame!

The globe renderer is a work of art, the room renderer constructs the game backgrounds from sprites, lines and polygons with randomly dithered coloring – although his implementation of the Bresenham line algorithm is slightly broken :). In the CD version the game has lipsync data embedded in the audio files.

I built in 8086 emulator just to help me reverse engineer this game…

Berlin Interpretation (2008)

https://www.roguebasin.com/index.php/Berlin_Interpretation
1•xyzzy3000•1m ago•0 comments

America Surrenders in the Global Information Wars

https://www.theatlantic.com/ideas/archive/2025/09/unilateral-disarmament/684086/
1•JumpCrisscross•6m ago•0 comments

The $1T Opportunity to Build the Next Amazon in Retail

https://www.sequoiacap.com/article/ai-retail-opportunity/
1•teleforce•6m ago•0 comments

From zero to validated experiment in hours

https://mcastenfors.substack.com/p/from-zero-to-validated-experiment
1•mcastenfors•6m ago•0 comments

Susan Sontag's Notes on "Camp" [pdf]

https://monoskop.org/images/5/59/Sontag_Susan_1964_Notes_on_Camp.pdf
1•sebg•7m ago•0 comments

Brat Generator

https://www.bratgenerator.com.cn/
1•GINGINli•12m ago•0 comments

The Costs of Living Alone

https://www.theatlantic.com/family/archive/2021/10/living-alone-couple-partner-single/620434/
1•JumpCrisscross•12m ago•0 comments

Show HN: To_Shout – A Bare-Metal Output Library with Zero Dependencies

1•Forgret•13m ago•0 comments

AI and Default-as-a-Service

https://www.unvritt.com/story/ais-untapped-30b-arr-goldmine-fwfey/view
1•gkv856•15m ago•1 comments

Great Endings That Didn't Make Sense

https://medium.com/luminasticity/great-endings-that-didnt-make-sense-3046246e7c1a
1•bryanrasmussen•19m ago•0 comments

Show HN: ScrapingDuck a Web Scraping API

https://scrapingduck.com/
1•gsoftwarelab•21m ago•0 comments

Why Eval Startups Fail

https://thomasliao.com/eval-startups
1•tosh•21m ago•0 comments

Show HN: HuggingFaceModelDownloader v2.0–resumable, filterable HF Downloads

https://github.com/bodaay/HuggingFaceModelDownloader
1•bodaay•22m ago•0 comments

Building a Better Web Takes a Village

https://blog.kagi.com/kagi-specials
1•martinhath•24m ago•0 comments

Windows 11 24H2: Silent fix for (Japanese) SSD problems?

https://borncity.com/win/2025/09/06/windows-11-24h2-silent-fix-for-japanese-ssd-problems/
1•XzetaU8•30m ago•0 comments

Surzhyk: Ukrainians are increasingly speaking a hybrid language

https://theconversation.com/surzhyk-why-ukrainians-are-increasingly-speaking-a-hybrid-language-th...
1•croemer•30m ago•0 comments

How to Build Forms Like a Pro

https://astro-blog-cyan-alpha.vercel.app/blog/build-forms-like-a-pro/
1•Omerd6•32m ago•0 comments

Synthetic: All-Inclusive AI Platform with 19 Always-On Models for $20-60/Month

https://synthetic.new/landing/home
1•pulkas•33m ago•1 comments

Straits of Messina Train Ferry

https://medium.com/@gragnani/crossing-the-straits-of-messina-on-europes-last-passenger-train-ferr...
2•xg15•34m ago•1 comments

Show HN: I Built Open Source Claude Code Alternative, but Better at API Testing

https://github.com/hervekom37/Ani-Code
7•hervekom•36m ago•0 comments

Contemplative Artificial Intelligence

https://arxiv.org/abs/2504.15125
2•lucasluitjes•38m ago•2 comments

JSON Streaming

https://en.wikipedia.org/wiki/JSON_streaming
3•tosh•39m ago•1 comments

Near 10M primes/second: Erdős-Selfridge categorization in C

https://gist.github.com/opsec-ee/bd829c3781bcfaace131628f8f4e6689
1•m_rn•40m ago•1 comments

Social dynamics of Bluetooth speakers (2022)

https://dynomight.net/speakers/
1•alexharri•40m ago•0 comments

Create Your BEP20 Token in Days with Cryptiecraft

https://cryptiecraft.com/bep20-token-development
1•monroealex17•45m ago•1 comments

The high cost of reusing plastics

https://mondediplo.com/2024/12/15recycling
1•M95D•47m ago•0 comments

Show HN: Simple app to share AI image prompt templates

https://mix-re.web.app/
1•maxaw•54m ago•0 comments

Is Ooxml Artificially Complex?

https://hsu.cy/2025/09/is-ooxml-artificially-complex/
2•theanonymousone•1h ago•0 comments

The State of AI Browser Agents in 2025

https://fillapp.ai/blog/the-state-of-ai-browser-agents-2025
1•aramvr•1h ago•1 comments

Visualizations on Statistics and Signal Processing

https://tools.laszlokorte.de/
1•thunderbong•1h ago•0 comments