Skip to content

Commit 1ea1c8e

Browse files
authored
Update i386.S - testing
1 parent 53361a9 commit 1ea1c8e

File tree

1 file changed

+7
-0
lines changed
  • boot/freeldr/freeldr/arch/realmode

1 file changed

+7
-0
lines changed

boot/freeldr/freeldr/arch/realmode/i386.S

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ RealModeEntryPoint:
2727
/* Setup the stack */
2828
mov sp, word ptr ds:[stack16]
2929

30+
/* Output first status */
31+
mov si, offset Msg_Starting
32+
call writestr
33+
3034
/* Enable A20 address line */
3135
call EnableA20
3236

@@ -54,6 +58,9 @@ RealModeEntryPoint:
5458

5559
jmp exit_to_protected
5660

61+
Msg_Starting:
62+
.ascii "Hello World!", CR, LF, NUL
63+
5764

5865
/* This is the entry point from protected mode */
5966
switch_to_real16:

0 commit comments

Comments
 (0)