Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bootloader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
bootloader
Commits
39da2f46
Commit
39da2f46
authored
8 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Fix for bootloader on new BIOS (don't know exactly why though)
parent
cc1aee98
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
x86_64/bootsector.asm
+7
-2
7 additions, 2 deletions
x86_64/bootsector.asm
x86_64/print16.asm
+4
-6
4 additions, 6 deletions
x86_64/print16.asm
with
11 additions
and
8 deletions
x86_64/bootsector.asm
+
7
−
2
View file @
39da2f46
...
...
@@ -26,8 +26,13 @@ boot: ; dl comes with disk
call
print
call
print_line
mov
bh
,
0
mov
bl
,
[
di
sk
]
mov
bx
,
(
startup_start
-
boot
)
/
512
call
print_num
call
print_line
mov
bx
,
startup_start
call
print_num
call
print_line
mov
eax
,
(
startup_start
-
boot
)
/
512
mov
bx
,
startup_start
...
...
This diff is collapsed.
Click to expand it.
x86_64/print16.asm
+
4
−
6
View file @
39da2f46
...
...
@@ -2,18 +2,16 @@ SECTION .text
USE16
; provide function for printing in x86 real mode
; a newline
newline:
db
13
,
10
,
0
; print a string and a newline
; IN
; si: points at zero-terminated String
; CLOBBER
; ax
print_line:
mov
si
,
newline
jmp
print
mov
al
,
13
call
print_char
mov
al
,
10
jmp
print_char
; print a string
; IN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment