Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SteveOS
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Stephen D
SteveOS
Commits
cf9e19d6
Commit
cf9e19d6
authored
6 years ago
by
Stephen D
Browse files
Options
Downloads
Patches
Plain Diff
Changed mode
parent
420fb5b5
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
boot/video.asm
+7
-7
7 additions, 7 deletions
boot/video.asm
with
7 additions
and
7 deletions
boot/video.asm
+
7
−
7
View file @
cf9e19d6
...
...
@@ -12,9 +12,9 @@
;; ^^^^^Don't trust these! They're overwritten at the moment.^^^^^
vbe_set_mode:
mov
ax
,
1
024
mov
bx
,
768
mov
cl
,
16
mov
ax
,
1
280
mov
bx
,
600
mov
cl
,
24
mov
[
width
],
ax
mov
[
height
],
bx
mov
[
bp
p
],
cl
...
...
@@ -75,15 +75,15 @@ find_mode:
mov
ax
,
[
width
]
cmp
ax
,
[
VBE_INFO
+
0x12
]
;Width
;//jne
.next_mode
jg
.next_mode
mov
ax
,
[
height
]
cmp
ax
,
[
VBE_INFO
+
0x14
]
;Height
;//jne
.next_mode
jg
.next_mode
mov
al
,
[
bp
p
]
cmp
al
,
[
VBE_INFO
+
0x19
]
;BPP
j
ne
.next_mode
j
g
.next_mode
; If we make it here, we've found the correct mode!
...
...
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