|
;; $Id: writestr.inc,v 1.1 2007-09-01 22:44:06 niro Exp $ |
|
1 |
;; ----------------------------------------------------------------------- |
;; ----------------------------------------------------------------------- |
2 |
;; |
;; |
3 |
;; Copyright 1994-2002 H. Peter Anvin - All Rights Reserved |
;; Copyright 1994-2008 H. Peter Anvin - All Rights Reserved |
4 |
;; |
;; |
5 |
;; This program is free software; you can redistribute it and/or modify |
;; This program is free software; you can redistribute it and/or modify |
6 |
;; it under the terms of the GNU General Public License as published by |
;; it under the terms of the GNU General Public License as published by |
29 |
ret |
ret |
30 |
|
|
31 |
; |
; |
32 |
; cwritestr: write a null-terminated string to the console, saving |
; writestr: write a null-terminated string to the console, saving |
33 |
; registers on entry. |
; registers on entry. |
34 |
; |
; |
35 |
; Note: writestr and cwritestr are distinct in SYSLINUX (only) |
; Note: writestr_early and writestr are distinct in |
36 |
|
; SYSLINUX and EXTLINUX, but not PXELINUX and ISOLINUX |
37 |
; |
; |
38 |
cwritestr: |
writestr: |
39 |
pushfd |
pushfd |
40 |
pushad |
pushad |
41 |
.top: lodsb |
.top: lodsb |