summaryrefslogtreecommitdiff
path: root/boot/old.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-07-08 17:15:01 +0200
committerMichal Idziorek <m.i@gmx.at>2014-07-08 17:15:01 +0200
commitbf67de78c26c6f6e585f11899591f61da5a2c3d8 (patch)
tree6c5b51d3746aad55d2aef5c15f3771518244dc37 /boot/old.asm
parent900781f1985bb814aa7992022aead985fc967611 (diff)
added some comments and cleaned up the .asm files
Diffstat (limited to 'boot/old.asm')
-rw-r--r--boot/old.asm56
1 files changed, 0 insertions, 56 deletions
diff --git a/boot/old.asm b/boot/old.asm
deleted file mode 100644
index a7a1b24..0000000
--- a/boot/old.asm
+++ /dev/null
@@ -1,56 +0,0 @@
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;read data from disk
-;mov bx,0x9000 ;destination(es:bx)
-;mov dh,1 ;number of sectors
-;mov dl,[BOOT_DRIVE] ;source disk
-;call disk_load
-
-;print data loaded form disk
-;mov dx,[0x9000]
-;call print_hex
-
-;mov dx,[0x9000+256]
-;call print_hex
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;;;;; COM1 infinite loop ;;;;;
-;
-; COM1_PORT equ 0xD000
-; mov dx,COM1_PORT
-; mov ecx,160*2
-;
-; ; loop and write all data other than 0x0
-; com1_loop:
-;
-; in ax,dx ; read port val
-;
-; cmp ax,0xffff
-; je com1_skip
-;
-; cmp ax,0x0
-; je com1_skip
-;
-; call print_hex_pm
-; add ecx,14
-; pusha
-; mov dx,ax
-; call print_hex_pm
-; popa
-; add ecx,26
-;
-; com1_skip:
-;
-; inc dx
-; ;call print_hex_pm
-; cmp dx,COM1_PORT+0x300
-; jne com1_loop
-; mov dx,COM1_PORT
-; mov ecx,160*2
-; jmp com1_loop
-;
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-