Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bootOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Kirsch
bootOS
Commits
cf6b9c36
Commit
cf6b9c36
authored
5 years ago
by
Jakob Kirsch
Browse files
Options
Downloads
Patches
Plain Diff
remove equs
parent
9893fb08
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
os.asm
+2
-2
2 additions, 2 deletions
os.asm
symbols.py
+3
-0
3 additions, 0 deletions
symbols.py
sysmap.inc
+1
-16
1 addition, 16 deletions
sysmap.inc
with
6 additions
and
18 deletions
os.asm
+
2
−
2
View file @
cf6b9c36
...
...
@@ -34,7 +34,7 @@ start:
mov
cx
,
sector_size
rep
movsb
mov
si
,
int
_0x20
; SI now points to int
_0x20
mov
si
,
int
errupt_table
; SI now points to int
errupt_table
mov
di
,
0x0020
*
4
; Address of service for int 0x20
mov
cl
,
8
.load_vec:
...
...
@@ -487,7 +487,7 @@ int_save_file: equ 0x24
int_delete_file:
equ
0x25
int_input_line:
equ
0x26
int
_0x20
:
int
errupt_table
:
dw
restart
; int 0x20
dw
input_key
; int 0x21
dw
output_char
; int 0x22
...
...
This diff is collapsed.
Click to expand it.
symbols.py
+
3
−
0
View file @
cf6b9c36
...
...
@@ -9,6 +9,9 @@ with open("os.asm", "r") as file:
if
"
:
"
in
line
:
ln
=
line
line
=
line
.
split
(
"
;
"
)[
0
]
if
"
equ
"
in
line
:
content
+=
ln
continue
if
line
==
""
:
content
+=
ln
continue
...
...
This diff is collapsed.
Click to expand it.
sysmap.inc
+
1
−
16
View file @
cf6b9c36
%
define
stack
0x7a00
%
define
line
0x7a00
%
define
sector
0x7a00
%
define
osbase
0x7a00
%
define
boot
0x7a00
%
define
entry_size
0x7a00
%
define
sector_size
0x7a00
%
define
max_entries
0x7a00
%
define
start
0x7a00
%
define
.
load_vec
0x7a23
%
define
restart
0x7a29
...
...
@@ -55,12 +47,5 @@
%
define
os15
0x7bbe
%
define
cs_command
0x7bbf
%
define
commands
0x7bd6
%
define
int_restart
0x7bec
%
define
int_input_key
0x7bec
%
define
int_output_char
0x7bec
%
define
int_load_file
0x7bec
%
define
int_save_file
0x7bec
%
define
int_delete_file
0x7bec
%
define
int_input_line
0x7bec
%
define
int_0x20
0x7bec
%
define
interrupt_table
0x7bec
%
define
error_message
0x7bfc
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