frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Golden Cross vs. Death Cross: Crypto Trading Guide

https://chartscout.io/golden-cross-vs-death-cross-crypto-trading-guide
1•chartscout•32s ago•0 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
2•AlexeyBrin•3m ago•0 comments

What the longevity experts don't tell you

https://machielreyneke.com/blog/longevity-lessons/
1•machielrey•4m ago•0 comments

Monzo wrongly denied refunds to fraud and scam victims

https://www.theguardian.com/money/2026/feb/07/monzo-natwest-hsbc-refunds-fraud-scam-fos-ombudsman
2•tablets•9m ago•0 comments

They were drawn to Korea with dreams of K-pop stardom – but then let down

https://www.bbc.com/news/articles/cvgnq9rwyqno
2•breve•11m ago•0 comments

Show HN: AI-Powered Merchant Intelligence

https://nodee.co
1•jjkirsch•14m ago•0 comments

Bash parallel tasks and error handling

https://github.com/themattrix/bash-concurrent
2•pastage•14m ago•0 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
1•billiob•15m ago•0 comments

Reverse Engineering Medium.com's Editor: How Copy, Paste, and Images Work

https://app.writtte.com/read/gP0H6W5
2•birdculture•20m ago•0 comments

Go 1.22, SQLite, and Next.js: The "Boring" Back End

https://mohammedeabdelaziz.github.io/articles/go-next-pt-2
1•mohammede•26m ago•0 comments

Laibach the Whistleblowers [video]

https://www.youtube.com/watch?v=c6Mx2mxpaCY
1•KnuthIsGod•27m ago•1 comments

Slop News - HN front page right now as AI slop

https://slop-news.pages.dev/slop-news
1•keepamovin•31m ago•1 comments

Economists vs. Technologists on AI

https://ideasindevelopment.substack.com/p/economists-vs-technologists-on-ai
1•econlmics•34m ago•0 comments

Life at the Edge

https://asadk.com/p/edge
3•tosh•40m ago•0 comments

RISC-V Vector Primer

https://github.com/simplex-micro/riscv-vector-primer/blob/main/index.md
4•oxxoxoxooo•43m ago•1 comments

Show HN: Invoxo – Invoicing with automatic EU VAT for cross-border services

2•InvoxoEU•44m ago•0 comments

A Tale of Two Standards, POSIX and Win32 (2005)

https://www.samba.org/samba/news/articles/low_point/tale_two_stds_os2.html
3•goranmoomin•47m ago•0 comments

Ask HN: Is the Downfall of SaaS Started?

3•throwaw12•48m ago•0 comments

Flirt: The Native Backend

https://blog.buenzli.dev/flirt-native-backend/
2•senekor•50m ago•0 comments

OpenAI's Latest Platform Targets Enterprise Customers

https://aibusiness.com/agentic-ai/openai-s-latest-platform-targets-enterprise-customers
1•myk-e•53m ago•0 comments

Goldman Sachs taps Anthropic's Claude to automate accounting, compliance roles

https://www.cnbc.com/2026/02/06/anthropic-goldman-sachs-ai-model-accounting.html
3•myk-e•55m ago•5 comments

Ai.com bought by Crypto.com founder for $70M in biggest-ever website name deal

https://www.ft.com/content/83488628-8dfd-4060-a7b0-71b1bb012785
1•1vuio0pswjnm7•56m ago•1 comments

Big Tech's AI Push Is Costing More Than the Moon Landing

https://www.wsj.com/tech/ai/ai-spending-tech-companies-compared-02b90046
5•1vuio0pswjnm7•58m ago•0 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
3•1vuio0pswjnm7•1h ago•0 comments

Suno, AI Music, and the Bad Future [video]

https://www.youtube.com/watch?v=U8dcFhF0Dlk
1•askl•1h ago•2 comments

Ask HN: How are researchers using AlphaFold in 2026?

1•jocho12•1h ago•0 comments

Running the "Reflections on Trusting Trust" Compiler

https://spawn-queue.acm.org/doi/10.1145/3786614
1•devooops•1h ago•0 comments

Watermark API – $0.01/image, 10x cheaper than Cloudinary

https://api-production-caa8.up.railway.app/docs
2•lembergs•1h ago•1 comments

Now send your marketing campaigns directly from ChatGPT

https://www.mail-o-mail.com/
1•avallark•1h ago•1 comments

Queueing Theory v2: DORA metrics, queue-of-queues, chi-alpha-beta-sigma notation

https://github.com/joelparkerhenderson/queueing-theory
1•jph•1h ago•0 comments
Open in hackernews

Beyond the 1 MB barrier in DOS

https://blogsystem5.substack.com/p/beyond-the-1-mb-barrier-in-dos
14•gone35•9mo ago

Comments

anthk•9mo ago
The books:

- Assembly language of the 80x86'es

- 8086, 80286 and 80386 microprocessors

- 386 and486 Advanced microprocessors / Introduction to the Pentium and Pentium Pro

On DOS and DPMI, DOSEmu ran DOS (FreeDOS, DRDOS and MSDOS) and it was much faster than DOSBox as it was something closer to Wine than full emulation, and it had a setting for DPMI too. DN3D ran in real time on machines where DOSBox would halt to it knees.

rep_lodsb•9mo ago
The absolutely minimal code to enter - and leave - protected mode is this:

    mov   eax,cr0
    inc   ax        ;sets bit 0, assuming it was clear
    mov   cr0,eax
    dec   ax        ;clears bit 0
    mov   cr0,eax
As the article correctly said, descriptor caches are what the CPU actually uses to access memory. Coming from real mode, the attributes are already set up the same as in privileged 16-bit protected mode (except that CS is writable), the limit is 64K, and the base is the segment number shifted left by 4, exactly what we require.

"But that's cheating!", some might say - not really, how else would it be possible to even execute one instruction in protected mode, if those registers weren't already initialized to a sane state? CS at the very least has to be, so that you can execute a jump to the "proper" protected mode segment right after loading CR0.

I remember reading some documentation that even said you can load GDT either before or after the "switch" to protected mode, which would be even more impossible if that somehow required different segments already set up.

If you want to be pedantic, there also has to be a jump in there to clear the prefetch queue and make sure the CPU actually interprets code according to the new mode, instead of the one that was active when the instruction was fetched and decoded. But that first jump can - and according to some Intel manuals, must! - actually be a near jump, staying in the same code segment at least for the moment. Since a lot of protected mode init code gets this wrong however, they had to keep support for a far jump as the first instruction as well, probably making the microcode for that instruction slower than it could have otherwise been.

(To enter "unreal mode", of course you do also need a GDT, but it doesn't need to have any descriptors other than one for the flat 4G data segment)

jmmv•9mo ago
Happy to see this shared again!

The previous submission was ~1 year ago in https://news.ycombinator.com/item?id=39292990, although it did not spark significant discussion threads.

Also, here are the related articles from this series:

* https://blogsystem5.substack.com/p/from-0-to-1-mb-in-dos

* https://blogsystem5.substack.com/p/running-gnu-on-dos-with-d...

* https://blogsystem5.substack.com/p/dos-memory-models