Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
AetherEternity
microprogramming
Repository navigation
Code
Issues
3
(3)
Pull requests
1
(1)
Actions
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
microprogramming
/
boot.asm
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
71 lines (61 loc) · 971 Bytes
master
Breadcrumbs
microprogramming
/
boot.asm
Copy path
Top
File metadata and controls
Code
Blame
71 lines (61 loc) · 971 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
org 0x7c00
mov ah,2
mov al,40;секторы
mov bx,0x8004
mov cl,2
mov ch,0
mov dh,0
mov dl,0x80
int 0x13
call initVesa
cli
mov ax,0;
mov fs,ax
mov gs,ax
mov ss,ax
mov ds,ax
mov es,ax
mov sp,0xfffc
lgdt[gd_table]
mov eax,cr0
or eax,1
mov cr0,eax
jmp CODE_D:0x8004
ret
;дескриптор
gdt_begin:
null_desc:
dd 0
dd 0
code_desc: ; таблица под сегмент кода
dw 0xffff
dw 0
db 0
db 0b10011010
db 0b11001111
db 0
data_desc: ; таблица под сегмент данных
dw 0xffff
dw 0
db 0
db 0b10010010
db 0b11001111
db 0
gdt_end:
gd_table:
dw gdt_end - gdt_begin
dd gdt_begin
CODE_D equ code_desc - gdt_begin
DATA_D equ data_desc - gdt_begin
initVesa:
mov ax,0x4f01
mov cx,0x118;1024*768*24bit
mov di,video_table
int 0x10
mov ax,0x4f02
mov bx,0x4118
int 0x10
mov eax,[video_table+0x28]
mov dword[0x8000],eax
ret
video_table dd 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
You can’t perform that action at this time.