Skip to content

Commit

Permalink
changed the way notes are displayed on the screen becuase the old way…
Browse files Browse the repository at this point in the history
… was stupid
  • Loading branch information
spagootie committed Jul 5, 2020
1 parent 471a3d3 commit d7d858e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ Use the keys a, s, d, f, j, k, l, and ; to play notes.

Use the keys q, w, and e to change between three different octaves.

Use the key z to clear the screen.

the Star Wars theme is a, j, f, d, s, ;, j, f, d, s, ;, j, f, d, f, s.

ASSEMBLING:
Expand Down
9 changes: 3 additions & 6 deletions pcano.asm
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
clear:
mov ah, 00h ; clears the screen and sets the cursor to the first position on the screen
input: ; sets cursor to 1st position and clears the screen
mov ah, 00h
mov al, 03h
int 10h
mov ah, 02h
mov dl, 0
int 10h

input: ; takes user input
; takes user input
in al, 60h
cmp al, 44
je clear
cmp al, 18
je lower
cmp al, 16
Expand Down
Binary file modified pcano.img
Binary file not shown.

0 comments on commit d7d858e

Please sign in to comment.