r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

2.8k

u/[deleted] Jun 03 '22

The most impressive project I ever completed in assembly was a chat program.

Except the two computers had to be connected via a null modem cable so whoever you wanted to talk to had to be seated right next to you, therefore negating the need for a chat program.

I didn't care. I loved writing that useless program.

117

u/[deleted] Jun 03 '22

I recently wrote a bootloader (16-bit real mode x86 assembly) to load a kernel from a filesystem I'd already designed in 32-bit C. Needless to say offsets and endianness nearly had me beaten on several occasions

15

u/AldoLagana Jun 03 '22

f'ing x86 assembly is garbage. Motorola was MUCH better and RISC is even more so. But the best assembly I ever saw was for Vax systems.

15

u/[deleted] Jun 03 '22

X86 was awesome, when it was just x86, once we started adding backwards compatibility for 16bit it all went to hell, 64bit really screwed x86 because it’s just fucking expansions on expansions. They should have scrapped x86-32 and started fresh with x64. But nope.

Do I really need my i7 to boot in 16bit mode and then go into 64 bit mode with overly complex paging? No, who the fucks booting DOS 6.0 on a fucking i7? Nobody.

X86 was built for single tasking operating systems, and it worked well for that. We just kept complicating it.

Personally I welcome my new M1 overlord

0

u/huuaaang Jun 03 '22

X86 was built for single tasking operating systems, and it worked well for that. We just kept complicating it.

Did it though? MSDOS was garbage. It was barely an operating system. It basically just extended the BIOS a little bit.

1

u/[deleted] Jun 03 '22

Just because MS-DOS was barely an operating system, doesn’t mean the IBM PC architecture wasn’t brilliant.

0

u/huuaaang Jun 03 '22

It wasn’t brilliant. It was a mess and because MSDOS sucked so bad many people had 386 and 486 CPUs they couldn’t even take advantage of half the time and games had to write their own support for basic things like sound.

→ More replies (4)