Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Krishna Vinnakota
CSEP551
Commits
15868c4b
Commit
15868c4b
authored
17 years ago
by
rsc
Browse files
Options
Downloads
Patches
Plain Diff
better comment
parent
f0721f1b
No related branches found
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
bootasm.S
+3
-7
3 additions, 7 deletions
bootasm.S
with
3 additions
and
7 deletions
bootasm.S
+
3
−
7
View file @
15868c4b
...
...
@@ -33,13 +33,9 @@ start:
movw
$start
,%
sp
#
Stack
Pointer
#
Enable
A20
:
#
For
fascinating
historical
reasons
(
related
to
the
fact
that
#
the
earliest
8086
-
based
PCs
could
only
address
1
MB
of
physical
#
memory
and
subsequent
80286
-
based
PCs
wanted
to
retain
maximum
#
compatibility
),
physical
address
line
20
is
tied
to
low
when
the
#
machine
boots
.
Obviously
this
a
bit
of
a
drag
for
us
,
especially
#
when
trying
to
address
memory
above
1
MB
.
This
code
undoes
this
.
#
For
backwards
compatibility
with
the
earliest
PCs
,
physical
#
address
line
20
is
tied
low
,
so
that
addresses
higher
than
#
1
MB
wrap
around
to
zero
by
default
.
This
code
undoes
this
.
seta20
.
1
:
inb
$
0x64
,%
al
#
Get
status
testb
$
0x2
,%
al
#
Busy
?
...
...
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