Changeset 30 for trunk/TOOLS/INTERNAL/FIXCODE.ASM
- Timestamp:
- May 6, 2011, 4:25:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TOOLS/INTERNAL/FIXCODE.ASM
r29 r30 91 91 92 92 mov ah, 3Fh 93 mov cx, 30720; Image size93 mov cx, image_size ; Image size 94 94 mov dx, offset BootCode 95 95 int 21h ; DOS: READ FILE … … 98 98 call ShowError 99 99 100 DoneReadCode: cmp ax, 30720100 DoneReadCode: cmp ax, image_size 101 101 je DoneReadCode2 102 102 InvalidCode: mov dx, offset COM_FailedInvalidCode … … 232 232 233 233 mov ah, 40h 234 mov cx, 30720; Image size234 mov cx, image_size ; Image size 235 235 mov dx, offset BootCode 236 236 int 21h ; DOS: WRITE FILE … … 239 239 call ShowError 240 240 241 DoneWriteCode: cmp ax, 30720241 DoneWriteCode: cmp ax, image_size 242 242 jne FailedWriteCode 243 243 … … 250 250 251 251 ; Buffers for files 252 BootCode db 30720dup (?)252 BootCode db image_size dup (?) 253 253 MBRProtection db 1024 dup (?) 254 254
Note:
See TracChangeset
for help on using the changeset viewer.