git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2008-01-03 00:26:30 +00:00
parent 005fb7c998
commit c9bfddbe98
+5 -8
View File
@@ -32,6 +32,8 @@
* generated.m68k/cross-tools/bin/m68k-unknown-haiku-objcopy -O binary stage1.o stage1 * generated.m68k/cross-tools/bin/m68k-unknown-haiku-objcopy -O binary stage1.o stage1
*/ */
#include "toscalls.h"
// 1 enabled verbose output // 1 enabled verbose output
//#define DEBUG 1 //#define DEBUG 1
@@ -57,11 +59,6 @@
#define S_IFDIR 00000040000o #define S_IFDIR 00000040000o
// BIOS calls
#ifndef _ASSEMBLER
#error plop
#endif
.loop: .loop:
move #'.',%d0 move #'.',%d0
@@ -71,10 +68,10 @@
/* prints the char in d0.b to the console */ /* prints the char in d0.b to the console */
putc: putc:
move.w d0,-(%sp) move.w %d0,-(%sp)
move.w #2,-(%sp) // DEV_CON move.w #DEV_CON,-(%sp) // DEV_CON
move.w #3,-(%sp) // Bconout move.w #3,-(%sp) // Bconout
trap #13 trap #13
addi #6,%sp add.l #6,%sp
rts rts