🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3506

Generating 80x86 code from a compiler (NO DOS)

#3506
From: Dan Newcombe
Date: Tue, 06 Oct 1992 17:42
17 lines
898 bytes
What I want to do is this:
  Generate pure 80x86 code from a compiler that could be used without
DOS.  I don't want stuff like INT 21 and all of those functions.
ie. If I were to write a program that would print A, I would want
  MOV AL,4B
  MOV AH,1
  INT 10
(I may be off on the functions or something but that's okay)
 instead of
  MOV AL,4B
  MOV AH,2
  INT 21

Can this be done with any compilers out there?  Or do I need to
write my own?

  -Dan
Technical Details
Message-ID: <9210061742.AA05172@deepthought.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!zaphod.mps.ohio-state.edu!cs.utexas.edu!gateway

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!zaphod.mps.ohio-state.edu!cs.utexas.edu!gateway
From: STDN%MARIST@VM.MARIST.EDU (Dan Newcombe)
Newsgroups: comp.os.msdos.programmer
Subject: Generating 80x86 code from a compiler (NO DOS)
Date: 6 Oct 1992 12:42:49 -0500
Organization: UTexas Mail-to-News Gateway
Lines: 17
Sender: daemon@cs.utexas.edu
Message-ID: <9210061742.AA05172@deepthought.cs.utexas.edu>
NNTP-Posting-Host: cs.utexas.edu