[OpenBIOS] Hello World

Ben Pfaff pfaffben at pilot.msu.edu
Tue Aug 26 17:19:50 CEST 2003


   cpa at hopper.unh.edu said:
   >  What would it take just to write a Hello World program?

   Ditch your fancy new SVGA cards, install an old MDA card, and 
	   mov ax,b800h
	   mov ds,ax
	   mov ax,'eH'
	   mov [0],ax
	   mov ax,'ll'
	   mov [2],ax
	    ...

     OK, I'm a bit rusty, but you get the idea.

IIRC, the segment base for MDA is 0xb000, not 0xb800 (CGA), but, as
with you, it's been a while.

---
OpenBIOS -- http://www.linkscape.net/openbios/
openbios-request at linkscape.net   Body: un/subscribe
Problems?  dcinege at psychosis.com



More information about the openbios mailing list