Skip to primary content
Skip to secondary content

C For Dummies Blog

Main menu

  • C For Dummies (home)
  • History
  • Series
  • Supplemental
  • Blog Miscellany

Tag Archives: int86 function

Back When Unions Were Useful

Posted on September 26, 2026 by dgookin
5

Though it’s shunned today, using a union in your C code was common in the 1980s. Back then, compilers and IDEs such as Borland’s TurboC were customized for the MS-DOS operating system. Daring C programmers used the C language’s union keyword to access the system’s hardware directly. Scary.
Continue reading →

Posted in Lesson | Tagged dos.h, int86 function, union REGS | 5 Replies

Recent Posts

  • Fractions of the Binary Kind
  • Counting Without Looping – Solution
  • The Magic Behind Real Numbers
  • Counting Without Looping
  • Splitting Up a Real Number

Recent Comments

  • M.Stumpfl on Counting Without Looping – Solution
  • Chris Webb on Counting Without Looping – Solution
  • M.Stumpfl on Counting Without Looping – Solution
  • dgookin on Counting Without Looping – Solution
  • M.Stumpfl on Counting Without Looping – Solution

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 1997-2026 by QPBC.
All rights reserved

Proudly powered by WordPress