Changeset 40 for trunk/BOOTCODE/SPECIAL/FAT16.ASM
- Timestamp:
- Apr 11, 2014, 9:58:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/SPECIAL/FAT16.ASM
r38 r40 103 103 xor di, di 104 104 FAT16SE_SearchLoop: 105 push si di 105 push si 106 push di 106 107 mov cx, 11 107 108 repe cmpsb ; Compare total 11-bytes 108 pop di si 109 pop di 110 pop si 109 111 je FAT16SE_EntryFound 110 112 add di, 32 ; Skip 1 FAT16-Entry now :) … … 221 223 222 224 ; Set Size-Entry in KernelSizeTable 223 push ds si di 225 push ds 226 push si 227 push di 224 228 mov bx, ds:[si+30] 225 229 mov ax, ds:[si+28] ; BX:AX - Size of file in Bytes … … 240 244 mov di, si 241 245 call PART_FillOutSizeElement ; BX:AX -> ES:DI (Size Element) 242 pop di si ds 246 pop di 247 pop si 248 pop ds 243 249 244 250 ; Copy entry and make append extension to basename
Note:
See TracChangeset
for help on using the changeset viewer.