f4grx, French
@f4grx@chaos.social avatar

This does not look like much, but my operating system is now able to do console I/O via a character device:

  • A device manager registers available devices
  • stdio init calls open on the console device, which allocates a file structure and returns a file descriptor,
  • then console_puts calls write() on the returned file descriptor to emit the string.

The calling convention makes maximum use of registers and is not that bad.

All of this was written in hc11 .

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • provamag3
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines