Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

code density (Announce)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 17.09.2010, 14:15

> [...] code density. [...]

Output or input code density? :-P

> You know, a megabyte truly is
> a lot of space. Even at worst, six bytes per instruction (8086),
> 1024*1024/6 = 174762, or 640*1024/6 = 109226 or more realistically
> 512*1024/6 = 87381.

IBM's decision to reserve 384 KiB for BIOS and text/graphics buffer mapping be damned!

> It's truly sloppy or crappy compilers that don't output small size anymore.

I heard they're optimizing for speed now.

> Or maybe it's the dumb linkers fault for not stripping the unused parts.

Yes, you should strip unused parts. Think about TSRs. DOS functions Int21.31 or Int27, as utilized by most TSRs. These are stupid because a majority of TSRs don't need a PSP while installed. Most people don't care to relocate their TSR code in a way to free up all installation code either. Bonus spite if they don't even free their environment. (Besides, memory fragmentation.)

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22649 Postings in 2111 Threads, 402 registered users, 851 users online (1 registered, 850 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum