lsfs_16-bit now includes its own print functions

This commit is contained in:
Jørn Guldberg committed 2019-06-30 23:19:44 +00:00
1 parent a6a338c17a
commit 0f6e818ff6
6 files changed
+311 -354

No files matched your search

-8
View File
@@ -19,25 +19,17 @@ unsigned int data_buffer_segment;
pusha
lsfs_load_data:
mov ax, index
call 0x0000:0x7C2A
mov WORD [DAPACK.lba_addr_dw_low], ax
mov bx, number_sectors
mov ax, bx
call 0x0000:0x7C2A
mov WORD [DAPACK.blkcnt], bx
mov cx, data_buffer_segment
mov ax, cx
call 0x0000:0x7C2A
mov WORD [DAPACK.db_addr_segment], cx
mov dx, data_buffer;
mov ax, dx
call 0x0000:0x7C2A
mov WORD [DAPACK.db_addr_offset], dx
mov si, #DAPACK ; address of
mov ah, #0x42 ; READ
mov dl, [global_disk_identifier]
int #0x13
;call 0x0000:0x7C2A
popa
pop bp
ret