1 ; -----------------------------------------------------------------------
3 ; Copyright 2010 Gene Cumm
5 ; Portions from diskstart.inc:
6 ; Copyright 1994-2009 H. Peter Anvin - All Rights Reserved
7 ; Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin
9 ; This program is free software; you can redistribute it and/or modify
10 ; it under the terms of the GNU General Public License as published by
11 ; the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
12 ; Boston MA 02110-1301, USA; either version 2 of the License, or
13 ; (at your option) any later version; incorporated herein by reference.
15 ; -----------------------------------------------------------------------
20 ; Library file for geodsp*.asm
23 ; ES:BX points to the buffer with address
24 ; DX,CX as they should be for INT13h,AH=02
25 ; For now assume C<256
39 ; DX,CX as they should be for INT13h,AH=02
40 ; For now assume C<256
83 mov ah,0Eh ; Write to screen as TTY
84 mov bx,0007h ; Attribute
89 %include "writehex.inc"
96 s_end: db 0Dh, 0Ah, 'end'
97 s_crlf: db 0Dh, 0Ah, 0
99 ; This indicates the general format of the last few bytes in the boot sector
100 BS_MAGIC_VER equ 0x1b << 9