diff options
Diffstat (limited to 'boot/old.asm')
| -rw-r--r-- | boot/old.asm | 56 |
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 -; - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - |
