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
fe953070
Commit
fe953070
authored
5 years ago
by
Jakob Kirsch
Browse files
Options
Downloads
Patches
Plain Diff
add charsetviewer
parent
35161a73
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
software_src/charset
+69
-0
69 additions, 0 deletions
software_src/charset
with
69 additions
and
0 deletions
software_src/charset
0 → 100644
+
69
−
0
View file @
fe953070
;
; Show the available charset
;
; by Oscar Toledo G. http://nanochess.org/
;
; Creation date: Jun/27/2017.
;
org 0x7c00
cpu 8086
mov ax, 0x0002
int 0x10
mov ax, 0xb800
mov ds, ax
mov es, ax
xor di, di
mov cx, 0x07d0
mov ax, 0xf020
rep stosw
mov di, 0x00a4
mov al, 0x00
a1: push di
push ax
mov cl, 4
shr al, cl
add al, 0x30
cmp al, 0x3a
jb a3
add al, 0x07
a3: stosb
inc di
pop ax
push ax
and al, 0x0f
add al, 0x30
cmp al, 0x3a
jb a4
add al, 0x07
a4: stosb
inc di
mov al, 0x2d
stosb
inc di
inc di
inc di
pop ax
stosb
pop di
inc al
jz a2
add di, 0x00a0
cmp di, 0x0fa0
jb a1
sub di, 0x0f00 - 14
jmp a1
a2: xor ax, ax
int 0x16
mov ax, 0x0002
int 0x10
int 0x20
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